diff options
-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! ******************************************************************************/ |