Refactored to use strictly locals

This commit is contained in:
HW
2013-10-18 22:38:07 +02:00
parent 8efdff65d3
commit ef111b99c6
107 changed files with 1987 additions and 1654 deletions

View File

@@ -1,49 +1,54 @@
local _ = require("gettext")
SCREEN_MODE_STR = _("Screen Mode")
PAGE_CROP_STR = _("Page Crop")
FULL_SCREEN_STR = _("Full Screen")
SCROLL_MODE_STR = _("Scroll Mode")
PAGE_MARGIN_STR = _("Page Margin")
LINE_SPACING_STR = _("Line Spacing")
COLUMNS_STR = _("Columns")
TEXT_ALIGN_STR = _("Text Align")
FONTSIZE_FINE_TUNING_STR = _("Fine Tuning")
CONTRAST_STR = _("Contrast")
REFLOW_STR = _("Reflow")
DOC_LANG_STR = _("Document Language")
VERTICAL_TEXT_STR = _("Vertical Text")
WORD_GAP_STR = _("Word Gap")
DEFECT_SIZE_STR = _("Defect Size")
RENDER_QUALITY_STR = _("Render Quality")
AUTO_STRAIGHTEN_STR = _("Auto Straighten")
INDENTATION_STR = _("Indentation")
FONT_WEIGHT_STR = _("Font weight")
GAMMA_STR = _("Gamma")
VIEW_MODE_STR = _("View mode")
EMBEDDED_STYLE_STR = _("Embedded style")
local S = {}
ON_STR = _("on")
OFF_STR = _("off")
AUTO_STR = _("auto")
MANUAL_STR = _("manual")
SEMIAUTO_STR = _("semi-auto")
SMALL_STR = _("small")
MEDIUM_STR = _("medium")
LARGE_STR = _("large")
DECREASE_STR = _("decrease")
INCREASE_STR = _("increase")
LIGHTEST_STR = _("lightest")
LIGHTER_STR = _("lighter")
DEFAULT_STR = _("default")
DARKER_STR = _("darker")
DARKEST_STR = _("darkest")
LOW_STR = _("low")
HIGH_STR = _("high")
ZERO_DEG_STR = _("0 deg")
FIVE_DEG_STR = _("5 deg")
TEN_DEG_STR = _("10 deg")
PORTRAIT_STR = _("portrait")
LANDSCAPE_STR = _("landscape")
TOGGLE_BOLD_STR = _("toggle bold")
VIEW_SCROLL_STR = _("scroll")
VIEW_PAGE_STR = _("page")
S.SCREEN_MODE = _("Screen Mode")
S.PAGE_CROP = _("Page Crop")
S.FULL_SCREEN = _("Full Screen")
S.SCROLL_MODE = _("Scroll Mode")
S.PAGE_MARGIN = _("Page Margin")
S.LINE_SPACING = _("Line Spacing")
S.COLUMNS = _("Columns")
S.TEXT_ALIGN = _("Text Align")
S.FONTSIZE_FINE_TUNING = _("Fine Tuning")
S.CONTRAST = _("Contrast")
S.REFLOW = _("Reflow")
S.DOC_LANG = _("Document Language")
S.VERTICAL_TEXT = _("Vertical Text")
S.WORD_GAP = _("Word Gap")
S.DEFECT_SIZE = _("Defect Size")
S.RENDER_QUALITY = _("Render Quality")
S.AUTO_STRAIGHTEN = _("Auto Straighten")
S.INDENTATION = _("Indentation")
S.FONT_WEIGHT = _("Font weight")
S.GAMMA = _("Gamma")
S.VIEW_MODE = _("View mode")
S.EMBEDDED_STYLE = _("Embedded style")
S.ON = _("on")
S.OFF = _("off")
S.AUTO = _("auto")
S.MANUAL = _("manual")
S.SEMIAUTO = _("semi-auto")
S.SMALL = _("small")
S.MEDIUM = _("medium")
S.LARGE = _("large")
S.DECREASE = _("decrease")
S.INCREASE = _("increase")
S.LIGHTEST = _("lightest")
S.LIGHTER = _("lighter")
S.DEFAULT = _("default")
S.DARKER = _("darker")
S.DARKEST = _("darkest")
S.LOW = _("low")
S.HIGH = _("high")
S.ZERO_DEG = _("0 deg")
S.FIVE_DEG = _("5 deg")
S.TEN_DEG = _("10 deg")
S.PORTRAIT = _("portrait")
S.LANDSCAPE = _("landscape")
S.TOGGLE_BOLD = _("toggle bold")
S.VIEW_SCROLL = _("scroll")
S.VIEW_PAGE = _("page")
return S