textinput/ptienginev2/src/PtiEngine.rss
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   PtiEngine resource file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 NAME PTIE
       
    21 
       
    22 #include <eikon.rh>
       
    23 #include <languages.hrh>
       
    24 
       
    25 #include <LanguageCodes.rh>
       
    26 
       
    27 #define KLangHindiPhonetic	602
       
    28 RESOURCE RSS_SIGNATURE { }
       
    29 
       
    30 RESOURCE TBUF 
       
    31     { 
       
    32     buf= ""; 
       
    33     }
       
    34 
       
    35 
       
    36 STRUCT PTI_LANGUAGE
       
    37 	{
       
    38    	LTEXT name;
       
    39 	WORD languageId;
       
    40 	}
       
    41 
       
    42 
       
    43 STRUCT PTI_LANGUAGE_TRANSLATIONS
       
    44 	{
       
    45 	STRUCT languages[];
       
    46 	}
       
    47 
       
    48 // Language names
       
    49 
       
    50 #define NAME_English     "English"	
       
    51 #define NAME_Lithuanian  "Lietuvi"<0x0173>	
       
    52 #define NAME_Malay       "Melayu"	
       
    53 #define NAME_Polish      "Polski"	
       
    54 #define NAME_Portuguese  "Portugu"<0x00EA>"s"	
       
    55 #define NAME_Romanian    "Rom"<0x00E2>"n"<0x0103>	
       
    56 #define NAME_Serbian     "Srpski"	
       
    57 #define NAME_Slovak      "Sloven"<0x010D>"ina"	
       
    58 #define NAME_Slovene     "Sloven"<0x0161><0x010D>"ina"	
       
    59 #define NAME_Spanish     "Espa"<0x00F1>"ol"	
       
    60 #define NAME_Swedish     "Svenska"	
       
    61 #define NAME_Tagalog     "Pilipino"	
       
    62 #define NAME_Turkish     "Türk"<0x00E7>"e"	
       
    63 #define NAME_Czech       <0x010C>"e"<0x0161>"tina"	
       
    64 #define NAME_Dutch       "Nederlands"	
       
    65 #define NAME_Estonian    "Eesti"	
       
    66 #define NAME_French      "Fran"<0x00E7>"ais"	
       
    67 #define NAME_Greek       <0x0395><0x03BB><0x03BB><0x03B7><0x03BD><0x03B9><0x03BA><0x03AC>	
       
    68 #define NAME_Icelandic   <0x00CD>"slenska"	
       
    69 #define NAME_Indonesian  "Indonesia"	
       
    70 #define NAME_Italian     "Italiano"	
       
    71 #define NAME_Latvian     "Latvie"<0x0161>"u"	
       
    72 #define NAME_Croatian    "Hrvatski"	
       
    73 #define NAME_German      "Deutsch"	
       
    74 #define NAME_Hungarian   "Magyar"	
       
    75 #define NAME_Bulgarian    <0x0411><0x044A><0x043B><0x0433><0x0430><0x0440><0x0441><0x043A><0x0438>	
       
    76 #define NAME_Finnish     "Suomi"	
       
    77 #define NAME_Russian     <0x0420><0x0443><0x0441><0x0441><0x043A><0x0438><0x0439>	
       
    78 #define NAME_Danish      "Dansk"	
       
    79 #define NAME_Norwegian   "Norsk"	
       
    80 #define NAME_Ukrainian   <0x0423><0x043A><0x0440><0x0430><0x0457><0x043D><0x0441><0x044C><0x043A><0x0430>
       
    81 #define NAME_Arabic      <0x0627><0x0644><0x0639><0x0631><0x0628><0x064A><0x0629>
       
    82 #define NAME_Hebrew      <0x05E2><0x05D1><0x05E8><0x05D9><0x05EA>
       
    83 #define NAME_Thai        <0x0E20><0x0E32><0x0E29><0x0E32><0x0E44><0x0E17><0x0E22>
       
    84 #define NAME_ChinesePRC  <0x7B80><0x4F53><0x4E2D><0x6587>
       
    85 #define NAME_ChineseHK   <0x7E41><0x9AD4><0x4E2D><0x6587><0x0028><0x9999><0x6E2F><0x0029>
       
    86 #define NAME_ChineseTW   <0x7E41><0x9AD4><0x4E2D><0x6587><0x0028><0x53F0><0x7063><0x0029>
       
    87 #define NAME_Japanese    <0x65E5><0x672C><0x8A9E>
       
    88 #define NAME_Vietnamese  "Ti"<0x00EA><0x0301>"ng Vi"<0x00EA><0x0323>"t"
       
    89 #define NAME_Farsi       <0x0641><0x0627><0x0631><0x0633><0x0649>
       
    90 #define NAME_Hindi       <0x0939><0x093f><0x0928><0x094d><0x0926><0x0940>
       
    91 #define NAME_Urdu        <0x0627><0x0631><0x062f><0x0648>
       
    92 #define NAME_Catalan     "Català"
       
    93 #define NAME_Galician    "Galego"
       
    94 #define NAME_Basque      "Euskara"
       
    95 #define NAME_Indic_Phonetic <0x0939><0x093f><0x0928><0x094d><0x0926><0x0940>" Phonetic"
       
    96 #define NAME_Marathi     <0x092E><0x0930><0x093E><0x0920><0x0940>
       
    97 #define NAME_Korean      <0xD55C><0xAD6D><0xC5B4>
       
    98 
       
    99 
       
   100 RESOURCE PTI_LANGUAGE_TRANSLATIONS r_pti_language_translations
       
   101 	{
       
   102 	languages=
       
   103 		{	
       
   104 		PTI_LANGUAGE {name=NAME_Arabic  ;	languageId = ELangArabic; },
       
   105 		PTI_LANGUAGE {name=NAME_Danish  ;  languageId = ELangDanish; },  	  
       
   106 		PTI_LANGUAGE {name=NAME_German  ;  languageId = ELangGerman; },  	  
       
   107 		PTI_LANGUAGE {name=NAME_Estonian;  languageId = ELangEstonian; },  	  
       
   108   		PTI_LANGUAGE {name=NAME_English;  languageId = ELangEnglish; },
       
   109 		PTI_LANGUAGE {name=NAME_Spanish;  languageId = ELangSpanish; },  	  
       
   110 		PTI_LANGUAGE {name=NAME_French;  languageId = ELangFrench; },  	  
       
   111 		PTI_LANGUAGE {name=NAME_Hebrew;  languageId = ELangHebrew; },
       
   112 		PTI_LANGUAGE {name=NAME_Croatian;  languageId = ELangCroatian; },  	  
       
   113 		PTI_LANGUAGE {name=NAME_Indonesian;  languageId = ELangIndonesian; },  	  
       
   114 		PTI_LANGUAGE {name=NAME_Italian;  languageId = ELangItalian; },  	  
       
   115 		PTI_LANGUAGE {name=NAME_Latvian;  languageId = ELangLatvian; },  	  
       
   116 	  	PTI_LANGUAGE {name=NAME_Lithuanian;  languageId = ELangLithuanian; },  	  
       
   117 		PTI_LANGUAGE {name=NAME_Hungarian;  languageId = ELangHungarian; },  	  
       
   118 		PTI_LANGUAGE {name=NAME_Malay;  languageId = ELangMalay; },  	  
       
   119 		PTI_LANGUAGE {name=NAME_Dutch;  languageId = ELangDutch; },  	  
       
   120 		PTI_LANGUAGE {name=NAME_Norwegian;  languageId = ELangNorwegian; },  	  
       
   121 		PTI_LANGUAGE {name=NAME_Tagalog;  languageId = ELangTagalog; },  	  
       
   122 		PTI_LANGUAGE {name=NAME_Polish;  languageId = ELangPolish; },  	  
       
   123 		PTI_LANGUAGE {name=NAME_Portuguese; languageId = ELangPortuguese; },  	  
       
   124 		PTI_LANGUAGE {name=NAME_Romanian;  languageId = ELangRomanian; },  	  
       
   125 		PTI_LANGUAGE {name=NAME_Slovak;  languageId = ELangSlovak; },  	  
       
   126 		PTI_LANGUAGE {name=NAME_Slovene;  languageId = ELangSlovenian; },  	  
       
   127 		PTI_LANGUAGE {name=NAME_Serbian;  languageId = ELangSerbian; },  	  
       
   128 		PTI_LANGUAGE {name=NAME_Finnish;  languageId = ELangFinnish; },  	  
       
   129 		PTI_LANGUAGE {name=NAME_Swedish;  languageId = ELangSwedish; },  	  
       
   130 		PTI_LANGUAGE {name=NAME_Turkish;  languageId = ELangTurkish; },  	  
       
   131 		PTI_LANGUAGE {name=NAME_Icelandic;  languageId = ELangIcelandic; },  	  
       
   132 		PTI_LANGUAGE {name=NAME_Czech;  languageId = ELangCzech; },  	  
       
   133 		PTI_LANGUAGE {name=NAME_Greek;  languageId = ELangGreek; },  	  
       
   134 		PTI_LANGUAGE {name=NAME_Bulgarian;  languageId = ELangBulgarian; },  	  
       
   135 		PTI_LANGUAGE {name=NAME_Russian;  languageId = ELangRussian; },  	  
       
   136 		PTI_LANGUAGE {name=NAME_Ukrainian  ;  languageId = ELangUkrainian; },
       
   137 		PTI_LANGUAGE {name=NAME_Thai  ;  languageId = ELangThai; },
       
   138 		PTI_LANGUAGE {name=NAME_ChinesePRC  ;  languageId = ELangPrcChinese; },
       
   139 		PTI_LANGUAGE {name=NAME_ChineseHK  ;  languageId = ELangHongKongChinese; },
       
   140 		PTI_LANGUAGE {name=NAME_ChineseTW  ;  languageId = ELangTaiwanChinese; },
       
   141 		PTI_LANGUAGE {name=NAME_English  ;  languageId = ELangCanadianEnglish; },
       
   142 		PTI_LANGUAGE {name=NAME_English  ;  languageId = ELangSouthAfricanEnglish; },
       
   143 		PTI_LANGUAGE {name=NAME_English  ;  languageId = ELangInternationalEnglish; },
       
   144 		PTI_LANGUAGE {name=NAME_French  ;  languageId = ELangCanadianFrench; },
       
   145 		PTI_LANGUAGE {name=NAME_Portuguese  ;  languageId = ELangBrazilianPortuguese; },
       
   146 		PTI_LANGUAGE {name=NAME_Spanish  ;  languageId = ELangLatinAmericanSpanish; },
       
   147 		PTI_LANGUAGE {name=NAME_Spanish  ;  languageId = ELangInternationalSpanish; },
       
   148 		PTI_LANGUAGE {name=NAME_Swedish  ;  languageId = ELangFinlandSwedish; },
       
   149 		PTI_LANGUAGE {name=NAME_French  ;  languageId = ELangSwissFrench; },
       
   150 		PTI_LANGUAGE {name=NAME_German  ;  languageId = ELangSwissGerman; },
       
   151 		PTI_LANGUAGE {name=NAME_English  ;  languageId = ELangAmerican; },
       
   152 		PTI_LANGUAGE {name=NAME_English  ;  languageId = ELangAustralian; },
       
   153 		PTI_LANGUAGE {name=NAME_English  ;  languageId = KLangTaiwanEnglish; },
       
   154 		PTI_LANGUAGE {name=NAME_English  ;  languageId = KLangHongKongEnglish; },
       
   155 		PTI_LANGUAGE {name=NAME_English  ;  languageId = KLangPrcEnglish; },
       
   156 		PTI_LANGUAGE {name=NAME_English  ;  languageId = KLangJapaneseEnglish; },
       
   157 		PTI_LANGUAGE {name=NAME_English  ;  languageId = KLangThaiEnglish; },
       
   158 		PTI_LANGUAGE {name=NAME_Japanese ;  languageId = ELangJapanese; },
       
   159 		PTI_LANGUAGE {name=NAME_Dutch;  languageId = ELangBelgianFlemish; },  
       
   160 		PTI_LANGUAGE {name=NAME_Vietnamese;  languageId = ELangVietnamese; },
       
   161 		PTI_LANGUAGE {name=NAME_Farsi;       languageId = ELangFarsi; },
       
   162 		PTI_LANGUAGE {name=NAME_Hindi;       languageId = ELangHindi; },
       
   163 		PTI_LANGUAGE {name=NAME_Urdu;        languageId = ELangUrdu; },
       
   164 		PTI_LANGUAGE {name=NAME_Malay;        languageId = KLangApacMalay;},
       
   165 		PTI_LANGUAGE {name=NAME_Catalan;        languageId = ELangCatalan;},
       
   166 		PTI_LANGUAGE {name=NAME_Galician;        languageId = KLangGalician;},
       
   167 		PTI_LANGUAGE {name=NAME_Basque;        languageId = KLangBasque;},
       
   168 		PTI_LANGUAGE {name=NAME_English; languageId = KLangIndicEnglish;},
       
   169 		PTI_LANGUAGE {name=NAME_English; languageId = KLangApacEnglish;},
       
   170 		PTI_LANGUAGE {name=NAME_Indonesian; languageId = KLangApacIndonesian;}, 																												
       
   171 		PTI_LANGUAGE {name=NAME_Indic_Phonetic;        languageId = KLangHindiPhonetic;}, 
       
   172 		PTI_LANGUAGE {name=NAME_Marathi;       languageId = ELangMarathi; },
       
   173         	PTI_LANGUAGE {name=NAME_Korean;    languageId = ELangKorean; }
       
   174 		};
       
   175 	}
       
   176 
       
   177 
       
   178 
       
   179 STRUCT MODE_NAME_INDICES
       
   180 	{
       
   181 	WORD indices[6];
       
   182 	}
       
   183 
       
   184 
       
   185 RESOURCE MODE_NAME_INDICES r_pti_prc_indices
       
   186 	{
       
   187 	indices = {0, -1, 1, 2, 3, 4};
       
   188 	}
       
   189 
       
   190 
       
   191 RESOURCE MODE_NAME_INDICES r_pti_tw_indices
       
   192 	{
       
   193 	indices = {-1, 0, -1, 1, 2, 3};
       
   194 	}
       
   195 
       
   196 
       
   197 RESOURCE MODE_NAME_INDICES r_pti_hk_indices
       
   198 	{
       
   199 	indices = {-1, -1, 0, 1, 2, 3};	
       
   200 	}
       
   201 
       
   202 
       
   203 // End of file