tdf#114124 Translate 'PNG Bitmap' string in Calc Paste dropdown

Change-Id: I8356f241d0742276cf32aa301c35055a7f3c5898
Reviewed-on: https://gerrit.libreoffice.org/45447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Gabor Kelemen 2017-11-29 00:20:09 +01:00 committed by Caolán McNamara
parent d91e3f5fb4
commit f66ace21cd
2 changed files with 2 additions and 0 deletions

View file

@ -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.")

View file

@ -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;