translations: minor additions/adjustments

Add a few translation markers for strings that are translated in the
wxWidgets catalogs, which we do not pull yet.

Also change the string "% of normal:" to "percent of normal:" because
the percent sign was causing an error in poedit.

Fix #1029.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-12-02 22:21:13 +00:00
parent a42e166e94
commit ea10306daa
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
5 changed files with 66 additions and 19 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-23 17:33-0700\n" "POT-Creation-Date: 2022-12-02 22:20+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -569,7 +569,7 @@ msgstr ""
msgid "ROM+HuC-1" msgid "ROM+HuC-1"
msgstr "" msgstr ""
#: cmdevents.cpp:775 dialogs/display-config.cpp:338 xrc/DisplayConfig.xrc:85 #: cmdevents.cpp:775 dialogs/display-config.cpp:343 xrc/DisplayConfig.xrc:85
#: xrc/DisplayConfig.xrc:135 xrc/DisplayConfig.xrc:221 #: xrc/DisplayConfig.xrc:135 xrc/DisplayConfig.xrc:221
#: xrc/GameBoyAdvanceConfig.xrc:32 xrc/GameBoyAdvanceConfig.xrc:204 #: xrc/GameBoyAdvanceConfig.xrc:32 xrc/GameBoyAdvanceConfig.xrc:204
#: xrc/SoundConfig.xrc:219 xrc/SoundConfig.xrc:309 #: xrc/SoundConfig.xrc:219 xrc/SoundConfig.xrc:309
@ -824,6 +824,34 @@ msgstr ""
msgid "Network is not supported in local mode." msgid "Network is not supported in local mode."
msgstr "" msgstr ""
#: extra-translations.cpp:12
msgid "&Apply"
msgstr ""
#: extra-translations.cpp:13
msgid "Artists"
msgstr ""
#: extra-translations.cpp:14
msgid "Cancel"
msgstr ""
#: extra-translations.cpp:15
msgid "Close"
msgstr ""
#: extra-translations.cpp:16
msgid "Developers"
msgstr ""
#: extra-translations.cpp:17
msgid "License"
msgstr ""
#: extra-translations.cpp:18
msgid "OK"
msgstr ""
#: opts.cpp:543 opts.cpp:564 opts.cpp:769 #: opts.cpp:543 opts.cpp:564 opts.cpp:769
#, c-format #, c-format
msgid "Invalid key binding %s for %s" msgid "Invalid key binding %s for %s"
@ -1049,42 +1077,42 @@ msgstr ""
msgid "No VSYNC available on this platform" msgid "No VSYNC available on this platform"
msgstr "" msgstr ""
#: panel.cpp:2439 #: panel.cpp:2440
msgid "memory allocation error" msgid "memory allocation error"
msgstr "" msgstr ""
#: panel.cpp:2442 #: panel.cpp:2443
msgid "error initializing codec" msgid "error initializing codec"
msgstr "" msgstr ""
#: panel.cpp:2445 #: panel.cpp:2446
msgid "error writing to output file" msgid "error writing to output file"
msgstr "" msgstr ""
#: panel.cpp:2448 #: panel.cpp:2449
msgid "can't guess output format from file name" msgid "can't guess output format from file name"
msgstr "" msgstr ""
#: panel.cpp:2453 #: panel.cpp:2454
msgid "programming error; aborting!" msgid "programming error; aborting!"
msgstr "" msgstr ""
#: panel.cpp:2465 panel.cpp:2494 #: panel.cpp:2466 panel.cpp:2495
#, c-format #, c-format
msgid "Unable to begin recording to %s (%s)" msgid "Unable to begin recording to %s (%s)"
msgstr "" msgstr ""
#: panel.cpp:2522 #: panel.cpp:2523
#, c-format #, c-format
msgid "Error in audio/video recording (%s); aborting" msgid "Error in audio/video recording (%s); aborting"
msgstr "" msgstr ""
#: panel.cpp:2528 #: panel.cpp:2529
#, c-format #, c-format
msgid "Error in audio recording (%s); aborting" msgid "Error in audio recording (%s); aborting"
msgstr "" msgstr ""
#: panel.cpp:2538 #: panel.cpp:2539
#, c-format #, c-format
msgid "Error in video recording (%s); aborting" msgid "Error in video recording (%s); aborting"
msgstr "" msgstr ""
@ -1555,22 +1583,22 @@ msgstr ""
msgid "Invalid value %d for option %s; valid values are %s" msgid "Invalid value %d for option %s; valid values are %s"
msgstr "" msgstr ""
#: dialogs/display-config.cpp:369 #: dialogs/display-config.cpp:374
#, c-format #, c-format
msgid "No usable rpi plugins found in %s" msgid "No usable rpi plugins found in %s"
msgstr "" msgstr ""
#: dialogs/display-config.cpp:401 dialogs/display-config.cpp:443 #: dialogs/display-config.cpp:406 dialogs/display-config.cpp:448
#: xrc/DisplayConfig.xrc:107 #: xrc/DisplayConfig.xrc:107
msgid "Plugin" msgid "Plugin"
msgstr "" msgstr ""
#: dialogs/display-config.cpp:408 #: dialogs/display-config.cpp:413
#, c-format #, c-format
msgid "Using pixel filter: %s" msgid "Using pixel filter: %s"
msgstr "" msgstr ""
#: dialogs/display-config.cpp:415 #: dialogs/display-config.cpp:420
#, c-format #, c-format
msgid "Using interframe blending: %s" msgid "Using interframe blending: %s"
msgstr "" msgstr ""
@ -2849,8 +2877,7 @@ msgid "&Throttle"
msgstr "" msgstr ""
#: xrc/GeneralConfig.xrc:96 xrc/SpeedupConfig.xrc:27 #: xrc/GeneralConfig.xrc:96 xrc/SpeedupConfig.xrc:27
#, c-format msgid "percent of normal:"
msgid "% of normal:"
msgstr "" msgstr ""
#: xrc/GeneralConfig.xrc:106 #: xrc/GeneralConfig.xrc:106

View File

@ -746,6 +746,7 @@ set(
viewers.cpp viewers.cpp
gfxviewers.cpp gfxviewers.cpp
cmdevents.cpp cmdevents.cpp
extra-translations.cpp
opts.cpp opts.cpp
sys.cpp sys.cpp
panel.cpp panel.cpp

View File

@ -0,0 +1,19 @@
// This file is for marking some strings for translations that we are not
// pulling upstream translations for, such as the core wxWidgets translations.
//
// Please sort.
#include "wxhead.h"
[[maybe_unused]] void f()
{
wxString s;
s = _("&Apply");
s = _("Artists");
s = _("Cancel");
s = _("Close");
s = _("Developers");
s = _("License");
s = _("OK");
}

View File

@ -93,7 +93,7 @@
<orient>wxHORIZONTAL</orient> <orient>wxHORIZONTAL</orient>
<object class="sizeritem"> <object class="sizeritem">
<object class="wxStaticText"> <object class="wxStaticText">
<label>% of normal:</label> <label>percent of normal:</label>
</object> </object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag> <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border> <border>5</border>

View File

@ -24,7 +24,7 @@
<orient>wxHORIZONTAL</orient> <orient>wxHORIZONTAL</orient>
<object class="sizeritem"> <object class="sizeritem">
<object class="wxStaticText"> <object class="wxStaticText">
<label>% of normal:</label> <label>percent of normal:</label>
<size>60,-1d</size> <size>60,-1d</size>
</object> </object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag> <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>