summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-11-29 00:20:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-11-30 22:09:45 +0100
commitf66ace21cdf4fec85c05be1a85ecfdaa8c281066 (patch)
treeee3fcb082509cfdf48295c91cfda8f91f8dcb6b0
parentd91e3f5fb4228b5e4c42ac2532fd84bea6cdbe7d (diff)
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>
-rw-r--r--include/svtools/strings.hrc1
-rw-r--r--svtools/source/dialogs/insdlg.cxx1
2 files changed, 2 insertions, 0 deletions
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;