diff options
author | David Tardon <dtardon@redhat.com> | 2016-02-16 06:56:21 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-02-16 07:36:18 +0100 |
commit | ec935c9b83ff2872c039522398c49e070149eea1 (patch) | |
tree | 3bc3a3817976619896ffca47f379b01e98b7d490 /sd | |
parent | 94639a10851b62733d5d97d86741b4782c09ee34 (diff) |
tdf#97814 make "insert 3D model" dlg translatable
Change-Id: I45865bdce1957bb4f970e069241e1bb7714b4f4c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/strings.src | 10 | ||||
-rw-r--r-- | sd/source/ui/func/fuinsert.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/inc/strings.hrc | 3 |
3 files changed, 16 insertions, 3 deletions
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src index caa575286fbd..c939eb5ed2a3 100644 --- a/sd/source/ui/app/strings.src +++ b/sd/source/ui/app/strings.src @@ -1247,4 +1247,14 @@ String STR_PHOTO_ALBUM_TEXTBOX Text [ en-US ] = "Text Slide"; }; +String STR_INSERT_3D_MODEL_TITLE +{ + Text [ en-US ] = "Insert 3D Model"; +}; + +String STR_INSERT_3D_MODEL_ALL_SUPPORTED_FORMATS +{ + Text [ en-US ] = "All supported formats"; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx index 3a9a0d09c501..f9cd4c95f74b 100644 --- a/sd/source/ui/func/fuinsert.cxx +++ b/sd/source/ui/func/fuinsert.cxx @@ -772,12 +772,12 @@ void FuInsert3DModel::DoExecute( SfxRequest& ) { sfx2::FileDialogHelper aDlg( ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0 ); - aDlg.SetTitle( "Insert 3D Model" ); + aDlg.SetTitle( SD_RESSTR( STR_INSERT_3D_MODEL_TITLE ) ); #if HAVE_FEATURE_COLLADA - aDlg.AddFilter( "All supported formats", "*.json;*.dae;*.kmz" ); + aDlg.AddFilter( SD_RESSTR( STR_INSERT_3D_MODEL_ALL_SUPPORTED_FORMATS ), "*.json;*.dae;*.kmz" ); #else - aDlg.AddFilter( "All supported formats", "*.json" ); + aDlg.AddFilter( SD_RESSTR( STR_INSERT_3D_MODEL_ALL_SUPPORTED_FORMATS ), "*.json" ); #endif aDlg.AddFilter( "JSON - GL Transmission Format", "*.json" ); diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc index cbcf702da290..37dd9c4bdfe6 100644 --- a/sd/source/ui/inc/strings.hrc +++ b/sd/source/ui/inc/strings.hrc @@ -414,6 +414,9 @@ #define STR_PHOTO_ALBUM_EMPTY_WARNING (RID_APP_START+729) #define STR_PHOTO_ALBUM_TEXTBOX (RID_APP_START+730) +#define STR_INSERT_3D_MODEL_TITLE (RID_APP_START+731) +#define STR_INSERT_3D_MODEL_ALL_SUPPORTED_FORMATS (RID_APP_START+732) + /****************************************************************************** * The ids in glob.hrc start at RID_APP_START+750! ******************************************************************************/ |