mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
f7d538b108
* landscape FM / Refactor rotation refactor and simplify the orientation handling code. the user generally cares about the rotation (what direction the device is facing) and not about if koreader is displaying in portrait or landscape mode * bump base update luasocket, libjpeg-turbo, curl add logging to evernote-sdk-lua update framebuffer for proper rotation
107 lines
3.4 KiB
Lua
107 lines
3.4 KiB
Lua
local _ = require("gettext")
|
|
local C_ = _.pgettext
|
|
|
|
local S = {}
|
|
|
|
S.SCREEN_MODE = _("Rotation")
|
|
S.DUAL_PAGES = _("Dual Pages")
|
|
S.PAGE_CROP = _("Page Crop")
|
|
S.FULL_SCREEN = _("Full Screen")
|
|
S.ZOOM_DPI = _("Zoom (dpi)")
|
|
S.PAGE_MARGIN = _("Margin")
|
|
S.H_PAGE_MARGINS = _("L/R Margins")
|
|
S.T_PAGE_MARGIN = _("Top Margin")
|
|
S.B_PAGE_MARGIN = _("Bottom Margin")
|
|
S.SYNC_T_B_PAGE_MARGINS = _("Sync T/B Margins")
|
|
S.LINE_SPACING = _("Line Spacing")
|
|
S.DOCUMENT_COLUMNS = _("Document Columns")
|
|
-- @translators Text alignment. Options given as icons: left, right, center, justify.
|
|
S.TEXT_ALIGN = _("Alignment")
|
|
S.FONT_SIZE = _("Font Size")
|
|
S.CONTRAST = _("Contrast")
|
|
-- @translators Reflow text.
|
|
S.REFLOW = _("Reflow")
|
|
S.DEWATERMARK = _("Dewatermark")
|
|
S.DOC_LANG = _("Document Language")
|
|
S.VERTICAL_TEXT = _("Vertical Text")
|
|
S.WORD_GAP = _("Word Gap")
|
|
-- @translators The maximum size of a dust or ink speckle to be ignored instead of being considered a character.
|
|
S.DEFECT_SIZE = _("Reflow Speckle Ignore Size")
|
|
S.RENDER_QUALITY = _("Render Quality")
|
|
S.AUTO_STRAIGHTEN = _("Auto Straighten")
|
|
S.INDENTATION = _("Indentation")
|
|
S.FONT_WEIGHT = _("Font Weight")
|
|
S.GAMMA = _("Gamma")
|
|
S.FONT_HINT = _("Font Hinting")
|
|
S.FONT_KERNING = _("Font Kerning")
|
|
S.WORD_SPACING = _("Word Spacing")
|
|
S.WORD_EXPANSION = _("Word Expansion")
|
|
S.VIEW_MODE = _("View Mode")
|
|
S.EMBEDDED_STYLE = _("Embedded Style")
|
|
S.EMBEDDED_FONTS = _("Embedded Fonts")
|
|
S.BLOCK_RENDERING_MODE = _("Render Mode")
|
|
S.WRITING_DIR = _("Writing Direction")
|
|
S.PROGRESS_BAR = _("Progress Bar")
|
|
S.ALT_STATUS_BAR = _("Alt Status Bar")
|
|
-- @translators If OCR is unclear, please see https://en.wikipedia.org/wiki/Optical_character_recognition
|
|
S.FORCED_OCR = _("Forced OCR")
|
|
S.HW_DITHERING = _("Dithering")
|
|
S.INVERSE_READING_ORDER = _("Inverse Order")
|
|
S.IMAGE_SCALING = _("Image Scaling")
|
|
S.NIGHTMODE_IMAGES = _("Invert Images")
|
|
S.PAGE_GAP = _("Page Gap")
|
|
|
|
S.ON = _("on")
|
|
S.OFF = _("off")
|
|
S.AUTO = _("auto")
|
|
S.MANUAL = _("manual")
|
|
S.SEMIAUTO = _("semi-auto")
|
|
S.NONE = _("none")
|
|
S.SMALL = _("small")
|
|
S.MEDIUM = _("medium")
|
|
S.LARGE = _("large")
|
|
S.SOME = _("some")
|
|
S.MORE = _("more")
|
|
S.DECREASE = _("decrease")
|
|
S.INCREASE = _("increase")
|
|
S.LIGHTEST = _("lightest")
|
|
S.LIGHTER = _("lighter")
|
|
S.DEFAULT = _("default")
|
|
S.DARKER = _("darker")
|
|
S.NATIVE = _("native")
|
|
S.FAST = _("fast")
|
|
S.GOOD = _("good")
|
|
S.BEST = _("best")
|
|
S.ENHANCED = _("enhanced")
|
|
S.LOW = _("low")
|
|
S.HIGH = _("high")
|
|
S.ZERO_DEG = _("0 deg")
|
|
S.FIVE_DEG = _("5 deg")
|
|
S.TEN_DEG = _("10 deg")
|
|
S.PORTRAIT = C_("Rotation", "↑ 0°")
|
|
S.LANDSCAPE = C_("Rotation", "⤸ 90°")
|
|
S.PORTRAIT_ROTATED = C_("Rotation", "↓ 180°")
|
|
S.LANDSCAPE_ROTATED = C_("Rotation", "⤹ 90°")
|
|
S.REGULAR = _("regular")
|
|
S.BOLD = _("bold")
|
|
S.VIEW_SCROLL = _("continuous")
|
|
S.VIEW_PAGE = _("page")
|
|
-- @translators LTR is left to right, which is the regular European writing direction.
|
|
S.LTR = _("LTR")
|
|
-- @translators RTL is right to left, which is the regular writing direction in languages like Hebrew, Arabic, Persian and Urdu.
|
|
S.RTL = _("RTL")
|
|
-- @translators TBRTL is top-to-bottom-right-to-left, which is a traditional Chinese/Japanese writing direction.
|
|
S.TBRTL = _("TBRTL")
|
|
-- @translators TBLTR is top-to-bottom-left-to-right, which is a traditional Chinese/Japanese writing direction.
|
|
S.TBLTR = _("TBLTR")
|
|
S.LEFT = _("left")
|
|
S.CENTER = _("center")
|
|
S.RIGHT = _("right")
|
|
S.JUSTIFY = _("justify")
|
|
S.LEGACY = _("legacy")
|
|
S.FLAT = _("flat")
|
|
S.BOOK = _("book")
|
|
S.WEB = _("web")
|
|
|
|
return S
|