| /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/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/libexif/auto-m4/ |
| D | gettext.m4 | 1 # gettext.m4 serial 66 (gettext-0.18.2) 9 dnl License but which still want to provide support for the GNU gettext 11 dnl Please note that the actual code of the GNU gettext library is covered 13 dnl gettext package package is covered by the GNU General Public License. 20 dnl Macro to add for using GNU gettext. 32 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext 35 dnl 'need-formatstring-macros', then GNU gettext implementations that don't 41 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled 45 dnl 2) GNU gettext has been found in the system's C library. 53 dnl GNU format catalogs when building on a platform with an X/Open gettext), [all …]
|
| D | nls.m4 | 1 # nls.m4 serial 5 (gettext-0.18) 10 dnl License but which still want to provide support for the GNU gettext 12 dnl Please note that the actual code of the GNU gettext library is covered 14 dnl gettext package package is covered by the GNU General Public License.
|
| D | intlmacosx.m4 | 1 # intlmacosx.m4 serial 5 (gettext-0.18.2) 9 dnl License but which still want to provide support for the GNU gettext 11 dnl Please note that the actual code of the GNU gettext library is covered 13 dnl gettext package package is covered by the GNU General Public License.
|
| D | progtest.m4 | 1 # progtest.m4 serial 7 (gettext-0.18.2) 9 dnl License but which still want to provide support for the GNU gettext 11 dnl Please note that the actual code of the GNU gettext library is covered 13 dnl gettext package package is covered by the GNU General Public License.
|
| /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/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/skia/m133/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/skia/m133/third_party/externals/icu/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/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/libexif/po/ |
| D | Makefile.in.in | 1 # Makefile for PO directory in any package using GNU gettext. 6 # License but which still want to provide support for the GNU gettext 8 # Please note that the actual code of GNU gettext is covered by the GNU 11 # Origin: gettext-0.18.3 31 gettextsrcdir = $(datadir)/gettext/po 105 # Ensure that the gettext macros and this Makefile.in.in are in sync. 108 …ror: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_… 223 if test "$(PACKAGE)" = "gettext-tools"; then \ 281 if test "$(PACKAGE)" = "gettext-tools"; then \ 325 if test "$(PACKAGE)" = "gettext-tools"; then \ [all …]
|
| /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/lzma/CPP/Windows/ |
| D | Window.cpp | 114 bool CWindow::GetText(CSysString &s) const in GetText() function in NWindows::CWindow 122 const unsigned len2 = (unsigned)GetText(p, (int)(len + 1)); in GetText() 133 bool CWindow::GetText(UString &s) const in GetText() function in NWindows::CWindow 153 const bool result = GetText(sysString); in GetText()
|