Appendix LOC file template
/** =============================================================================
* Name : ?FileName.loc
* Part of : ?Subsystem_name / ?Module_name
* Description : ?Description
* Version : ?Version
*
* ?Copyright information
==============================================================================* Syntax of a logical name entry in this file is the following:
#define qtn_<feature/application>_<freetext>
where
"qtn_" (or "text_") starts a logical name, which does not contain dots.
<feature/application> is 2-5 characters identifying the larger context of the
display text.
<freetext> is the free text portion of a name. Alphanumeric characters from ranges 'a'-'z' and '0'-'9' and underscore character '_' are allowed. The number of characters is free as long as the total length of the logical name does not exceed the limit of 50 characters.
If comment fields in loc-files are needed, they have to be defined by customer's localization team / coordinator. S60 localization team has its own requirements for comment fields. These requirements are followed by all teams that deliver code to S60.
Example of a requirement for comment field (based on S60 localization team requirements):
// d:context description (line 1)
// d:context description (line N)
// l:layout id
where
"d:" starts description line(s), which clarify entry's context with information like:
- is a word a verb in imperative or a noun ?
- what does text "Set" mean ?
- what will replace %U (unicode text parameter) or %N (number parameter) included in texts?
- is it a phone number, an e-mail address, etc..?
"l:" starts a layout id information (one line)
* =============================================================================
*/// LOCALIZATION STRINGS
/*
//EXAMPLES:
//d:Command in options list in short term memories.
//d:Opens the call list view that is focused.
//l:list_single_popup_menu_pane_1
#define text_logs_stm_cmd_open "Open"
//d:Title pane text in converter main state.
//l:title_pane_1
#define qtn_cnv_title "Converter"
//d:Prompt text for currency data query in converter.
//l:popup_query_data_window_1
#define qtn_cnv_edit_name_prompt "Currency name"
//d:Active call is terminated and a held call becomes active.
//d:Operation is confirmed with this info note.
//d:%U stands for the call identification of the activated call.
//l:popup_note_window_1#define qtn_multc_unhold_done_note "%U active"
*/
// End of File