| /third_party/python/Lib/test/ |
| D | test_gettext.py | 3 import gettext 111 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo') 135 gettext._translations.clear() 150 gettext.install('gettext', self.localedir, names=['pgettext']) 196 gettext message catalog library.'''), 206 t = gettext.GNUTranslations(fp) 215 t.install(names=["gettext", "ngettext"]) 216 eq(_, t.gettext) 217 eq(builtins.gettext, t.gettext) 220 del builtins.gettext [all …]
|
| /third_party/elfutils/m4/ |
| D | ChangeLog | 40 * gettext.m4: Upgrade to gettext-0.18.2. 41 * iconv.m4: Upgrade to gettext-0.18.2. 42 * po.m4: Upgrade to gettext-0.18.2. 46 * gettext.m4: Upgrade to gettext-0.17. 47 * iconv.m4: Upgrade to gettext-0.17. 48 * po.m4: Upgrade to gettext-0.17. 65 * gettext.m4: Update from gettext 0.16.1. 89 2002-03-22 gettextize <bug-gnu-gettext@gnu.org> 91 * codeset.m4: Upgrade to gettext-0.11. 92 * gettext.m4: Upgrade to gettext-0.11. [all …]
|
| /third_party/python/Doc/library/ |
| D | gettext.rst | 1 :mod:`gettext` --- Multilingual internationalization services 4 .. module:: gettext 10 **Source code:** :source:`Lib/gettext.py` 14 The :mod:`gettext` module provides internationalization (I18N) and localization 16 GNU :program:`gettext` message catalog API and a higher level, class-based API that may 25 GNU :program:`gettext` API 28 The :mod:`gettext` module defines the following API, which is very similar to 29 the GNU :program:`gettext` API. If you use this API you will affect the 40 :mod:`gettext` will look for binary :file:`.mo` files for the given domain using 56 .. index:: single: _ (underscore); gettext [all …]
|
| /third_party/node/tools/inspector_protocol/jinja2/ |
| D | ext.py | 28 # the only real useful gettext functions for a Jinja template. Note 29 # that ugettext must be assigned to gettext as Jinja doesn't support 31 GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext') 134 return __context.call(__context.resolve('gettext'), *args, **kwargs) 139 def gettext(__context, __string, **variables): function 144 return gettext 159 """This extension adds gettext support to Jinja2.""" 166 # something is called twice here. One time for the gettext value and 182 gettext = getattr(translations, 'ugettext', None) 183 if gettext is None: [all …]
|
| /third_party/python/Lib/ |
| D | gettext.py | 4 support for your Python programs by providing an interface to the GNU gettext 18 # gettext.py implementation. 24 # James Henstridge, who also wrote a gettext.py module, which has some 43 # you'll need to study the GNU gettext code to do this. 56 'textdomain', 'dgettext', 'dngettext', 'gettext', 65 # The gettext library supports a small subset of C syntax. The only 69 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms 70 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y 275 def gettext(self, message): member in NullTranslations 277 return self._fallback.gettext(message) [all …]
|
| /third_party/skia/third_party/externals/jinja2/ |
| D | ext.py | 33 # the only real useful gettext functions for a Jinja template. Note 34 # that ugettext must be assigned to gettext as Jinja doesn't support 36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext") 144 return __context.call(__context.resolve("gettext"), *args, **kwargs) 149 def gettext(__context, __string, **variables): function 158 return gettext 168 # Always treat as a format string, see gettext comment above. 175 """This extension adds gettext support to Jinja.""" 183 # something is called twice here. One time for the gettext value and 199 gettext = getattr(translations, "ugettext", None) [all …]
|
| /third_party/node/deps/v8/third_party/jinja2/ |
| D | ext.py | 33 # the only real useful gettext functions for a Jinja template. Note 34 # that ugettext must be assigned to gettext as Jinja doesn't support 36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext") 144 return __context.call(__context.resolve("gettext"), *args, **kwargs) 149 def gettext(__context, __string, **variables): function 158 return gettext 168 # Always treat as a format string, see gettext comment above. 175 """This extension adds gettext support to Jinja.""" 183 # something is called twice here. One time for the gettext value and 199 gettext = getattr(translations, "ugettext", None) [all …]
|
| /third_party/jinja2/ |
| D | ext.py | 26 def gettext(self, message: str) -> str: member in _TranslationsBasic 43 # provides ugettext, it will be assigned to gettext. 46 "gettext", 167 return __context.call(__context.resolve("gettext"), *args, **kwargs) 172 def gettext(__context: Context, __string: str, **variables: t.Any) -> str: function 181 return gettext 197 # Always treat as a format string, see gettext comment above. 214 # Always treat as a format string, see gettext comment above. 239 # Always treat as a format string, see gettext comment above. 246 """This extension adds gettext support to Jinja.""" [all …]
|
| /third_party/python/Doc/includes/ |
| D | minidom-example.py | 21 def getText(nodelist): function 45 print(f"<title>{getText(title.childNodes)}</title>") 48 print(f"<h2>{getText(title.childNodes)}</h2>") 57 print(f"<li>{getText(point.childNodes)}</li>") 62 print(f"<p>{getText(title.childNodes)}</p>")
|
| /third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
| D | ResourceCreationDialog.java | 87 String encoding = enc1Field.getText().trim(); in createResource() 88 String enc2 = enc2Field.getText().trim(); in createResource() 90 String enc3 = enc3Field.getText().trim(); in createResource() 92 …olean ret = rbm.createResource(titleField.getText().trim(), commentField.getText().trim(), manager… in createResource() 93 encoding, nam1Field.getText().trim(), nam2Field.getText().trim(), in createResource() 94 nam3Field.getText().trim(), copyCheckBox.isSelected()); in createResource()
|
| D | BundleItemCreationDialog.java | 94 String nameText = lookupLabels[i].getText().trim(); in createItem() 96 String value = lookupFields[i].getText().trim(); in createItem() 100 return rbm.createItem(nameField.getText().trim(), transField.getText().trim(), in createItem() 102 commentField.getText().trim(), lookupHash); in createItem() 110 String nameText = lookupLabels[i].getText().trim(); in editItem() 112 String value = lookupFields[i].getText().trim(); in editItem() 116 return rbm.editItem(item, nameField.getText().trim(), in editItem() 117 transField.getText().trim(), ((BundleGroup)groupComboBox.getSelectedItem()).getName(), in editItem() 118 commentField.getText().trim(), lookupHash); in editItem() 133 String oldText = transField.getText(); in processKeyEvent() [all …]
|
| D | BundleItemDialog.java | 241 String oldText = transField.getText(); in actionPerformed() 250 item.setTranslation(transField.getText().trim()); in actionPerformed() 251 if (!item.getKey().equals(keyField.getText())) item.setKey(keyField.getText().trim()); in actionPerformed() 252 item.setComment(commentField.getText()); in actionPerformed() 265 String name = lookupLabels[i].getText().trim(); in actionPerformed() 268 String value = lookupFields[i].getText().trim(); in actionPerformed() 294 if (field.getText().equals(original)) { in focusLost()
|
| D | RBStatisticsPanel.java | 348 bundle.name = jTextFieldStatsName.getText().trim(); in updateBundleInfo() 349 bundle.comment = jTextFieldStatsComment.getText().trim(); in updateBundleInfo() 350 bundle.manager = jTextFieldStatsManager.getText().trim(); in updateBundleInfo() 351 bundle.language = jTextFieldStatsLanguage.getText().trim(); in updateBundleInfo() 352 bundle.country = jTextFieldStatsCountry.getText().trim(); in updateBundleInfo() 353 bundle.variant = jTextFieldStatsVariant.getText().trim(); in updateBundleInfo() 378 beforeText = jtc.getText(); in focusGained() 386 String afterText = jtc.getText(); in focusLost()
|
| /third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/main/ |
| D | MainActivity.java | 111 btnStart.setText(getText(R.string.main_activity_start_text_default)); in updateUiState() 114 btnStart.setText(getText(R.string.main_activity_start_text_processing)); in updateUiState() 118 tvError.setText(getText(R.string.main_activity_error_text_grant_in_app)); in updateUiState() 119 btnError.setText(getText(R.string.main_activity_error_cta_grant_in_app)); in updateUiState() 121 btnStart.setText(getText(R.string.main_activity_start_text_processing)); in updateUiState() 125 tvError.setText(getText(R.string.main_activity_error_text_grant_in_settings)); in updateUiState() 126 btnError.setText(getText(R.string.main_activity_error_cta_grant_in_settings)); in updateUiState() 128 btnStart.setText(getText(R.string.main_activity_start_text_default)); in updateUiState()
|
| /third_party/icu/icu4c/source/test/intltest/ |
| D | citrtest.cpp | 46 virtual void getText(UnicodeString& result) override { in getText() function in SCharacterIterator 233 test1->getText(result1); in TestConstructionAndEquality() 234 test1b->getText(result2); in TestConstructionAndEquality() 235 test1c->getText(result3); in TestConstructionAndEquality() 237 errln("construction failed or getText() failed"); in TestConstructionAndEquality() 262 testChar1->getText(result1); in TestConstructionAndEquality() 263 testChar2->getText(result2); in TestConstructionAndEquality() 264 testChar3->getText(result3); in TestConstructionAndEquality() 266 errln("getText() failed"); in TestConstructionAndEquality() 268 testChar3->getText(result3); in TestConstructionAndEquality() [all …]
|
| /third_party/skia/third_party/externals/icu/source/samples/citer/ |
| D | citer.cpp | 72 iter.getText(result1); in TestUChariter() 73 test2->getText(result2); in TestUChariter() 75 u_fprintf(out, "iter.getText() != clone.getText()\n"); in TestUChariter() 137 iter.getText(result1); in TestStringiter() 138 test2->getText(result2); in TestStringiter() 140 u_fprintf(out, "getText() failed\n"); in TestStringiter()
|
| /third_party/icu/icu4c/source/samples/citer/ |
| D | citer.cpp | 72 iter.getText(result1); in TestUChariter() 73 test2->getText(result2); in TestUChariter() 75 u_fprintf(out, "iter.getText() != clone.getText()\n"); in TestUChariter() 137 iter.getText(result1); in TestStringiter() 138 test2->getText(result2); in TestStringiter() 140 u_fprintf(out, "getText() failed\n"); in TestStringiter()
|
| /third_party/lzma/CPP/7zip/UI/GUI/ |
| D | ExtractDialog.cpp | 145 GetText(s); in OnInit() 251 _passwordControl.GetText(password); in UpdatePasswordControl() 280 _path.GetText(currentPath); in OnButtonSetPath() 312 _passwordControl.GetText(Password); in OnOK() 355 _path.GetText(s); in OnOK() 362 _path.GetText(s); in OnOK() 380 _pathName.GetText(pathName); in OnOK()
|
| /third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
| D | TransliteratingTextComponent.java | 36 // Index into getText() where the start of transliteration is. 41 // Index into getText() where the cursor is; cursor >= start 117 String sourceText = getText().substring(0,end); in transliterate() 119 /*buf.replace(0, 1, getText().substring(start, in transliterate() 175 // getText()-based index value of start (in saveStart) to get in transliterate() 176 // the new getText()-based start. in transliterate() 179 // Make the cursor getText()-based. The CURSOR index is zero-based. in transliterate()
|
| /third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
| D | RbnfDemo.java | 111 String fieldText = ((TextComponent)(e.getSource())).getText(); in createDemoFrame() 144 String fieldText = ((TextComponent)(e.getSource())).getText(); in createDemoFrame() 169 String fieldText = ((TextComponent)(e.getSource())).getText(); in createDemoFrame() 177 textField.setText(textField.getText()); // textField.repaint() didn't work right in createDemoFrame() 190 String fieldText = ((TextComponent)(e.getSource())).getText(); in createDemoFrame() 217 String fieldText = ((TextComponent)(e.getSource())).getText(); in createDemoFrame() 233 rulesField.setText(rulesField.getText()); // rulesField.repaint() didn't work right in createDemoFrame() 496 public String getText() { in getText() method in DemoTextField 505 String txt = getText(); in paint() 587 public String getText() { in getText() method in DemoTextFieldHolder [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | parserindenter.types | 1202 … if (twoCharSpan != null && (twoCharSpan.GetText() == "//" || twoCharSpan.GetText() == "/*")) { 1203 >twoCharSpan != null && (twoCharSpan.GetText() == "//" || twoCharSpan.GetText() == "/*") : boolean 1207 >(twoCharSpan.GetText() == "//" || twoCharSpan.GetText() == "/*") : boolean 1208 >twoCharSpan.GetText() == "//" || twoCharSpan.GetText() == "/*" : boolean 1209 >twoCharSpan.GetText() == "//" : boolean 1210 >twoCharSpan.GetText() : any 1211 >twoCharSpan.GetText : any 1213 >GetText : any 1215 >twoCharSpan.GetText() == "/*" : boolean 1216 >twoCharSpan.GetText() : any [all …]
|
| /third_party/node/deps/v8/src/objects/ |
| D | js-segment-iterator.cc | 50 break_iterator->getText().getText(*string); in Create() 94 icu_break_iterator->getText().getText(string); in Next()
|
| /third_party/alsa-utils/alsaconf/ |
| D | alsaconf.in | 34 if test "$USE_NLS" = "yes" && type -p gettext > /dev/null; then 36 gettext -s "$*" 42 gettext() { 47 msg=$(gettext "$1") 479 local msg=$(gettext " 678 msg=$(gettext "Searching sound cards") 943 msg=$(gettext " 1273 title=$(gettext "WARNING") 1274 msg=$(gettext " 1297 msg=$(gettext "No legacy drivers are available [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| D | UCharacterIterator.java | 295 * iter.getText(buf); 302 * len = iter.getText(buf); 319 public abstract int getText(char[] fillIn, int offset); in getText() method in UCharacterIterator 322 * Convenience override for <code>getText(char[], int)</code> that provides an offset of 0. 331 public final int getText(char[] fillIn) { in getText() method in UCharacterIterator 332 return getText(fillIn, 0); in getText() 341 public String getText() { in getText() method in UCharacterIterator 343 getText(text); in getText()
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| D | UCharacterIterator.java | 273 * iter.getText(buf); 280 * len = iter.getText(buf); 296 public abstract int getText(char[] fillIn, int offset); in getText() method in UCharacterIterator 299 * Convenience override for <code>getText(char[], int)</code> that provides an offset of 0. 307 public final int getText(char[] fillIn) { in getText() method in UCharacterIterator 308 return getText(fillIn, 0); in getText() 316 public String getText() { in getText() method in UCharacterIterator 318 getText(text); in getText()
|