wlansecuritysettings/wlaneapsettingsui/EapTtls/ConfigUi/data/EapTtlsUi.rss
branchRCL_3
changeset 19 c74b3d9f6b9e
equal deleted inserted replaced
18:bad0cc58d154 19:c74b3d9f6b9e
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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: EAP TTLS UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 20 %
       
    20 */
       
    21 
       
    22 CHARACTER_SET   UTF8
       
    23 
       
    24 //  RESOURCE IDENTIFIER
       
    25 NAME ETTL
       
    26 
       
    27 //  INCLUDES
       
    28 #include <eikon.rh>
       
    29 #include "EapTtlsUi.hrh"   // Enums for these resources
       
    30 #include <eapttlsui.loc>   // Localisation file
       
    31 #include <wlaneapsettingsui.loc>
       
    32 #include <eikon.rsg>
       
    33 #include <avkon.rsg>
       
    34 #include <avkon.rh>
       
    35 #include <avkon.mbg>
       
    36 #include <avkon.loc>
       
    37 
       
    38 
       
    39 //  CONSTANTS  
       
    40 #define KUsernameMaxNameLength 255
       
    41 
       
    42 
       
    43 //  RESOURCE DEFINITIONS 
       
    44 
       
    45 RESOURCE RSS_SIGNATURE { }
       
    46 
       
    47 
       
    48 RESOURCE TBUF16 { buf=""; }
       
    49 
       
    50 
       
    51 RESOURCE CBA r_ttls_ui_softkeys_options_back_edit
       
    52     {
       
    53     buttons = 
       
    54         {
       
    55         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    56         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    57         CBA_BUTTON { id = ETtlsUiCmdChange; txt = qtn_msk_change; }
       
    58         };
       
    59     }
       
    60     
       
    61     
       
    62 RESOURCE CBA r_ttls_ui_softkeys_options_back_configure
       
    63     {
       
    64     buttons =
       
    65         {
       
    66         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    67         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    68         CBA_BUTTON { id = ETtlsUiCmdConfigure; txt = qtn_msk_wlan_eap_configure; }
       
    69         };
       
    70     }
       
    71     
       
    72     
       
    73 RESOURCE CBA r_ttls_ui_softkeys_options_back_enable
       
    74     {
       
    75     buttons =
       
    76         {
       
    77         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    78         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    79         CBA_BUTTON { id = ETtlsUiCmdEnable; txt = qtn_msk_wlan_eap_cs_enable; }
       
    80         };
       
    81     }
       
    82 
       
    83 
       
    84 RESOURCE CBA r_ttls_ui_softkeys_options_back_disable
       
    85     {
       
    86     buttons =
       
    87         {
       
    88         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    89         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    90         CBA_BUTTON { id = ETtlsUiCmdDisable; txt = qtn_msk_wlan_eap_cs_disable; }
       
    91         };
       
    92     }
       
    93 
       
    94 
       
    95 RESOURCE DIALOG r_ttls_setting_dialog
       
    96     {
       
    97     flags = EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | 
       
    98             EEikDialogFlagWait | EEikDialogFlagNotifyEsc;
       
    99     buttons = r_ttls_ui_softkeys_options_back_edit;
       
   100     pages = r_ttls_pages;
       
   101     }
       
   102 
       
   103 
       
   104 RESOURCE ARRAY r_ttls_pages
       
   105     {
       
   106     items=
       
   107         {
       
   108         PAGE 
       
   109             {
       
   110             id = KEAPTTLSSETTINGSPAGE;
       
   111             text = qtn_wlan_eap_tab_settings; 
       
   112             lines = r_ttls_tab_settings; 
       
   113             },
       
   114 
       
   115         PAGE 
       
   116             {
       
   117             id = KEAPTTLSEAPPAGE;
       
   118             text = qtn_wlan_eap_tab_eap_types; 
       
   119             lines = r_ttls_tab_eap_types; 
       
   120             },
       
   121 
       
   122         PAGE 
       
   123             {
       
   124             id = KEAPTTLSCIPHERPAGE;
       
   125             text = qtn_wlan_eap_tab_cipher_suites; 
       
   126             lines = r_ttls_tab_cipher_suites; 
       
   127             }
       
   128         };
       
   129     }
       
   130 
       
   131 
       
   132 // ******* PAGES ************
       
   133 // ******* 1st page *********
       
   134 RESOURCE ARRAY r_ttls_tab_settings
       
   135     {
       
   136     items =
       
   137         {
       
   138         DLG_LINE
       
   139             {
       
   140             id = ETtlsSettingsListbox;
       
   141             type = EAknCtSettingListBox;
       
   142             control = LISTBOX 
       
   143                 {
       
   144                 flags = EAknListBoxMenuList;
       
   145                 };
       
   146             }
       
   147         };
       
   148     }
       
   149 
       
   150 
       
   151 // ******* 2nd page *********
       
   152 RESOURCE ARRAY r_ttls_tab_eap_types
       
   153     {
       
   154     items =
       
   155          {
       
   156          DLG_LINE
       
   157             {
       
   158             id = ETtlsSettingsEapTypeListbox;
       
   159             type = EAknCtSingleNumberListBox;
       
   160             control = LISTBOX 
       
   161                 {
       
   162                 flags = EAknGenericListBoxFlags;
       
   163                 };
       
   164             }
       
   165         };
       
   166     }
       
   167 
       
   168 
       
   169 // ******* 3rd page *********
       
   170 RESOURCE ARRAY r_ttls_tab_cipher_suites
       
   171     {
       
   172     items =
       
   173         {
       
   174         DLG_LINE
       
   175             {
       
   176             id = ETtlsSettingsCipherSuiteListbox;
       
   177             type = EAknCtSingleNumberListBox;
       
   178             control = LISTBOX 
       
   179                 {
       
   180                 flags = EAknGenericListBoxFlags;
       
   181                 };
       
   182             }
       
   183         };
       
   184     }
       
   185 
       
   186 
       
   187 RESOURCE AVKON_SETTING_PAGE r_ttls_username_page
       
   188     {
       
   189     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   190     label = qtn_wlan_eap_sett_username;
       
   191     type = EEikCtEdwin;
       
   192     editor_resource_id = r_ttls_setting_edwin;
       
   193     }
       
   194 
       
   195 
       
   196 RESOURCE AVKON_SETTING_PAGE r_ttls_realm_page
       
   197     {
       
   198     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   199     label = qtn_wlan_eap_sett_realm;
       
   200     type = EEikCtEdwin;
       
   201     editor_resource_id = r_ttls_setting_edwin;
       
   202     }
       
   203 
       
   204 
       
   205 RESOURCE EDWIN r_ttls_setting_edwin 
       
   206     {
       
   207     flags = 0;
       
   208     width = 9;
       
   209     lines = 5;
       
   210     maxlength = 255;
       
   211     }
       
   212 
       
   213 
       
   214 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page
       
   215     {
       
   216     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   217     type =  EAknSetListBox;
       
   218     editor_resource_id = r_setting_listbox;
       
   219     }
       
   220 
       
   221 
       
   222 RESOURCE LISTBOX r_setting_listbox 
       
   223     {
       
   224     flags = EEikListBoxMultipleSelection;
       
   225     }
       
   226 
       
   227 
       
   228 
       
   229 RESOURCE MENU_BAR r_ttls_menubar
       
   230     {
       
   231     titles =
       
   232         {
       
   233         MENU_TITLE 
       
   234             { 
       
   235             menu_pane = r_ttls_menu_pane; 
       
   236             txt = ""; 
       
   237             }
       
   238         };
       
   239     }
       
   240 
       
   241 
       
   242 RESOURCE MENU_PANE r_ttls_menu_pane
       
   243     {
       
   244     items =
       
   245         {
       
   246         MENU_ITEM 
       
   247             { 
       
   248             command = ETtlsUiCmdConfigure;
       
   249             txt = qtn_wlan_options_eap_plugin_configure;
       
   250             flags = EEikMenuItemAction;
       
   251             },
       
   252 
       
   253         MENU_ITEM 
       
   254             { 
       
   255             command = ETtlsUiCmdEnable;
       
   256             txt = qtn_wlan_options_eap_plugin_enable;
       
   257             flags = EEikMenuItemAction;
       
   258             },
       
   259 
       
   260         MENU_ITEM 
       
   261             { 
       
   262             command = ETtlsUiCmdDisable;
       
   263             txt = qtn_wlan_options_eap_plugin_disable;
       
   264             flags = EEikMenuItemSpecific;
       
   265             },
       
   266 
       
   267         MENU_ITEM 
       
   268             { 
       
   269             command = ETtlsUiCmdMoveUp;
       
   270             txt = qtn_wlan_options_eap_plugin_priority_up;
       
   271             flags = EEikMenuItemSpecific;
       
   272             },
       
   273 
       
   274         MENU_ITEM 
       
   275             { 
       
   276             command = ETtlsUiCmdMoveDown;
       
   277             txt = qtn_wlan_options_eap_plugin_priority_down;
       
   278             flags = EEikMenuItemSpecific;
       
   279             },
       
   280 
       
   281         MENU_ITEM 
       
   282             { 
       
   283             command = ETtlsUiCmdChange;
       
   284             txt = qtn_options_change;
       
   285             flags = EEikMenuItemAction;
       
   286             },
       
   287 
       
   288         MENU_ITEM 
       
   289             { 
       
   290             command = EAknCmdHelp;
       
   291             txt = qtn_options_help; 
       
   292             },
       
   293 
       
   294         MENU_ITEM 
       
   295             { 
       
   296             command = EAknCmdExit;
       
   297             txt = qtn_options_exit; 
       
   298             }
       
   299         };
       
   300     }
       
   301 
       
   302 
       
   303 // Resource strings
       
   304 RESOURCE TBUF r_ttls_settings_title        { buf = qtn_wlan_eap_ttls_title; }
       
   305 RESOURCE TBUF r_ttls_username_inusestring      \
       
   306                                   { buf = qtn_wlan_eap_sett_username_inuse; }
       
   307 RESOURCE TBUF r_ttls_username_inusestring_auto \
       
   308                         { buf = qtn_wlan_eap_sett_username_inuse_from_cert; }
       
   309 RESOURCE TBUF r_ttls_username_inusestring_conf \
       
   310                              { buf = qtn_wlan_eap_sett_username_inuse_user; }
       
   311 RESOURCE TBUF r_ttls_username_string    { buf = qtn_wlan_eap_sett_username; }
       
   312 RESOURCE TBUF r_ttls_realm_inusestring         \
       
   313                                      { buf = qtn_wlan_eap_sett_realm_inuse; }
       
   314 RESOURCE TBUF r_ttls_realm_inusestring_auto    \
       
   315                            { buf = qtn_wlan_eap_sett_realm_inuse_from_cert; }
       
   316 RESOURCE TBUF r_ttls_realm_inusestring_conf    \
       
   317                                 { buf = qtn_wlan_eap_sett_realm_inuse_user; }
       
   318 RESOURCE TBUF r_ttls_realm_string          { buf = qtn_wlan_eap_sett_realm; }
       
   319 RESOURCE TBUF r_ttls_user_cert_string          \
       
   320                                 { buf = qtn_wlan_eap_sett_user_certificate; }
       
   321 RESOURCE TBUF r_ttls_ca_cert_string            \
       
   322                                   { buf = qtn_wlan_eap_sett_ca_certificate; }
       
   323 RESOURCE TBUF r_ttls_not_defined     { buf = qtn_wlan_eap_cert_not_defined; }
       
   324 RESOURCE TBUF r_ttls_none_selection            \
       
   325                                   { buf = qtn_wlan_eap_cert_none_selection; }
       
   326 RESOURCE TBUF r_ttls_suite_rsarc4md5 { buf = qtn_wlan_eap_cipher_rsarc4md5; }
       
   327 RESOURCE TBUF r_ttls_suite_rsarc4sha { buf = qtn_wlan_eap_cipher_rsarc4sha; }
       
   328 RESOURCE TBUF r_ttls_suite_rsa3dessha          \
       
   329                                     { buf = qtn_wlan_eap_cipher_rsa3dessha; }
       
   330 RESOURCE TBUF r_ttls_suite_dhersa3dessha       \
       
   331                                  { buf = qtn_wlan_eap_cipher_dhersa3dessha; }
       
   332 RESOURCE TBUF r_ttls_suite_dhedss3dessha       \
       
   333                                  { buf = qtn_wlan_eap_cipher_dhedss3dessha; }
       
   334 RESOURCE TBUF r_ttls_suite_rsaaessha { buf = qtn_wlan_eap_cipher_rsaaessha; }
       
   335 RESOURCE TBUF r_ttls_suite_dhersaaessha        \
       
   336                                   { buf = qtn_wlan_eap_cipher_dhersaaessha; }
       
   337 RESOURCE TBUF r_ttls_suite_dhedssaessha        \
       
   338                                   { buf = qtn_wlan_eap_cipher_dhedssaessha; }
       
   339 RESOURCE TBUF r_ttls_info_cannot_disable_all_eap_plugins \
       
   340                       { buf = qtn_wlan_info_cannot_disable_all_eap_plugins; }
       
   341 RESOURCE TBUF r_ttls_info_plain_mschap_cannot_enable_along \
       
   342                 { buf = qtn_wlan_eap_info_plain_mschap_cannot_enable_along; }
       
   343 RESOURCE TBUF r_ttls_tls_privacy_string
       
   344                                   { buf = qtn_wlan_eap_sett_tls_privacy; }
       
   345 RESOURCE TBUF r_ttls_info_pap_cannot_enable_along \
       
   346                 { buf = qtn_wlan_eap_info_pap_cannot_enable_along; }
       
   347 
       
   348 // ********************************************
       
   349 // USERNAME IN USE AND REALM POPUP DEFINITION
       
   350 // ********************************************
       
   351 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_username_autouseconf_texts
       
   352     {
       
   353     setting_texts_resource = r_ttls_username_autouseconf_texts_resource;
       
   354     popped_up_texts_resource = r_ttls_username_automatic_useconfigured_array;
       
   355     }
       
   356 
       
   357 
       
   358 RESOURCE ARRAY r_ttls_username_autouseconf_texts_resource
       
   359     {
       
   360     items =
       
   361         {
       
   362         AVKON_ENUMERATED_TEXT 
       
   363             { 
       
   364             value = 0; 
       
   365             text = qtn_wlan_eap_sett_username_inuse_from_cert; 
       
   366             },
       
   367 
       
   368         AVKON_ENUMERATED_TEXT 
       
   369             { 
       
   370             value = 1; 
       
   371             text = qtn_wlan_eap_sett_username_inuse_user; 
       
   372             }
       
   373         };
       
   374     }
       
   375 
       
   376 
       
   377 RESOURCE ARRAY r_ttls_username_automatic_useconfigured_array
       
   378     {
       
   379     items =
       
   380         {
       
   381         LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_cert; },
       
   382         LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
       
   383         };
       
   384     }
       
   385 
       
   386 
       
   387 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_realm_autouseconf_texts
       
   388     {
       
   389     setting_texts_resource = r_ttls_realm_autouseconf_texts_resource;
       
   390     popped_up_texts_resource = r_ttls_realm_automatic_useconfigured_array;
       
   391     }
       
   392 
       
   393 
       
   394 RESOURCE ARRAY r_ttls_realm_autouseconf_texts_resource
       
   395     {
       
   396     items=
       
   397         {
       
   398         AVKON_ENUMERATED_TEXT 
       
   399             { 
       
   400             value = 0; 
       
   401             text = qtn_wlan_eap_sett_realm_inuse_from_cert; 
       
   402             },
       
   403 
       
   404         AVKON_ENUMERATED_TEXT 
       
   405             { 
       
   406             value = 1; 
       
   407             text = qtn_wlan_eap_sett_realm_inuse_user; 
       
   408             }
       
   409         };
       
   410     }
       
   411 
       
   412 
       
   413 RESOURCE ARRAY r_ttls_realm_automatic_useconfigured_array
       
   414     {
       
   415     items=
       
   416         {
       
   417         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_cert; },
       
   418         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
       
   419         };
       
   420     }
       
   421 
       
   422 
       
   423 RESOURCE ARRAY r_ttls_tls_privacy_autouseconf_texts_resource
       
   424     {
       
   425     items=
       
   426         {
       
   427         AVKON_ENUMERATED_TEXT 
       
   428             { 
       
   429             value = 0; 
       
   430             text = qtn_wlan_eap_sett_tls_privacy_off; 
       
   431             },
       
   432 
       
   433         AVKON_ENUMERATED_TEXT 
       
   434             { 
       
   435             value = 1; 
       
   436             text = qtn_wlan_eap_sett_tls_privacy_on; 
       
   437             }
       
   438         };
       
   439     }
       
   440 
       
   441 
       
   442 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_tls_privacy_autouseconf_texts
       
   443     {
       
   444     setting_texts_resource = r_ttls_tls_privacy_autouseconf_texts_resource;
       
   445     popped_up_texts_resource = r_ttls_tls_privacy_automatic_useconfigured_array;
       
   446     }
       
   447 
       
   448 
       
   449 RESOURCE ARRAY r_ttls_tls_privacy_automatic_useconfigured_array
       
   450     {
       
   451     items =
       
   452         {
       
   453         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_off; },
       
   454         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_on; }
       
   455         };
       
   456     }
       
   457 
       
   458 
       
   459 RESOURCE AVKON_SETTING_PAGE r_ttls_display_autouseconf_page
       
   460     {
       
   461     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   462     label = qtn_wlan_eap_sett_realm_inuse;
       
   463     type = EAknCtPopupSettingList;
       
   464     editor_resource_id = r_ttls_setting_enumerated_popup;
       
   465     }
       
   466 
       
   467 
       
   468 RESOURCE POPUP_SETTING_LIST r_ttls_setting_enumerated_popup
       
   469     {
       
   470     flags = EAknPopupSettingListFlagInitialised;
       
   471     }
       
   472 
       
   473 // End of File