diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-11-22 23:47:26 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-11-22 23:47:38 +0100 |
commit | 6745c24fdad942f61c225632688bce78da0a547e (patch) | |
tree | f9c17d9f74aa80e21f3eec97a138ddec534d6b8b /cui/source/options | |
parent | 4bec07b086be55fc473ab5f341deb451421aad74 (diff) |
fdo#86550 make some strings localizable
Change-Id: Ie3b47e30b22b4bbae86f575ca1c9f3639afd3afd
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/personalization.cxx | 9 | ||||
-rw-r--r-- | cui/source/options/personalization.src | 20 |
2 files changed, 24 insertions, 5 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 5399dab23768..ff99b0f8a9d4 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -50,19 +50,19 @@ SelectPersonaDialog::SelectPersonaDialog( vcl::Window *pParent ) m_vSearchSuggestions[0]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) ); get( m_vSearchSuggestions[1], "suggestion2" ); - m_vSearchSuggestions[1]->SetText( "Abstract" ); + m_vSearchSuggestions[1]->SetText( CUI_RES ( RID_SVXSTR_PERSONA_ABSTRACT ) ); m_vSearchSuggestions[1]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) ); get( m_vSearchSuggestions[2], "suggestion3" ); - m_vSearchSuggestions[2]->SetText( "Color" ); + m_vSearchSuggestions[2]->SetText( CUI_RES ( RID_SVXSTR_PERSONA_COLOR ) ); m_vSearchSuggestions[2]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) ); get( m_vSearchSuggestions[3], "suggestion4" ); - m_vSearchSuggestions[3]->SetText( "Music" ); + m_vSearchSuggestions[3]->SetText( CUI_RES( RID_SVXSTR_PERSONA_MUSIC ) ); m_vSearchSuggestions[3]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) ); get( m_vSearchSuggestions[4], "suggestion5" ); - m_vSearchSuggestions[4]->SetText( "Nature" ); + m_vSearchSuggestions[4]->SetText( CUI_RES( RID_SVXSTR_PERSONA_NATURE ) ); m_vSearchSuggestions[4]->SetClickHdl( LINK( this, SelectPersonaDialog, SearchPersonas ) ); get( m_pEdit, "search_term" ); @@ -75,7 +75,6 @@ SelectPersonaDialog::SelectPersonaDialog( vcl::Window *pParent ) get( m_pCancelButton, "cancel" ); m_pCancelButton->SetClickHdl( LINK( this, SelectPersonaDialog, ActionCancel ) ); - get( m_vResultList[0], "result1" ); get( m_vResultList[1], "result2" ); get( m_vResultList[2], "result3" ); diff --git a/cui/source/options/personalization.src b/cui/source/options/personalization.src index aeaa9e19fc66..eba74b836d24 100644 --- a/cui/source/options/personalization.src +++ b/cui/source/options/personalization.src @@ -49,4 +49,24 @@ String RID_SVXSTR_APPLYPERSONA Text [ en-US ] = "Applying Theme..."; }; +String RID_SVXSTR_PERSONA_ABSTRACT +{ + Text [ en-US ] = "Abstract"; +}; + +String RID_SVXSTR_PERSONA_COLOR +{ + Text [ en-US ] = "Color"; +}; + +String RID_SVXSTR_PERSONA_MUSIC +{ + Text [ en-US ] = "Music"; +}; + +String RID_SVXSTR_PERSONA_NATURE +{ + Text [ en-US ] = "Nature"; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |