Translation of 'Apply' button
I have been searching for where the 'Apply' button is translated, the one in all the Filters and Extension subdialogs (where menuitem ends with '...'). There are usually two buttons; 'Close' and 'Apply' - the former is already translated to Icelandic, but the latter is shown in English.
There's no occurrence of 'Apply' in the PO/POT files, so it must come from the desktop environment (GNOME?) - the problem is from where? I've tried grepping the source code, but without clear results so far.
Does anyone know here it stems from?
Best regards, Sveinn í Felli
Am 04.02.2017 um 14:55 schrieb Sveinn í Felli:
I have been searching for where the 'Apply' button is translated, the one in all the Filters and Extension subdialogs (where menuitem ends with '...'). There are usually two buttons; 'Close' and 'Apply' - the former is already translated to Icelandic, but the latter is shown in English.
There's no occurrence of 'Apply' in the PO/POT files, so it must come from the desktop environment (GNOME?) - the problem is from where? I've tried grepping the source code, but without clear results so far.
Does anyone know here it stems from?
Best regards, Sveinn í Felli
You're searching for "Gtk::Stock::APPLY" (see src/extension/prefdialog.cpp) which is is part of GTK. If the string is not translated for you, it's not translated in GTK's .po files themselves (i.e. for 'de' locale the button is properly translated).
May I ask which build of Inkscape you use? In the 64-bit Windows build I just checked (which uses gtk2 from the devlibs64) the String seems to be translated.
Regards, Eduard
Þann lau 4.feb 2017 14:14, skrifaði Eduard Braun:
Am 04.02.2017 um 14:55 schrieb Sveinn í Felli:
I have been searching for where the 'Apply' button is translated, the one in all the Filters and Extension subdialogs (where menuitem ends with '...'). There are usually two buttons; 'Close' and 'Apply' - the former is already translated to Icelandic, but the latter is shown in English.
There's no occurrence of 'Apply' in the PO/POT files, so it must come from the desktop environment (GNOME?) - the problem is from where? I've tried grepping the source code, but without clear results so far.
Does anyone know here it stems from?
Best regards, Sveinn í Felli
You're searching for "Gtk::Stock::APPLY" (see src/extension/prefdialog.cpp) which is is part of GTK. If the string is not translated for you, it's not translated in GTK's .po files themselves (i.e. for 'de' locale the button is properly translated).
May I ask which build of Inkscape you use? In the 64-bit Windows build I just checked (which uses gtk2 from the devlibs64) the String seems to be translated.
Using Inkscape 0.92+devel on LinuxMint 17.3 Cinnamon (same problem with plain-vanilla Inkscape 0.91 from the base repo).
Which can be problematic when searching for stuff like this; some of the strings may come from GTK (GNOME) upstream, while others come from gtk in the Ubuntu repos.
Sveinn
субота, 04-лют-2017 13:55:09 Sveinn í Felli написано:
I have been searching for where the 'Apply' button is translated, the one in all the Filters and Extension subdialogs (where menuitem ends with '...'). There are usually two buttons; 'Close' and 'Apply' - the former is already translated to Icelandic, but the latter is shown in English.
There's no occurrence of 'Apply' in the PO/POT files, so it must come from the desktop environment (GNOME?) - the problem is from where? I've tried grepping the source code, but without clear results so far.
Does anyone know here it stems from?
Best regards, Sveinn í Felli
Hi,
This string is from GTK+ translation.
It is not translated into Icelandic in the GTK+ 2 branch:
https://git.gnome.org/browse/gtk+/tree/po/is.po?h=gtk-2-24#n3365
However, it is translated in 3.x branch so the trunk version of Inkscape should be translated fine:
https://l10n.gnome.org/POT/gtk+.master/gtk+.master.is.po
Do not know if there will be future versions in 2.x branch for the updated translations...
Hope this helps.
Best regards, Yuri
Þann lau 4.feb 2017 14:20, skrifaði Yuri Chornoivan:
субота, 04-лют-2017 13:55:09 Sveinn í Felli написано:
I have been searching for where the 'Apply' button is translated, the one in all the Filters and Extension subdialogs (where menuitem ends with '...'). There are usually two buttons; 'Close' and 'Apply' - the former is already translated to Icelandic, but the latter is shown in English.
There's no occurrence of 'Apply' in the PO/POT files, so it must come from the desktop environment (GNOME?) - the problem is from where? I've tried grepping the source code, but without clear results so far.
Does anyone know here it stems from?
Best regards, Sveinn í Felli
Hi,
This string is from GTK+ translation.
It is not translated into Icelandic in the GTK+ 2 branch:
https://git.gnome.org/browse/gtk+/tree/po/is.po?h=gtk-2-24#n3365
However, it is translated in 3.x branch so the trunk version of Inkscape should be translated fine:
https://l10n.gnome.org/POT/gtk+.master/gtk+.master.is.po
Do not know if there will be future versions in 2.x branch for the updated translations...
Hope this helps.
Best regards, Yuri
As usually you save my day Yuri ;-) I thought I already had translated it years ago in the 2.x branch. And I thought that Inkscape 0.92+devel would use gtk+3 for it's dialogs.
Guess I'll soon have to upgrade my LinuxMint 17.3 (based on Trusty 14.04).
Cheers, Sveinn í Felli
participants (3)
-
Eduard Braun
-
Sveinn í Felli
-
Yuri Chornoivan