/dports/multimedia/quodlibet/quodlibet-4.3.0/gdist/ |
H A D | gettextutil.py | 180 def compile_po(po_path, target_file): argument 191 def po_stats(po_path): argument 238 out_path = po_path 271 fd, po_path = tempfile.mkstemp(".po") 273 os.unlink(po_path) 274 create_po(pot_path, po_path) 279 os.remove(po_path) 282 def create_po(pot_path, po_path): argument 289 if os.path.exists(po_path): 302 if not os.path.exists(po_path): [all …]
|
H A D | po.py | 111 po_path = gettextutil.get_po_path(po_directory, lang) 112 gettextutil.update_po(pot_path, po_path) 136 po_path = gettextutil.get_po_path(po_directory, self.lang) 138 gettextutil.create_po(pot_path, po_path) 139 print("Created %r" % os.path.abspath(po_path)) 179 if newer_group(pot_deps + [po_path], out_path): 180 to_build.append((po_path, out_path)) 187 for po_path, out_path in to_build: 188 gettextutil.update_po(pot_path, po_path, out_path) 237 if newer(po_path, destpath): [all …]
|
/dports/devel/R-cran-pkgload/pkgload/R/ |
H A D | po.R | 2 po_path <- file.path(path, "inst", "po") functionVar 3 if (!file.exists(po_path)) { 11 bindtextdomain(paste0("R-", package), po_path) # R level messages 12 bindtextdomain(package, po_path) # C level messages
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/helpcontent2/ |
H A D | help-to-wiki.py | 105 po_path = args[0] 107 po_path = '../translations/source' 108 sys.stderr.write('Path to the .po files not provided, using "%s"\n'% po_path) 112 …wikiconv2.convert(title_data, generate_redirects, lang, '%s/%s/helpcontent2/source'% (po_path, lan…
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/helpcontent2/ |
H A D | help-to-wiki.py | 105 po_path = args[0] 107 po_path = '../translations/source' 108 sys.stderr.write('Path to the .po files not provided, using "%s"\n'% po_path) 112 …wikiconv2.convert(title_data, generate_redirects, lang, '%s/%s/helpcontent2/source'% (po_path, lan…
|
/dports/devel/elixir-gettext/gettext-0.15.0/test/mix/tasks/ |
H A D | compile.gettext_test.exs | 4 @po_path "../../../tmp/gettext" |> Path.expand(__DIR__) |> Path.relative_to_cwd() 17 File.rm_rf!(@po_path) 77 Mix.Tasks.Compile.Gettext.run(args, @po_path) 88 path = Path.join(@po_path, path) 101 File.rm!(Path.join(@po_path, path)) 105 path = Path.join(@po_path, path)
|
/dports/devel/py-pytest-translations/pytest-translations-2.0.0/pytest_translations/ |
H A D | mo_files.py | 21 po_path, _ = os.path.splitext(str(self.fspath)) 22 po_path += ".po" 24 if not os.path.exists(po_path): 30 po_file = open_po_file(po_path)
|
/dports/devel/brz/breezy-3.2.0/breezy/plugins/po_merge/ |
H A D | po_merge.py | 99 po_path = params.this_path 102 if fnmatch.fnmatch(po_path, glob): 103 trace.mutter('po %s matches: %s' % (po_path, glob)) 124 % (po_path, self.pot_file_abspath))
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/ui_translate/ |
H A D | update_svn.py | 212 po_to_uid = {os.path.basename(lng.po_path): lng.uid for lng in i18n_sett.langs} 213 for po_path in os.listdir(self.settings.TRUNK_PO_DIR): 214 uid = po_to_uid.get(po_path, None) 215 po_path = os.path.join(self.settings.TRUNK_PO_DIR, po_path) 217 … po = utils_i18n.I18nMessages(uid=uid, kind='PO', src=po_path, settings=self.settings) 253 lst += [(lng, lng.po_path) for lng in i18n_sett.langs]
|
H A D | update_ui.py | 76 po_path: StringProperty( 248 lng.po_path = isocodes[isocode] 259 lng.po_path = p
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/tasks/ |
H A D | gettext.rake | 69 Gitlab::I18n::PoLinter.new(po_path: file, locale: locale) 72 linters.unshift(Gitlab::I18n::PoLinter.new(po_path: pot_file_path)) 82 report_errors_for_file(linter.po_path, linter.errors) 85 raise "Not all PO-files are valid: #{failed_linters.map(&:po_path).to_sentence}"
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/i18n/ |
H A D | po_linter.rb | 12 def initialize(po_path:, locale: I18n.locale.to_s) argument 13 @po_path = po_path 32 entries = SimplePoParser.parse(po_path)
|
/dports/graphics/mypaint/mypaint-2.0.1/ |
H A D | setup.py | 98 po_path = os.path.join("po", lang + ".po") 101 msg_path_pairs.append((po_path, targ)) 118 for po_path, mo_path in msg_paths: 120 self._compile_message_catalog(po_path, mo_path) 127 po_failures.append((po_path, e.output)) 328 po_path = os.path.join("po", loc + ".po") 329 po_modified_time = os.stat(po_path).st_mtime 333 cache[loc] = (completion(po_path), po_modified_time + 0.1)
|
/dports/textproc/py-sphinx/stage/usr/local/lib/python3.8/site-packages/sphinx/util/ |
H A D | i18n.py | 51 def po_path(self) -> str: member in CatalogInfo 61 path.getmtime(self.mo_path) < path.getmtime(self.po_path)) 64 with open(self.po_path, encoding=self.charset) as file_po: 68 logger.warning(__('reading error: %s, %s'), self.po_path, exc)
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/build/lib/sphinx/util/ |
H A D | i18n.py | 51 def po_path(self) -> str: member in CatalogInfo 61 path.getmtime(self.mo_path) < path.getmtime(self.po_path)) 64 with open(self.po_path, encoding=self.charset) as file_po: 68 logger.warning(__('reading error: %s, %s'), self.po_path, exc)
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/sphinx/util/ |
H A D | i18n.py | 51 def po_path(self) -> str: member in CatalogInfo 61 path.getmtime(self.mo_path) < path.getmtime(self.po_path)) 64 with open(self.po_path, encoding=self.charset) as file_po: 68 logger.warning(__('reading error: %s, %s'), self.po_path, exc)
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/tests/ |
H A D | test_util_i18n.py | 25 assert cat.po_path == os.path.join('path', 'domain.po') 33 assert cat.po_path == os.path.join('path', 'sub/domain.po')
|
/dports/multimedia/quodlibet/quodlibet-4.3.0/tests/ |
H A D | test_po.py | 250 po_path = gettextutil.get_po_path(PODIR, self.lang) 251 gettextutil.check_po(po_path)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/i18n/ |
H A D | po_linter_spec.rb | 9 let(:linter) { described_class.new(po_path: po_path) }
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/snapshots/ |
H A D | wasi_snapshot_preview1.rs | 233 let po_path = entry.preopen_path.as_ref().ok_or(Errno::Notsup)?; in fd_prestat_get() localVariable 238 let path = path::from_host(po_path.as_os_str())?; in fd_prestat_get() 253 let po_path = entry.preopen_path.as_ref().ok_or(Errno::Notsup)?; in fd_prestat_dir_name() localVariable 258 let host_path = path::from_host(po_path.as_os_str())?; in fd_prestat_dir_name()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/old/snapshot_0/hostcalls_impl/ |
H A D | fs.rs | 972 let po_path = fe.preopen_path.as_ref().ok_or(WasiError::ENOTSUP)?; in fd_prestat_get() localVariable 977 let path = host_impl::path_from_host(po_path.as_os_str())?; in fd_prestat_get() 1009 let po_path = fe.preopen_path.as_ref().ok_or(WasiError::ENOTSUP)?; in fd_prestat_dir_name() localVariable 1014 let path = host_impl::path_from_host(po_path.as_os_str())?; in fd_prestat_dir_name()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/ |
H A D | fs.rs | 165 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_get() 176 pr_name_len: po_path.as_os_str().as_bytes().len(), in wasi_fd_prestat_get() 202 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_dir_name() 206 let path_bytes = po_path.as_os_str().as_bytes(); in wasi_fd_prestat_dir_name()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/ |
H A D | fs.rs | 165 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_get() 176 pr_name_len: po_path.as_os_str().as_bytes().len(), in wasi_fd_prestat_get() 202 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_dir_name() 206 let path_bytes = po_path.as_os_str().as_bytes(); in wasi_fd_prestat_dir_name()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-wasi/src/hostcalls/ |
H A D | fs.rs | 165 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_get() 176 pr_name_len: po_path.as_os_str().as_bytes().len(), in wasi_fd_prestat_get() 202 if let Some(po_path) = &fe.preopen_path { in wasi_fd_prestat_dir_name() 206 let path_bytes = po_path.as_os_str().as_bytes(); in wasi_fd_prestat_dir_name()
|
/dports/deskutils/calibre/calibre-src-5.34.0/setup/ |
H A D | translations.py | 411 for (po_path, mo_path) in files: 412 with open(po_path, 'r+b') as f:
|