Home
last modified time | relevance | path

Searched refs:GETTEXT_DOMAIN (Results 1 – 25 of 244) sorted by relevance

12345678910

/dports/sysutils/libdnf/libdnf-0.64.0/libdnf/utils/bgettext/
H A Dbgettext-lib.h20 #ifndef GETTEXT_DOMAIN
21 #error You must define GETTEXT_DOMAIN before including bgettext-lib.h.
26 #define _(msgId) ((const char *)dgettext(GETTEXT_DOMAIN, msgId))
27 #define P_(msgId, msgIdPlural, n) ((const char *)dngettext(GETTEXT_DOMAIN, msgId, msgIdPlural, n))
28 #define C_(context, msgId) b_dpgettext2(GETTEXT_DOMAIN, context "\004" msgId, sizeof(context))
29 #define CP_(context, msgId, msgIdPlural, n) ((const char *)b_dnpgettext2(GETTEXT_DOMAIN, context "\…
31 #define TM_(markedMsg, n) b_dmgettext(GETTEXT_DOMAIN, markedMsg, n)
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dgettext.hpp42 #ifndef GETTEXT_DOMAIN
43 # define GETTEXT_DOMAIN PACKAGE macro
48 # define GETTEXT_DOMAIN "" macro
66 { return translation::dgettext(GETTEXT_DOMAIN, str); } in gettext()
68 { return translation::dsgettext(GETTEXT_DOMAIN, str); } in sgettext()
70 { return translation::dsngettext(GETTEXT_DOMAIN, str1, str2 , n); } in sngettext()
101 { return translation::dsgettext(GETTEXT_DOMAIN, str); } in _()
105 { return translation::dsngettext(GETTEXT_DOMAIN, str1, str2, n); } in _n()
/dports/games/wesnoth/wesnoth-1.14.17/src/desktop/
H A Dpaths.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
96 res.push_back({{ N_("filesystem_path_system^Volumes"), GETTEXT_DOMAIN }, "", "/Volumes"}); in enumerate_storage_devices()
200 …res.push_back({{ N_("filesystem_path_game^Game executables"), GETTEXT_DOMAIN }, "", game_bin_dir}); in game_paths()
204 res.push_back({{ N_("filesystem_path_game^Game data"), GETTEXT_DOMAIN }, "", game_data_dir}); in game_paths()
208 res.push_back({{ N_("filesystem_path_game^User data"), GETTEXT_DOMAIN }, "", game_user_data_dir}); in game_paths()
212 …res.push_back({{ N_("filesystem_path_game^User preferences"), GETTEXT_DOMAIN }, "", game_user_pref… in game_paths()
225 res.push_back({{ N_("filesystem_path_system^Home"), GETTEXT_DOMAIN }, "", home_dir}); in system_paths()
234 res.push_back({{ N_("filesystem_path_system^Root"), GETTEXT_DOMAIN }, "", "/"}); in system_paths()
/dports/x11/py-caffeine-ng/caffeine-ng-3.5.1/caffeine/
H A D__init__.py28 GETTEXT_DOMAIN = "caffeine"
33 module.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH)
34 module.textdomain(GETTEXT_DOMAIN)
/dports/games/wesnoth/wesnoth-1.14.17/cmake/
H A Dupdate_pot_source_dependencies.cmake31 # If the file doesn't contain a GETTEXT_DOMAIN
33 if ! grep \"^\#define *GETTEXT_DOMAIN\"
61 # If the file contains a GETTEXT_DOMAIN definition for
63 if grep \"^\#define *GETTEXT_DOMAIN *\\\"${DOMAIN}\\\"\"
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/share/extensions/inkex/
H A Dlocalization.py29 GETTEXT_DOMAIN = os.environ.get('INKEX_GETTEXT_DOMAIN') variable
35 def localize(domain=GETTEXT_DOMAIN, localedir=GETTEXT_DIRECTORY):
/dports/games/wesnoth/wesnoth-1.14.17/src/formula/
H A Dstring_utils.hpp113 vgettext_impl(GETTEXT_DOMAIN, msgid, __VA_ARGS__)
116 vngettext_impl(GETTEXT_DOMAIN, msgid, msgid_plural, count, __VA_ARGS__)
/dports/games/wesnoth/wesnoth-1.14.17/src/tests/
H A Dtest_config_cache.cpp17 #define GETTEXT_DOMAIN "wesnoth-test" macro
142 (*child)["name"] = GETTEXT_DOMAIN; in setup_test_config()
159 child["define"] = t_string("testing translation reset.", GETTEXT_DOMAIN); in BOOST_AUTO_TEST_CASE()
H A Dtest_formula_ai.cpp15 #define GETTEXT_DOMAIN "wesnoth-test" macro
H A Dtest_team.cpp15 #define GETTEXT_DOMAIN "wesnoth-test" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/auxiliary/iterator/
H A Diterator.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/dialogs/
H A Dedit_label.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
H A Dedit_text.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
H A Dfolder_create.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
H A Ddepcheck_confirm_change.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
H A Dsp_options_configure.cpp14 #define GETTEXT_DOMAIN "wesnoth-lib" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/dialogs/editor/
H A Dnew_map.cpp14 #define GETTEXT_DOMAIN "wesnoth-editor" macro
/dports/games/wesnoth/wesnoth-1.14.17/doc/design/gui2/
H A Dwindow_builder.cpp1 #define GETTEXT_DOMAIN "wesnoth-lib" /*@ \label{window_builder.cpp:textdomain} @*/ macro
H A Dwidget_definition.cpp1 #define GETTEXT_DOMAIN "wesnoth-lib" /*@ \label{widget_definition.cpp:textdomain} @*/ macro
H A Dprogress_bar.cpp1 #define GETTEXT_DOMAIN "wesnoth-lib" /*@ \label{progress_bar.cpp:textdomain} @*/ macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/core/
H A Dplacer.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
H A Dlog.cpp20 #define GETTEXT_DOMAIN "wesnoth-lib" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/dialogs/addon/
H A Dinstall_dependencies.cpp17 #define GETTEXT_DOMAIN "wesnoth" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/sdl/
H A Dpoint.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/core/window_builder/
H A Dinstance.cpp15 #define GETTEXT_DOMAIN "wesnoth-lib" macro

12345678910