| /third_party/python/Lib/test/ |
| D | test_gettext.py | 4 import gettext 112 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo') 135 gettext._translations.clear() 154 gettext.install('gettext', self.localedir, names=['pgettext']) 200 gettext message catalog library.'''), 209 t = gettext.GNUTranslations(fp) 218 t.install(names=["gettext", "lgettext"]) 219 eq(_, t.gettext) 220 eq(builtins.gettext, t.gettext) 222 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 66 .. 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/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/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. 57 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext', 66 # The gettext library supports a small subset of C syntax. The only 70 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms 71 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y 272 def gettext(self, message): member in NullTranslations 274 return self._fallback.gettext(message) [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("<title>%s</title>" % getText(title.childNodes)) 48 print("<h2>%s</h2>" % getText(title.childNodes)) 57 print("<li>%s</li>" % getText(point.childNodes)) 62 print("<p>%s</p>" % getText(title.childNodes))
|
| /third_party/flutter/flutter/packages/flutter_driver/lib/src/common/ |
| D | text.dart | 9 class GetText extends CommandWithTarget { 11 GetText(SerializableFinder finder, { Duration timeout }) : super(finder, timeout: timeout); 14 GetText.deserialize(Map<String, dynamic> json) : super.deserialize(json); 20 /// The result of the [GetText] command. 25 /// The text extracted by the [GetText] command. 49 /// The text extracted by the [GetText] command.
|
| /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/icu/icu4c/source/test/intltest/ |
| D | citrtest.cpp | 46 virtual void getText(UnicodeString& result) { 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/flutter/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/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/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/gstreamer/gstreamer/gst/ |
| D | gst-i18n-app.h | 29 #include "gettext.h" /* included with gettext distribution and copied */ 32 #define _(String) gettext (String)
|
| /third_party/gstreamer/gstplugins_base/gst-libs/gst/ |
| D | gst-i18n-app.h | 29 #include "gettext.h" /* included with gettext distribution and copied */ 32 #define _(String) gettext (String)
|
| /third_party/flutter/flutter/dev/integration_tests/ui/test_driver/ |
| D | keyboard_resize_test.dart | 30 final String startHeight = await driver.getText(heightText); 39 final String heightWithKeyboardShown = await driver.getText(heightText); 49 final String endHeight = await driver.getText(heightText);
|
| /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/cef/libcef/browser/views/ |
| D | label_button_impl.h | 33 CefString GetText() override; 54 info->SetString("text", ParentClass::root_view()->GetText()); in GetDebugInfo() 71 CEF_LABEL_BUTTON_IMPL_T CefString CEF_LABEL_BUTTON_IMPL_D::GetText() { in GetText() function 73 return ParentClass::root_view()->GetText(); in GetText()
|
| /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/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()
|