cmmanager/gsconnsettingsplugin/data/gsconnsettingspluginrsc.rss
branchRCL_3
changeset 58 83ca720e2b9a
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
       
     1 /*
       
     2 * Copyright (c) 2007 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:    Resource file for Connectivity Settings plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    CNST // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 #include    "gsconnsettingsplugin.hrh"
       
    24 #include    <gsconnsettingsplugin.loc>
       
    25 #include    <data_caging_paths_strings.hrh>
       
    26 #include    <avkon.loc> // Avkon localized strings
       
    27 #include    <avkon.rh>
       
    28 #include    <avkon.mbg>
       
    29 #include    <avkon.rsg>
       
    30 #include    <eikon.rh>
       
    31 #include    <EIKCORE.rsg>
       
    32 #include    <eikon.rsg>
       
    33 #include    <gscommon.rh>
       
    34 #include    <GSApp.rsg>
       
    35 #include    <gs.loc> // Common localized GS strings
       
    36 #include    <uikon.rh>
       
    37 
       
    38 
       
    39 // CONSTANTS
       
    40 
       
    41 //  RESOURCE DEFINITIONS
       
    42 
       
    43 //----------------------------------------------------
       
    44 //
       
    45 //    Needed or loading the resource fails!
       
    46 //
       
    47 //----------------------------------------------------
       
    48 //
       
    49 RESOURCE RSS_SIGNATURE
       
    50     {
       
    51     }
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 //
       
    55 // r_setting_listbox
       
    56 // Common listbox editor resource for setting pages.
       
    57 //
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 RESOURCE LISTBOX r_setting_listbox
       
    61     {
       
    62     flags = EEikListBoxMultipleSelection;
       
    63     }
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 // r_gs_conn_settings_menubar_open_exit
       
    68 // GS menu with 'Open', 'Help' and 'Exit'items.
       
    69 //
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 RESOURCE MENU_BAR r_gs_conn_settings_menubar_open_exit
       
    73     {
       
    74     titles =
       
    75         {
       
    76         MENU_TITLE
       
    77             {
       
    78             menu_pane = r_gs_conn_settings_menu_item_exit;
       
    79             },
       
    80         MENU_TITLE
       
    81             {
       
    82             menu_pane = r_gs_conn_settings_menu_item_help;
       
    83             },
       
    84         MENU_TITLE
       
    85             {
       
    86             menu_pane = r_gs_conn_settings_menu_item_open;
       
    87             }
       
    88         };
       
    89     }
       
    90 
       
    91 //----------------------------------------------------
       
    92 //
       
    93 // r_gs_conn_settings_menu_item_open
       
    94 // Resource for 'Open' or 'Change' text in menu 
       
    95 //
       
    96 //----------------------------------------------------
       
    97 
       
    98 RESOURCE MENU_PANE r_gs_conn_settings_menu_item_open
       
    99      {
       
   100      items =
       
   101          {
       
   102          MENU_ITEM
       
   103              {
       
   104              command = EGSConnSettMenuOpen;
       
   105              txt = qtn_set_options_open;
       
   106              flags = EEikMenuItemAction;
       
   107              },
       
   108          MENU_ITEM
       
   109              {
       
   110              command = EGSConnSettMenuChange;
       
   111              txt = qtn_set_options_change;
       
   112              flags = EEikMenuItemAction;
       
   113              }
       
   114          };
       
   115      }
       
   116  
       
   117 // -----------------------------------------------------------------------------
       
   118 //
       
   119 // r_gs_conn_settings_menu_item_exit
       
   120 // Resource for 'Exit' text in menu
       
   121 // -----------------------------------------------------------------------------
       
   122 //
       
   123 RESOURCE MENU_PANE r_gs_conn_settings_menu_item_exit
       
   124      {
       
   125      items =
       
   126          {
       
   127          MENU_ITEM
       
   128              {
       
   129              command = EAknCmdExit;
       
   130              txt = qtn_options_exit;
       
   131              }
       
   132          };
       
   133      }
       
   134 
       
   135 // -----------------------------------------------------------------------------
       
   136 //
       
   137 // r_gs_conn_settings_menu_item_help
       
   138 // Resource for 'Help' text in menu
       
   139 //
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 RESOURCE MENU_PANE r_gs_conn_settings_menu_item_help
       
   143      {
       
   144      items =
       
   145          {
       
   146          MENU_ITEM
       
   147              {
       
   148              command = EAknCmdHelp;
       
   149              txt = qtn_options_help;
       
   150              }
       
   151          };
       
   152      }
       
   153 
       
   154 //----------------------------------------------------
       
   155 //
       
   156 // r_gs_conn_settings_plugin_view
       
   157 // Resource for the main view of Connectivity Settings plugin
       
   158 //
       
   159 //----------------------------------------------------
       
   160 //
       
   161 RESOURCE AVKON_VIEW r_gs_conn_settings_plugin_view
       
   162     {
       
   163     menubar = r_gs_conn_settings_menubar_open_exit;
       
   164     cba = r_gs_conn_settings_softkeys_options_back_open;
       
   165     }
       
   166 
       
   167 //----------------------------------------------------
       
   168 //
       
   169 // r_gs_conn_settings_softkeys_options_back_open
       
   170 // Resource for the main view buttons
       
   171 //
       
   172 //----------------------------------------------------
       
   173 //
       
   174 RESOURCE CBA r_gs_conn_settings_softkeys_options_back_open
       
   175      {
       
   176      buttons =
       
   177          {
       
   178          CBA_BUTTON 
       
   179              {
       
   180              id=EAknSoftkeyOptions; 
       
   181              txt = text_softkey_option;
       
   182              },
       
   183          CBA_BUTTON 
       
   184              {
       
   185              id=EAknSoftkeyBack; 
       
   186              txt = text_softkey_back; 
       
   187              },
       
   188          CBA_BUTTON 
       
   189              {
       
   190              id=EGSConnSettMskGeneral;
       
   191              txt = qtn_msk_open;
       
   192              }
       
   193          };
       
   194      }
       
   195 
       
   196 //----------------------------------------------------
       
   197 //
       
   198 // r_gs_conn_settings_plugin_view_title
       
   199 // Connectivity Settings plugin view title.
       
   200 //
       
   201 //----------------------------------------------------
       
   202 //
       
   203 RESOURCE TITLE_PANE r_gs_conn_settings_plugin_view_title
       
   204     {
       
   205     txt = qtn_occ_title_connectivity_settings;
       
   206     }
       
   207 
       
   208 //----------------------------------------------------
       
   209 //
       
   210 // r_gs_conn_settings_view_caption
       
   211 // Plugin name in Connectivity folder
       
   212 //
       
   213 //----------------------------------------------------
       
   214 //
       
   215 RESOURCE TBUF r_gs_conn_settings_view_caption
       
   216     {
       
   217     buf = qtn_set_folder_occ_connectivity_settings;
       
   218     }
       
   219 
       
   220 //----------------------------------------------------
       
   221 //    
       
   222 // r_conn_settings_lbx    
       
   223 // Resource for main view listbox.
       
   224 //
       
   225 //----------------------------------------------------
       
   226 //
       
   227 RESOURCE GS_FEATURE_ARRAY r_conn_settings_lbx
       
   228     {
       
   229     items =
       
   230         {
       
   231         GS_FEATURE
       
   232             {
       
   233             txt = " \t"qtn_occ_sett_usage_of_wlan"\t\t"; 
       
   234             item = EGSSettIdUsageOfWlan;
       
   235             type = EGSListBoxItemTypeIsAlwaysVisible;            
       
   236             },
       
   237         GS_FEATURE
       
   238             {
       
   239             txt = " \t"qtn_occ_sett_data_usage_home_nw"\t\t"; 
       
   240             item = EGSSettIdDataUsageHomeNw;
       
   241             type = EGSListBoxItemTypeIsAlwaysVisible;            
       
   242             },
       
   243         GS_FEATURE
       
   244             {
       
   245             txt = " \t"qtn_occ_sett_data_usage_abroad"\t\t"; 
       
   246             item = EGSSettIdDataUsageAbroad;
       
   247             type = EGSListBoxItemTypeIsAlwaysVisible;            
       
   248             }
       
   249         };    
       
   250     }
       
   251 
       
   252 //----------------------------------------------------
       
   253 //    
       
   254 // r_conn_settings_lbx_nowlan
       
   255 // Resource for main view listbox.
       
   256 //
       
   257 //----------------------------------------------------
       
   258 //
       
   259 RESOURCE GS_FEATURE_ARRAY r_conn_settings_lbx_nowlan
       
   260     {
       
   261     items =
       
   262         {
       
   263         GS_FEATURE
       
   264             {
       
   265             txt = " \t"qtn_occ_sett_data_usage_home_nw"\t\t"; 
       
   266             item = EGSSettIdDataUsageHomeNw;
       
   267             type = EGSListBoxItemTypeIsAlwaysVisible;            
       
   268             },
       
   269         GS_FEATURE
       
   270             {
       
   271             txt = " \t"qtn_occ_sett_data_usage_abroad"\t\t"; 
       
   272             item = EGSSettIdDataUsageAbroad;
       
   273             type = EGSListBoxItemTypeIsAlwaysVisible;            
       
   274             }
       
   275         };    
       
   276     }
       
   277 
       
   278 //----------------------------------------------------
       
   279 //    
       
   280 //    r_conn_settings_lbx_txt
       
   281 //
       
   282 //----------------------------------------------------
       
   283 //
       
   284 RESOURCE ARRAY r_conn_settings_lbx_txt
       
   285     {
       
   286     items =
       
   287         {
       
   288         LBUF
       
   289             {
       
   290             txt = qtn_occ_sett_usage_of_wlan;
       
   291             },
       
   292         LBUF
       
   293             {
       
   294             txt = qtn_occ_sett_data_usage_home_nw;
       
   295             },
       
   296         LBUF
       
   297             {
       
   298             txt = qtn_occ_sett_data_usage_abroad;
       
   299             }
       
   300         };
       
   301     }
       
   302 
       
   303 //----------------------------------------------------
       
   304 //    
       
   305 //    r_conn_settings_lbx_txt_nowlan
       
   306 //
       
   307 //----------------------------------------------------
       
   308 //
       
   309 RESOURCE ARRAY r_conn_settings_lbx_txt_nowlan
       
   310     {
       
   311     items =
       
   312         {
       
   313         LBUF
       
   314             {
       
   315             txt = qtn_occ_sett_data_usage_home_nw;
       
   316             },
       
   317         LBUF
       
   318             {
       
   319             txt = qtn_occ_sett_data_usage_abroad;
       
   320             }
       
   321         };
       
   322     }
       
   323 
       
   324 //----------------------------------------------------
       
   325 //    
       
   326 // r_usage_of_new_wlan_setting_page_lbx
       
   327 // Resource for "Join new WLAN networks" listbox items
       
   328 //
       
   329 //----------------------------------------------------
       
   330 //
       
   331 RESOURCE ARRAY r_usage_of_wlan_setting_page_lbx
       
   332     {
       
   333     items =
       
   334         {
       
   335         LBUF
       
   336             {
       
   337             txt = qtn_occ_sett_usage_of_wlan_known;
       
   338             },                                       
       
   339         LBUF
       
   340             {
       
   341             txt = qtn_occ_sett_usage_of_wlan_manual;
       
   342             }
       
   343         };
       
   344     }
       
   345 
       
   346 //----------------------------------------------------
       
   347 //    
       
   348 // r_data_usage_abroad_setting_page
       
   349 // Resource for "" setting page
       
   350 //
       
   351 //----------------------------------------------------
       
   352 //
       
   353 RESOURCE AVKON_SETTING_PAGE r_data_usage_abroad_setting_page
       
   354     {
       
   355     number = EAknSettingPageNoOrdinalDisplayed; 
       
   356     label = qtn_occ_sett_data_usage_abroad;
       
   357     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   358     type = EAknSetListBox;
       
   359     editor_resource_id = r_setting_listbox;
       
   360     }
       
   361 
       
   362 //----------------------------------------------------
       
   363 //    
       
   364 // r_data_usage_abroad_setting_page_lbx
       
   365 // Resource for "" listbox items
       
   366 //
       
   367 //----------------------------------------------------
       
   368 //
       
   369 RESOURCE ARRAY r_data_usage_abroad_setting_page_lbx
       
   370     {
       
   371     items =
       
   372         {
       
   373         LBUF
       
   374             {
       
   375             txt = qtn_occ_sett_data_usage_abroad_automatic;
       
   376             },
       
   377         LBUF
       
   378             {
       
   379             txt = qtn_occ_sett_data_usage_abroad_confirm;
       
   380             },
       
   381         LBUF
       
   382             {
       
   383             txt = qtn_occ_sett_data_usage_abroad_wlan_only;
       
   384             }
       
   385         };
       
   386     }
       
   387 
       
   388 //----------------------------------------------------
       
   389 //    
       
   390 // r_data_usage_abroad_setting_page_lbx_nowlan
       
   391 // Resource for "" listbox items
       
   392 //
       
   393 //----------------------------------------------------
       
   394 //
       
   395 RESOURCE ARRAY r_data_usage_abroad_setting_page_lbx_nowlan
       
   396     {
       
   397     items =
       
   398         {
       
   399         LBUF
       
   400             {
       
   401             txt = qtn_occ_sett_data_usage_abroad_automatic;
       
   402             },
       
   403         LBUF
       
   404             {
       
   405             txt = qtn_occ_sett_data_usage_abroad_confirm;
       
   406             },
       
   407         LBUF
       
   408             {
       
   409             txt = qtn_occ_sett_data_usage_abroad_disabled;
       
   410             }
       
   411         };
       
   412     }
       
   413 
       
   414 //----------------------------------------------------
       
   415 //    
       
   416 // r_data_usage_home_nw_setting_page
       
   417 // Resource for "" setting page
       
   418 //
       
   419 //----------------------------------------------------
       
   420 //
       
   421 RESOURCE AVKON_SETTING_PAGE r_data_usage_home_nw_setting_page
       
   422     {
       
   423     number = EAknSettingPageNoOrdinalDisplayed; 
       
   424     label = qtn_occ_sett_data_usage_home_nw;
       
   425     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   426     type = EAknSetListBox;
       
   427     editor_resource_id = r_setting_listbox;
       
   428     }
       
   429 
       
   430 //----------------------------------------------------
       
   431 //    
       
   432 // r_data_usage_home_nw_setting_page_lbx
       
   433 // Resource for "" listbox items
       
   434 //
       
   435 //----------------------------------------------------
       
   436 //
       
   437 RESOURCE ARRAY r_data_usage_home_nw_setting_page_lbx
       
   438     {
       
   439     items =
       
   440         {
       
   441         LBUF
       
   442             {
       
   443             txt = qtn_occ_sett_data_usage_home_nw_automatic;
       
   444             },
       
   445         LBUF
       
   446             {
       
   447             txt = qtn_occ_sett_data_usage_home_nw_confirm;
       
   448             },
       
   449         LBUF
       
   450             {
       
   451             txt = qtn_occ_sett_data_usage_home_nw_wlan_only;
       
   452             }
       
   453         };
       
   454     }
       
   455 
       
   456 //----------------------------------------------------
       
   457 //    
       
   458 // r_data_usage_home_nw_setting_page_lbx_nowlan
       
   459 // Resource for "" listbox items
       
   460 //
       
   461 //----------------------------------------------------
       
   462 //
       
   463 RESOURCE ARRAY r_data_usage_home_nw_setting_page_lbx_nowlan
       
   464     {
       
   465     items =
       
   466         {
       
   467         LBUF
       
   468             {
       
   469             txt = qtn_occ_sett_data_usage_home_nw_automatic;
       
   470             },
       
   471         LBUF
       
   472             {
       
   473             txt = qtn_occ_sett_data_usage_home_nw_confirm;
       
   474             },
       
   475         LBUF
       
   476             {
       
   477             txt = qtn_occ_sett_data_usage_home_nw_disabled;
       
   478             }
       
   479         };
       
   480     }
       
   481 
       
   482 //----------------------------------------------------
       
   483 //    
       
   484 // r_gs_conn_settings_msk_label_open
       
   485 // "Open" text resource for MSK label 
       
   486 //
       
   487 //----------------------------------------------------
       
   488 //
       
   489 RESOURCE TBUF r_gs_conn_settings_msk_label_open
       
   490     {
       
   491     buf = qtn_set_options_open;
       
   492     }
       
   493 
       
   494 //----------------------------------------------------
       
   495 //    
       
   496 // r_gs_conn_settings_msk_label_change
       
   497 // "Change" text resource for MSK label
       
   498 //
       
   499 //----------------------------------------------------
       
   500 //
       
   501 RESOURCE TBUF r_gs_conn_settings_msk_label_change
       
   502     {
       
   503     buf = qtn_set_options_change;
       
   504     }
       
   505 
       
   506 // -----------------------------------------------------------------------------
       
   507 //
       
   508 // r_gs_conn_settings_rsk_label_exit
       
   509 // Exit text for RSK
       
   510 //
       
   511 // -----------------------------------------------------------------------------
       
   512 //
       
   513 RESOURCE TBUF r_gs_conn_settings_rsk_label_exit { buf = text_softkey_exit; }
       
   514 
       
   515 // End of file