diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.cxx | 20 | ||||
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.hrc | 10 | ||||
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.src | 50 |
3 files changed, 70 insertions, 10 deletions
diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx index 987a20c9c46a..7b22043a9b42 100644 --- a/svx/source/dialog/compressgraphicdialog.cxx +++ b/svx/source/dialog/compressgraphicdialog.cxx @@ -116,34 +116,34 @@ void CompressGraphicsDialog::Update() switch(aLinkType) { case GFX_LINK_TYPE_NATIVE_GIF: - aGraphicTypeString = "Gif image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_GIF); break; case GFX_LINK_TYPE_NATIVE_JPG: - aGraphicTypeString = "Jpeg image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_JPEG); break; case GFX_LINK_TYPE_NATIVE_PNG: - aGraphicTypeString = "PNG image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_PNG); break; case GFX_LINK_TYPE_NATIVE_TIF: - aGraphicTypeString = "TIFF image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_TIFF); break; case GFX_LINK_TYPE_NATIVE_WMF: - aGraphicTypeString = "WMF image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_WMF); break; case GFX_LINK_TYPE_NATIVE_MET: - aGraphicTypeString = "MET image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_MET); break; case GFX_LINK_TYPE_NATIVE_PCT: - aGraphicTypeString = "PCT image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_PCT); break; case GFX_LINK_TYPE_NATIVE_SVG: - aGraphicTypeString = "SVG image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_SVG); break; case GFX_LINK_TYPE_NATIVE_BMP: - aGraphicTypeString = "BMP image"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_BMP); break; default: - aGraphicTypeString = "Unknown"; + aGraphicTypeString = SVX_RESSTR(STR_IMAGE_UNKNOWN); break; } m_pLabelGraphicType->SetText(aGraphicTypeString); diff --git a/svx/source/dialog/compressgraphicdialog.hrc b/svx/source/dialog/compressgraphicdialog.hrc index 3c608ff35aca..2dd73ca251ac 100644 --- a/svx/source/dialog/compressgraphicdialog.hrc +++ b/svx/source/dialog/compressgraphicdialog.hrc @@ -20,5 +20,15 @@ #define STR_IMAGE_ORIGINAL_SIZE 256 #define STR_IMAGE_VIEW_SIZE 257 #define STR_IMAGE_CAPACITY 258 +#define STR_IMAGE_GIF 259 +#define STR_IMAGE_JPEG 260 +#define STR_IMAGE_PNG 261 +#define STR_IMAGE_TIFF 262 +#define STR_IMAGE_WMF 263 +#define STR_IMAGE_MET 264 +#define STR_IMAGE_PCT 265 +#define STR_IMAGE_SVG 266 +#define STR_IMAGE_BMP 267 +#define STR_IMAGE_UNKNOWN 268 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/compressgraphicdialog.src b/svx/source/dialog/compressgraphicdialog.src index bca7b2cf8d9d..b2377c814c14 100644 --- a/svx/source/dialog/compressgraphicdialog.src +++ b/svx/source/dialog/compressgraphicdialog.src @@ -34,4 +34,54 @@ String STR_IMAGE_CAPACITY Text [ en-US ] = "$(CAPACITY) kiB" ; }; +String STR_IMAGE_GIF +{ + Text [ en-US ] = "Gif image"; +}; + +String STR_IMAGE_JPEG +{ + Text [ en-US ] = "Jpeg image"; +}; + +String STR_IMAGE_PNG +{ + Text [ en-US ] = "PNG image"; +}; + +String STR_IMAGE_TIFF +{ + Text [ en-US ] = "TIFF image"; +}; + +String STR_IMAGE_WMF +{ + Text [ en-US ] = "WMF image"; +}; + +String STR_IMAGE_MET +{ + Text [ en-US ] = "MET image"; +}; + +String STR_IMAGE_PCT +{ + Text [ en-US ] = "PCT image"; +}; + +String STR_IMAGE_SVG +{ + Text [ en-US ] = "SVG image"; +}; + +String STR_IMAGE_BMP +{ + Text [ en-US ] = "BMP image"; +}; + +String STR_IMAGE_UNKNOWN +{ + Text [ en-US ] = "Unknown"; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |