After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 138630 - gnome-terminal.schemas is not localized.
gnome-terminal.schemas is not localized.
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other All
: High normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-31 13:13 UTC by Takao Fujiwara
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
patch for gnome-terminal.schemas.in (44.42 KB, patch)
2004-03-31 13:20 UTC, Takao Fujiwara
none Details | Review

Description Takao Fujiwara 2004-03-31 13:13:30 UTC
Description of Problem:
gnome-terminal.schemas is not localized.

Steps to reproduce the problem:
1. Choose [Edit] -> [Current Profile] in menu.

Actual Results:
The strings 'Default' in [General] tab and 
'Terminal' in [Title and Command] tab are not 
localized. 

Expected Results:
When invoke 'intltool-update --pot' in 
gnome-terminal/po, derive the above strings from 
gnome-terminal.schemas.in and can localize 
gnome-terminal.schemas with 
gnome-terminal.schemas.in and .po files.

[Terminal] -> [Set Character Encoding] in 
menu also can be selectable by locale.


How often does this happen? 
Always some strings are not localized.

Additional Information:

I attached the patch.
Comment 1 Takao Fujiwara 2004-03-31 13:20:01 UTC
Created attachment 26156 [details] [review]
patch for gnome-terminal.schemas.in

I add some important default values to gnome-terminal.schemas.in.
e.g. 

+      <default>Terminal</default>
+      <locale name="C">
+	<default>Terminal</default>

+      <default>Default</default>
+      <locale name="C">
+	  <default>Default</default>

+      <default>[UTF-8,current]</default>
+      <locale name="C">
+	  <default>[UTF-8,current]</default>

These strings can be added po file by intltool-update.
Comment 2 Mariano Suárez-Alvarez 2004-06-22 12:19:19 UTC
Hmmm, it must have been sometime after 2.5.5, I guess, but gnome-terminal has
had i18n'ed schemas for a while, both in the gnome-2-6 branch and in HEAD.

Now, for the three strings you point in comment #1: Default is the point of bug
129889, Terminal from /apps/gnome-terminal/profiles/Default/title is already
translated, so this leaves [UTF-8,current]...

In [UTF-8,current], 'UTF-8' cannot be translated because it's the name of the
encoding, and 'current' is actually used as a marker: this is replaced in
encoding.c by the name of the locale encoding, taken from g_get_charset.

So this is either NOTABUG or already FIXED.
Comment 3 Takao Fujiwara 2004-06-22 12:31:34 UTC
It is not for translation.

e.g. I'll set these msgstr on ja.

msgid "[UTF-8,current]"
msgstr "[UTF-8,EUC-JP,SHIFT-JIS,ISO2022JP,current]"

So the patch is really needed for customozied menus on gnome-terminal.
Comment 4 Mariano Suárez-Alvarez 2004-06-22 12:42:27 UTC
Well, that sounds reasonable, I guess, since the default encodings the user sees
are correlated with LANG.

But note this is 100% a separate matter from the rest of the issues. It really
belongs in a separate bug/RFE, I'd say. I've just filed bug 144810 for this.