diff options
| author | Peng Huang <shawn.p.huang@gmail.com> | 2009-03-30 17:41:35 +0800 |
|---|---|---|
| committer | Peng Huang <shawn.p.huang@gmail.com> | 2009-03-30 17:41:35 +0800 |
| commit | ccf200f97d67716f5cab683f6c035bf9a089a542 (patch) | |
| tree | 3a57f93e2c5e2129168b0cb8320a8f7438fbddbf /data | |
| parent | 2456d5b4d3a3d2dc97411551b871e6de1fd3e506 (diff) | |
| download | ibus-ccf200f97d67716f5cab683f6c035bf9a089a542.tar.gz ibus-ccf200f97d67716f5cab683f6c035bf9a089a542.tar.xz ibus-ccf200f97d67716f5cab683f6c035bf9a089a542.zip | |
Localize desktop files and gconf schemas file.
Diffstat (limited to 'data')
| -rw-r--r-- | data/Makefile.am | 7 | ||||
| -rw-r--r-- | data/ibus.schemas.in (renamed from data/ibus.schemas) | 45 |
2 files changed, 31 insertions, 21 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 2200245..68e52ec 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -23,10 +23,11 @@ SUBDIRS = \ icons \ $(NULL) -schemas_DATA = \ - ibus.schemas \ - $(NULL) + schemasdir = $(GCONF_SCHEMA_FILE_DIR) +schemas_in_files = ibus.schemas +schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) +@INTLTOOL_SCHEMAS_RULE@ install-data-local: if GCONF_SCHEMAS_INSTALL diff --git a/data/ibus.schemas b/data/ibus.schemas.in index 9cfbb47..0eb9676 100644 --- a/data/ibus.schemas +++ b/data/ibus.schemas.in @@ -8,8 +8,8 @@ <type>list</type> <list_type>string</list_type> <locale name="C"> - <short>Preload Engines</short> - <long>Preload Engines during ibus starts up</long> + <short>Preload Engines</short> + <long>Preload Engines during ibus starts up</long> </locale> </schema> <schema> @@ -18,11 +18,17 @@ <owner>ibus</owner> <type>list</type> <list_type>string</list_type> - <default>[Control+space]</default> <locale name="C"> - <short>Trigger Hotkey</short> - <long>Trigger hotkey for enable or disable input context</long> + <default>[Control+space]</default> + <short>Trigger Hotkey</short> + <long>Trigger hotkey for enable or disable input context</long> </locale> + <locale name="ja"> + <default>[Zenkaku_Hankaku]</default> + </locale> + <locale name="ko"> + <default>[Hangul,Alt+space]</default> + </locale> </schema> <schema> <key>/schemas/desktop/ibus/general/hotkey/next_engine</key> @@ -32,8 +38,8 @@ <list_type>string</list_type> <default>[]</default> <locale name="C"> - <short>Next Engine Hotkey</short> - <long>Next engine hotkey for switch to next input method engine</long> + <short>Next Engine Hotkey</short> + <long>Next engine hotkey for switch to next input method engine</long> </locale> </schema> <schema> @@ -44,8 +50,8 @@ <list_type>string</list_type> <default>[]</default> <locale name="C"> - <short>Prev Engine Hotkey</short> - <long>Prev engine hotkey for switch to previous input method engine</long> + <short>Prev Engine Hotkey</short> + <long>Prev engine hotkey for switch to previous input method engine</long> </locale> </schema> <schema> @@ -55,8 +61,8 @@ <type>int</type> <default>1</default> <locale name="C"> - <short>Auto Hide</short> - <long>The behavior of language panel. 0 = Always hide, 1 = Auto hide, 2 = Always show</long> + <short>Auto Hide</short> + <long>The behavior of language panel. 0 = Always hide, 1 = Auto hide, 2 = Always show</long> </locale> </schema> <schema> @@ -64,11 +70,14 @@ <applyto>/desktop/ibus/panel/lookup_table_orientation</applyto> <owner>ibus</owner> <type>int</type> - <default>0</default> <locale name="C"> - <short>Orientation of Lookup Table</short> - <long>Orientation of Lookup Table. 0 = Horizontal, 1 = Vertical</long> + <default>0</default> + <short>Orientation of Lookup Table</short> + <long>Orientation of Lookup Table. 0 = Horizontal, 1 = Vertical</long> </locale> + <locale name="ja"> + <default>1</default> + </locale> </schema> <schema> <key>/schemas/desktop/ibus/panel/use_custom_font</key> @@ -77,8 +86,8 @@ <type>bool</type> <default>false</default> <locale name="C"> - <short>Use Custom Font</short> - <long>Use custom font name for language panel</long> + <short>Use Custom Font</short> + <long>Use custom font name for language panel</long> </locale> </schema> <schema> @@ -88,8 +97,8 @@ <type>string</type> <default>Sans 10</default> <locale name="C"> - <short>Custom Font</short> - <long>Custom font name for language panel</long> + <short>Custom Font</short> + <long>Custom font name for language panel</long> </locale> </schema> </schemalist> |
