From f66ace21cdf4fec85c05be1a85ecfdaa8c281066 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 29 Nov 2017 00:20:09 +0100 Subject: [PATCH] tdf#114124 Translate 'PNG Bitmap' string in Calc Paste dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8356f241d0742276cf32aa301c35055a7f3c5898 Reviewed-on: https://gerrit.libreoffice.org/45447 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/svtools/strings.hrc | 1 + svtools/source/dialogs/insdlg.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/include/svtools/strings.hrc b/include/svtools/strings.hrc index a7af8ca5889d..ebda4b746df8 100644 --- a/include/svtools/strings.hrc +++ b/include/svtools/strings.hrc @@ -94,6 +94,7 @@ #define STR_FORMAT_ID_DIALOG_60 NC_("STR_FORMAT_ID_DIALOG_60", "OpenOffice.org 1.0 dialog") #define STR_FORMAT_ID_FILEGRPDESCRIPTOR NC_("STR_FORMAT_ID_FILEGRPDESCRIPTOR", "Link") #define STR_FORMAT_ID_HTML_NO_COMMENT NC_("STR_FORMAT_ID_HTML_NO_COMMENT", "HTML format without comments") +#define STR_FORMAT_ID_PNG_BITMAP NC_("STR_FORMAT_ID_PNG_BITMAP", "PNG Bitmap") #define STR_ERROR_OBJNOCREATE NC_("STR_ERROR_OBJNOCREATE", "Object % could not be inserted.") #define STR_ERROR_OBJNOCREATE_FROM_FILE NC_("STR_ERROR_OBJNOCREATE_FROM_FILE", "Object from file % could not be inserted.") diff --git a/svtools/source/dialogs/insdlg.cxx b/svtools/source/dialogs/insdlg.cxx index 08c68596063f..a7ed5ca32c1a 100644 --- a/svtools/source/dialogs/insdlg.cxx +++ b/svtools/source/dialogs/insdlg.cxx @@ -264,6 +264,7 @@ OUString SvPasteObjectHelper::GetSotFormatUIName( SotClipboardFormatId nId ) { SotClipboardFormatId::HTML_NO_COMMENT, STR_FORMAT_ID_HTML_NO_COMMENT }, { SotClipboardFormatId::RICHTEXT, STR_FORMAT_ID_RICHTEXT }, { SotClipboardFormatId::STRING_TSVC, STR_FORMAT_ID_STRING_TSVC }, + { SotClipboardFormatId::PNG, STR_FORMAT_ID_PNG_BITMAP }, }; const char* pResId = nullptr;