Kaydet (Commit) 69103eaa authored tarafından Muhammet Kara's avatar Muhammet Kara

tdf#121294: Allow better localization of gallery properties dialog title

Change-Id: I0ebd1c19a4dfd566f027eb937a2793068a45f913
Reviewed-on: https://gerrit.libreoffice.org/63165
Tested-by: Jenkins
Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@pardus.org.tr>
üst d5acb9a3
......@@ -562,10 +562,10 @@ GalleryThemeProperties::GalleryThemeProperties(vcl::Window* pParent,
if( pData->pTheme->IsReadOnly() )
RemoveTabPage(nFilesPageId);
OUString aText = GetText() + pData->pTheme->GetName();
OUString aText = GetText().replaceFirst( "%1", pData->pTheme->GetName() );
if( pData->pTheme->IsReadOnly() )
aText += CuiResId( RID_SVXSTR_GALLERY_READONLY );
aText += " " + CuiResId( RID_SVXSTR_GALLERY_READONLY );
SetText( aText );
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<!-- Generated with glade 3.22.1 -->
<interface domain="cui">
<requires lib="gtk+" version="3.18"/>
<object class="GtkDialog" id="GalleryThemeDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="gallerythemedialog|GalleryThemeDialog">Properties of </property>
<property name="title" translatable="yes" context="gallerythemedialog|GalleryThemeDialog" comments="%1 will be replaced by a gallery theme name">Properties of %1</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<child>
<placeholder/>
</child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
......@@ -99,6 +102,30 @@
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child type="tab">
......@@ -118,6 +145,30 @@
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">1</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