Kaydet (Commit) 6745c24f authored tarafından Andras Timar's avatar Andras Timar

fdo#86550 make some strings localizable

Change-Id: Ie3b47e30b22b4bbae86f575ca1c9f3639afd3afd
üst 4bec07b0
......@@ -431,6 +431,11 @@
#define RID_SVXSTR_CONFIRM_RESTORE_DEFAULT (RID_SVX_START + 1284)
#define RID_SVXSTR_CONFIRM_SET_LANGUAGE (RID_SVX_START + 1285)
#define RID_SVXSTR_PERSONA_ABSTRACT (RID_SVX_START + 1286)
#define RID_SVXSTR_PERSONA_COLOR (RID_SVX_START + 1287)
#define RID_SVXSTR_PERSONA_MUSIC (RID_SVX_START + 1288)
#define RID_SVXSTR_PERSONA_NATURE (RID_SVX_START + 1289)
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -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" );
......
......@@ -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: */
......@@ -19,7 +19,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="ok">
<property name="label">_Insert</property>
<property name="label" translatable="yes">_Insert</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_default">True</property>
......
......@@ -488,7 +488,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
<property name="label">info1</property>
<property name="label" translatable="no">info1</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">metricInfo1Fields:0.00mm</property>
</object>
......@@ -513,7 +513,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
<property name="label">info2</property>
<property name="label" translatable="no">info2</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">metricInfo2Fields:0.00mm</property>
</object>
......
......@@ -127,7 +127,7 @@
</child>
<child>
<object class="GtkButton" id="color_picker_button">
<property name="label">Custom Color…</property>
<property name="label" translatable="yes">Custom Color…</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -35,7 +35,7 @@
</child>
<child>
<object class="GtkButton" id="cancel">
<property name="label">Discard Recovery Data</property>
<property name="label" translatable="yes">Discard Recovery Data</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
......
......@@ -65,7 +65,7 @@
<property name="vexpand">True</property>
<child>
<object class="GtkButton" id="spacing_1">
<property name="label">Spacing: 1</property>
<property name="label" translatable="yes">Spacing: 1</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -83,7 +83,7 @@
</child>
<child>
<object class="GtkButton" id="spacing_115">
<property name="label">Spacing: 1.15</property>
<property name="label" translatable="yes">Spacing: 1.15</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -101,7 +101,7 @@
</child>
<child>
<object class="GtkButton" id="spacing_15">
<property name="label">Spacing: 1.5</property>
<property name="label" translatable="yes">Spacing: 1.5</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -119,7 +119,7 @@
</child>
<child>
<object class="GtkButton" id="spacing_2">
<property name="label">Spacing: 2</property>
<property name="label" translatable="yes">Spacing: 2</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment