myconstants.properties

来自「netbeans开发gwt程式的插件」· PROPERTIES 代码 · 共 90 行

PROPERTIES
90
字号
################################## Sample Form#################################firstName = First NamelastName = Last Namef = Femalem = Maleu = Unknowngender = GendergenderMap = f,m,u ################################### Structural text#################################### Constants example structural text## constants tab headerconstantsExample=\<h4>Use of <code>Constants</code> interface:</h4>\Create a simple form. \<p>\## Dictionary example structural text, do not translate## dictionary tab headerdictionaryExample=\<h4>Use of <code>Dictionary</code> class:</h4>\You can also use key/values pairs from the host HTML page to make your app very dynamic or to integrate with an existing localized web application. In other words, this is a \mechanism to let your server generate HTML pages that contain translations rather than compiling them into your GWT app. \A Dictionary's values depend only on the host page HTML, not the <code>locale</code> \client property. The JavaScript variable declaration appears in the \script for this page. dictionaryHTML=\<blockquote><code><pre> \n\var userInfo = {\n\&nbsp;&nbsp;&nbsp;name: "Amelie Crutcher", \n\&nbsp;&nbsp;&nbsp;timeZone: "EST", \n\&nbsp;&nbsp;&nbsp;userID: "123", \n\&nbsp;&nbsp;&nbsp;lastLogOn: "2/2/2006" \n\};</pre></code></blockquote>\## ConstantWithLookup example structural text# # constants with lookup headerconstantsWithLookupExample =\<h4> Use of <code>ConstantsWithLookup</code> interface: </h4>\Dynamically look up translations via the <code>Colors</code> interface using method \names as string keys. \<p>\For example, <code>getString("lightGrey")</code> is the dynamic equivalent of \<code>Color.lightGrey()</code>. The <code>Colors</code> interface can be found \in package <code>com.google.gwt.sample.i18n.client</code>.result = ResultnoResult= <b> No Result </b>typeColorHere = Type Color Heretranslate = Translate## Messages example structural text#messagesExample = \<h4>Use of <code>Messages</code> interface: </h4>\Here are some sample user messages that might be created in an \internationalized application.  messageTemplates = Message TemplatemessageArgumentOne = Argument for {0}messageArgumentTwo = Argument for {1}showMessage = Show messageenterString = (enter a string)enterInt = (enter an int)defaultSecurity = punydefaultResource = anythingdefaultMB = 111defaultRequired = Last NameinfoMessage = Remaining space in your account: {0} MB   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?