summaryrefslogtreecommitdiff
path: root/sc/source/ui/src
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-07-29 17:28:47 +0300
committerEike Rathke <erack@redhat.com>2016-07-29 21:33:06 +0000
commita3e57b44b26db382b7fe3004aa0211e26c07e6db (patch)
tree04e56dc7ebe39627a06eb92af10b553a06ec4cf5 /sc/source/ui/src
parenta5fc27e0575eab115de3714ae07fcac7481f4daf (diff)
tdf#91665 l10n: Replace string list by separate strings in ScPrintUIOptions
String lists are sometimes (mis)used to group unrelated items; the advantage(?) being that only one identifier needs to be defined for the whole group. The items are then referenced by index, which is rather fragile when they are used in different parts of UI. String lists like this one should be replaced by separate strings. Change-Id: I78a2c8d1a8e5b1fed6a2d0afefd96ec126bb79af Reviewed-on: https://gerrit.libreoffice.org/27689 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/src')
-rw-r--r--sc/source/ui/src/scstring.src61
1 files changed, 47 insertions, 14 deletions
diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src
index 2da99e27decb..fab1ebd259fb 100644
--- a/sc/source/ui/src/scstring.src
+++ b/sc/source/ui/src/scstring.src
@@ -703,21 +703,54 @@ String SCSTR_MOREBTN_FEWEROPTIONS
Text [ en-US ] = "Fewer ~Options";
};
-StringArray SCSTR_PRINT_OPTIONS
+String SCSTR_PRINTOPT_PAGES
{
- ItemList [en-US] =
- {
- < "Pages"; >;
- < "~Suppress output of empty pages"; >;
- < "Print content"; >;
- < "~All sheets"; >;
- < "~Selected sheets"; >;
- < "Selected cells"; >;
- < "From which print"; >;
- < "All ~pages"; >;
- < "Pa~ges"; >;
- < "%PRODUCTNAME %s"; >;
- };
+ Text [ en-US ] = "Pages";
+};
+
+String SCSTR_PRINTOPT_SUPPRESSEMPTY
+{
+ Text [ en-US ] = "~Suppress output of empty pages";
+};
+
+String SCSTR_PRINTOPT_PRNTCONTENT
+{
+ Text [ en-US ] = "Print content";
+};
+
+String SCSTR_PRINTOPT_ALLSHEETS
+{
+ Text [ en-US ] = "~All sheets";
+};
+
+String SCSTR_PRINTOPT_SELECTEDSHEETS
+{
+ Text [ en-US ] = "~Selected sheets";
+};
+
+String SCSTR_PRINTOPT_SELECTEDCELLS
+{
+ Text [ en-US ] = "Selected cells";
+};
+
+String SCSTR_PRINTOPT_FROMWHICH
+{
+ Text [ en-US ] = "From which print";
+};
+
+String SCSTR_PRINTOPT_ALLPAGES
+{
+ Text [ en-US ] = "All ~pages";
+};
+
+String SCSTR_PRINTOPT_PAGES_
+{
+ Text [ en-US ] = "Pa~ges";
+};
+
+String SCSTR_PRINTOPT_PRODNAME
+{
+ Text [ en-US ] = "%PRODUCTNAME %s";
};
String SCSTR_WARN_ME_IN_FUTURE_CHECK