diff --git a/Makefile b/Makefile index 3abf60e36..4aba2dfc4 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ MO_DIR=$(INSTALL_DIR)/koreader/i18n all: $(KOR_BASE)/$(OUTPUT_DIR)/luajit mo + $(MAKE) -C $(KOR_BASE) echo $(VERSION) > git-rev mkdir -p $(INSTALL_DIR)/koreader cp -rfL $(KOR_BASE)/$(OUTPUT_DIR)/* $(INSTALL_DIR)/koreader/ diff --git a/README.md b/README.md index d52357037..1ca04dbfc 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,9 @@ OS. Windows users are suggested to develop in a Linux VM or use andLinux, Wubi. To get and compile the source you must have `patch`, `wget`, `unzip`, `git`, -`svn` and `cmake` installed. +`svn`, `autoconf` and `cmake` installed. + +Version of autoconf need to be greater than 2.64. You might also need SDL library packages if you want to compile and run the PC emulator. Fedora users can install `SDL` and `SDL-devel`. Ubuntu users can diff --git a/defaults.lua b/defaults.lua index 1eefe2292..396bf842e 100644 --- a/defaults.lua +++ b/defaults.lua @@ -1,7 +1,11 @@ -- number of page turns between full screen refresh --- default to full refresh on every page turn +-- default to do a full refresh on every 6 page turns DRCOUNTMAX = 6 +-- number of pages for hinting +-- default to pre-rendering 2 pages +DHINTCOUNT = 2 + -- full screen mode, 1 for true, 0 for false DFULL_SCREEN = 1 @@ -26,6 +30,10 @@ DOUTER_PAGE_COLOR = 0 -- supported view mode includes: "scroll" and "page" DCREREADER_VIEW_MODE = "page" +-- show dimmed area to indicate page overlap in "page" view mode, +-- default to false +DSHOWOVERLAP = false + -- koptreader config defaults DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0 DKOPTREADER_CONFIG_TEXT_WRAP = 0 -- 1 = on, 0 = off @@ -34,7 +42,7 @@ DKOPTREADER_CONFIG_DETECT_INDENT = 1 -- 1 = enable, 0 = disable DKOPTREADER_CONFIG_DEFECT_SIZE = 1.0 -- range from 0.0 to 3.0 DKOPTREADER_CONFIG_PAGE_MARGIN = 0.10 -- range from 0.0 to 1.0 DKOPTREADER_CONFIG_LINE_SPACING = 1.2 -- range from 0.5 to 2.0 -DKOPTREADER_CONFIG_RENDER_QUALITY = 0.8 -- range from 0.5 to 1.0 +DKOPTREADER_CONFIG_RENDER_QUALITY = 1.0 -- range from 0.5 to 2.0 DKOPTREADER_CONFIG_AUTO_STRAIGHTEN = 0 -- range from 0 to 10 DKOPTREADER_CONFIG_JUSTIFICATION = -1 -- -1 = auto, 0 = left, 1 = center, 2 = right, 3 = full DKOPTREADER_CONFIG_MAX_COLUMNS = 2 -- range from 1 to 4 diff --git a/extensions/koreader/config.xml b/extensions/koreader/config.xml index cf18e6b4c..2bf4a2da3 100644 --- a/extensions/koreader/config.xml +++ b/extensions/koreader/config.xml @@ -2,7 +2,7 @@ Koreader - 0.0 + 0.1 Koreader dev team helper diff --git a/extensions/koreader/menu.json b/extensions/koreader/menu.json index 02ee707ff..4c5a99892 100644 --- a/extensions/koreader/menu.json +++ b/extensions/koreader/menu.json @@ -1,12 +1,33 @@ { "items": [ - { + { "name": "Koreader", "priority": 0, "items": [ - {"name": "Start in documents", "priority": 1, "action": "/mnt/us/koreader/koreader.sh", "params": "/mnt/us/documents"}, - {"name": "Open last document", "priority": 2, "action": "/mnt/us/koreader/koreader.sh"} - ] + { + "name": "Start the filemanager", + "priority": 1, + "action": "/mnt/us/koreader/koreader.sh", + "params": "/mnt/us/documents" + }, + { + "name": "Open the last document", + "priority": 2, + "action": "/mnt/us/koreader/koreader.sh" + }, + { + "name": "Start the filemanager (no framework)", + "priority": 3, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--framework_stop /mnt/us/documents" + }, + { + "name": "Open the last document (no framework)", + "priority": 4, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--framework_stop" } + ] + } ] } diff --git a/frontend/document/koptinterface.lua b/frontend/document/koptinterface.lua index 50422d185..7726174a4 100644 --- a/frontend/document/koptinterface.lua +++ b/frontend/document/koptinterface.lua @@ -8,6 +8,8 @@ KoptInterface = { tessocr_data = "data", ocr_lang = "eng", ocr_type = 3, -- default 0, for more accuracy use 3 + last_context_size = nil, + default_context_size = 1024*1024, } ContextCacheItem = CacheItem:new{} @@ -46,6 +48,12 @@ function KoptInterface:createContext(doc, pageno, bbox) -- So there is no need to check background context when creating new context. local kc = KOPTContext.new() local screen_size = Screen:getSize() + local lang = doc.configurable.doc_language + if lang == "chi_sim" or lang == "chi_tra" or + lang == "jpn" or lang == "kor" then + kc:setCJKChar() + end + kc:setLanguage(lang) kc:setTrim(doc.configurable.trim_page) kc:setWrap(doc.configurable.text_wrap) kc:setIndent(doc.configurable.detect_indent) @@ -62,8 +70,7 @@ function KoptInterface:createContext(doc, pageno, bbox) kc:setDefectSize(doc.configurable.defect_size) kc:setLineSpacing(doc.configurable.line_spacing) kc:setWordSpacing(doc.configurable.word_spacing) - kc:setLanguage(doc.configurable.doc_language) - kc:setBBox(bbox.x0, bbox.y0, bbox.x1, bbox.y1) + if bbox then kc:setBBox(bbox.x0, bbox.y0, bbox.x1, bbox.y1) end if Dbg.is_on then kc:setDebug() end return kc end @@ -133,12 +140,6 @@ function KoptInterface:getReflewTextBoxes(doc, pageno) if cached then local kc = self:waitForContext(cached.kctx) --kc:setDebug() - local lang = doc.configurable.doc_language - if lang == "chi_sim" or lang == "chi_tra" or - lang == "jpn" or lang == "kor" then - kc:setCJKChar() - end - kc:setLanguage(lang) local fullwidth, fullheight = kc:getPageDim() local boxes = kc:getWordBoxes(0, 0, fullwidth, fullheight) Cache:insert(hash, CacheItem:new{ rfpgboxes = boxes }) @@ -154,14 +155,8 @@ function KoptInterface:getTextBoxes(doc, pageno) local cached = Cache:check(hash) if not cached then local kc_hash = "kctx|"..doc.file.."|"..pageno - local kc = KOPTContext.new() + local kc = self:createContext(doc, pageno) kc:setDebug() - local lang = doc.configurable.doc_language - if lang == "chi_sim" or lang == "chi_tra" or - lang == "jpn" or lang == "kor" then - kc:setCJKChar() - end - kc:setLanguage(lang) local page = doc._document:openPage(pageno) page:getPagePix(kc) local fullwidth, fullheight = kc:getPageDim() @@ -260,11 +255,18 @@ function KoptInterface:getCachedContext(doc, pageno) --self:logReflowDuration(pageno, dur) local fullwidth, fullheight = kc:getPageDim() DEBUG("reflowed page", pageno, "fullwidth:", fullwidth, "fullheight:", fullheight) - Cache:insert(kctx_hash, ContextCacheItem:new{ kctx = kc }) + self.last_context_size = fullwidth * fullheight + 128 -- estimation + Cache:insert(kctx_hash, ContextCacheItem:new{ + size = self.last_context_size, + kctx = kc + }) return kc else -- wait for background thread - return self:waitForContext(cached.kctx) + local kc = self:waitForContext(cached.kctx) + local fullwidth, fullheight = kc:getPageDim() + self.last_context_size = fullwidth * fullheight + 128 -- estimation + return kc end end @@ -332,7 +334,10 @@ function KoptInterface:hintPage(doc, pageno, zoom, rotation, gamma, render_mode) kc:setPreCache() page:reflow(kc, 0) page:close() - Cache:insert(kctx_hash, ContextCacheItem:new{ kctx = kc }) + Cache:insert(kctx_hash, ContextCacheItem:new{ + size = self.last_context_size or self.default_context_size, + kctx = kc, + }) end end diff --git a/frontend/ui/reader/readerhinting.lua b/frontend/ui/reader/readerhinting.lua index 1fad17ba1..cc16c0c6e 100644 --- a/frontend/ui/reader/readerhinting.lua +++ b/frontend/ui/reader/readerhinting.lua @@ -3,6 +3,21 @@ ReaderHinting = EventListener:new{ hinting_states = {} } +function ReaderHinting:onHintPage() + if not self.view.hinting then return true end + for i=1, DHINTCOUNT do + if self.zoom.current_page + i <= self.ui.document.info.number_of_pages then + self.ui.document:hintPage( + self.view.state.page + i, + self.zoom:getZoom(self.view.state.page + i), + self.view.state.rotation, + self.view.state.gamma, + self.view.render_mode) + end + end + return true +end + function ReaderHinting:onSetHinting(hinting) self.view.hinting = hinting end @@ -16,4 +31,4 @@ end function ReaderHinting:onRestoreHinting() self.view.hinting = table.remove(self.hinting_states) return true -end \ No newline at end of file +end diff --git a/frontend/ui/reader/readerpaging.lua b/frontend/ui/reader/readerpaging.lua index 0ce9c14ee..0df23431c 100644 --- a/frontend/ui/reader/readerpaging.lua +++ b/frontend/ui/reader/readerpaging.lua @@ -5,7 +5,7 @@ ReaderPaging = InputContainer:new{ number_of_pages = 0, visible_area = nil, page_area = nil, - show_overlap_enable = true, + show_overlap_enable = DSHOWOVERLAP, overlap = scaleByDPI(20), flip_steps = {0,1,2,5,10,20,50,100} } diff --git a/frontend/ui/reader/readerzooming.lua b/frontend/ui/reader/readerzooming.lua index d9618f1c8..073818e39 100644 --- a/frontend/ui/reader/readerzooming.lua +++ b/frontend/ui/reader/readerzooming.lua @@ -161,19 +161,6 @@ function ReaderZooming:onReZoom() return true end -function ReaderZooming:onHintPage() - if not self.view.hinting then return true end - if self.current_page < self.ui.document.info.number_of_pages then - self.ui.document:hintPage( - self.view.state.page + 1, - self:getZoom(self.view.state.page + 1), - self.view.state.rotation, - self.view.state.gamma, - self.view.render_mode) - end - return true -end - function ReaderZooming:getZoom(pageno) -- check if we're in bbox mode and work on bbox if that's the case local zoom = nil diff --git a/frontend/ui/readerui.lua b/frontend/ui/readerui.lua index 171283245..699470024 100644 --- a/frontend/ui/readerui.lua +++ b/frontend/ui/readerui.lua @@ -173,6 +173,7 @@ function ReaderUI:init() -- hinting controller local hinter = ReaderHinting:new{ dialog = self.dialog, + zoom = zoomer, view = self[1], ui = self, document = self.document, diff --git a/frontend/ui/widget/text.lua b/frontend/ui/widget/text.lua index c063cc1ac..f29a6273b 100644 --- a/frontend/ui/widget/text.lua +++ b/frontend/ui/widget/text.lua @@ -153,11 +153,13 @@ function TextBoxWidget:_getVerticalList(alg) -- build horizontal list local h_list = {} for words in self.text:gmatch("[\32-\127\192-\255]+[\128-\191]*") do - for w in words:gsplit("%s+", true) do - local word_box = {} - word_box.word = w - word_box.width = sizeUtf8Text(0, Screen:getWidth(), self.face, w, true).x - table.insert(h_list, word_box) + for word in words:gsplit("%s+", true) do + for w in word:gsplit("%p+", true) do + local word_box = {} + word_box.word = w + word_box.width = sizeUtf8Text(0, Screen:getWidth(), self.face, w, true).x + table.insert(h_list, word_box) + end end end diff --git a/koreader-base b/koreader-base index 07bc9ce92..c5ac9c236 160000 --- a/koreader-base +++ b/koreader-base @@ -1 +1 @@ -Subproject commit 07bc9ce92c96a4a4d77dae148f464a4445b12ce3 +Subproject commit c5ac9c236b0f2a66ba34cbf506fd5e9376658bb1 diff --git a/koreader.sh b/koreader.sh index f10015fc7..e6aa5463c 100755 --- a/koreader.sh +++ b/koreader.sh @@ -3,11 +3,29 @@ export LC_ALL="en_US.UTF-8" PROC_KEYPAD="/proc/keypad" PROC_FIVEWAY="/proc/fiveway" -test -e $PROC_KEYPAD && echo unlock > $PROC_KEYPAD -test -e $PROC_FIVEWAY && echo unlock > $PROC_FIVEWAY +[ -e $PROC_KEYPAD ] && echo unlock > $PROC_KEYPAD +[ -e $PROC_FIVEWAY ] && echo unlock > $PROC_FIVEWAY + +# By default, don't stop the framework. +if [ "$1" == "--framework_stop" ] ; then + shift 1 + STOP_FRAMEWORK="yes" + # Yield a bit to let stuff stop properly... + echo "Stopping framework . . ." + sleep 2 +else + STOP_FRAMEWORK="no" +fi + +# Check which type of init system we're using +if [ -d /etc/upstart ] ; then + INIT_TYPE="upstart" +else + INIT_TYPE="sysv" +fi # we're always starting from our working directory -cd /mnt/us/koreader/ +cd /mnt/us/koreader # export trained OCR data directory export TESSDATA_PREFIX="data" @@ -16,39 +34,89 @@ export TESSDATA_PREFIX="data" export STARDICT_DATA_DIR="data/dict" # bind-mount system fonts -if ! grep /mnt/us/koreader/fonts/host /proc/mounts; then +if ! grep /mnt/us/koreader/fonts/host /proc/mounts ; then mount -o bind /usr/java/lib/fonts /mnt/us/koreader/fonts/host fi +# bind-mount altfonts +if [ -d /mnt/us/fonts ] ; then + mkdir -p /mnt/us/koreader/fonts/altfonts + if ! grep /mnt/us/koreader/fonts/altfonts /proc/mounts ; then + mount -o bind /mnt/us/fonts /mnt/us/koreader/fonts/altfonts + fi +fi + +# bind-mount linkfonts +if [ -d /mnt/us/linkfonts/fonts ] ; then + mkdir -p /mnt/us/koreader/fonts/linkfonts + if ! grep /mnt/us/koreader/fonts/linkfonts /proc/mounts ; then + mount -o bind /mnt/us/linkfonts/fonts /mnt/us/koreader/fonts/linkfonts + fi +fi + # check if we are supposed to shut down the Amazon framework -if test "$1" == "--framework_stop"; then - shift 1 - /etc/init.d/framework stop +if [ "${STOP_FRAMEWORK}" == "yes" ]; then + # Upstart or SysV? + if [ "${INIT_TYPE}" == "sysv" ] ; then + /etc/init.d/framework stop + else + # The framework job sends a SIGTERM on stop, trap it so we don't get killed if we were launched by KUAL + trap "" SIGTERM + stop lab126_gui + fi fi # check if kpvbooklet was launched for more than once, if not we will disable pillow -count=`lipc-get-prop -eiq com.github.koreader.kpvbooklet.timer count` -if [ "$count" == "" -o "$count" == "0" ]; then - lipc-set-prop com.lab126.pillow disableEnablePillow disable +# there's no pillow if we stopped the framework, and it's only there on systems with upstart anyway +if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "upstart" ] ; then + count=`lipc-get-prop -eiq com.github.koreader.kpvbooklet.timer count` + if [ "$count" == "" -o "$count" == "0" ]; then + lipc-set-prop com.lab126.pillow disableEnablePillow disable + fi fi -# stop cvm -#killall -stop cvm +# stop cvm (sysv & framework up only) +if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "sysv" ] ; then + killall -stop cvm +fi # finally call reader ./reader.lua "$@" 2> crash.log # clean up forked process in case the reader crashed -killall reader.lua +if [ "${INIT_TYPE}" == "sysv" ] ; then + killall -TERM reader.lua +else + # We trapped SIGTERM, remember? ;) + killall -KILL reader.lua +fi # unmount system fonts -if grep /mnt/us/koreader/fonts/host /proc/mounts; then +if grep /mnt/us/koreader/fonts/host /proc/mounts ; then umount /mnt/us/koreader/fonts/host fi +# unmount altfonts +if grep /mnt/us/koreader/fonts/altfonts /proc/mounts ; then + umount /mnt/us/koreader/fonts/altfonts +fi + +# unmount linkfonts +if grep /mnt/us/koreader/fonts/linkfonts /proc/mounts ; then + umount /mnt/us/koreader/fonts/linkfonts +fi + # always try to continue cvm -killall -cont cvm || /etc/init.d/framework start +if ! killall -cont cvm ; then + if [ "${INIT_TYPE}" == "sysv" ] ; then + /etc/init.d/framework start + else + start lab126_gui + fi +fi -# display chrome bar -lipc-set-prop com.lab126.pillow disableEnablePillow enable +# display chrome bar (upstart & framework up only) +if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "upstart" ] ; then + lipc-set-prop com.lab126.pillow disableEnablePillow enable +fi diff --git a/l10n/README.md b/l10n/README.md new file mode 100644 index 000000000..49f95a5ec --- /dev/null +++ b/l10n/README.md @@ -0,0 +1,8 @@ +# How to sync this folder with transifex + +1. install transifex client. For example: `apt-get install transifex-client`. + +2. configure the client: + http://support.transifex.com/customer/portal/articles/1000855-configuring-the-client + +3. pull changes from transifex: `make update` diff --git a/l10n/hu/koreader.po b/l10n/hu/koreader.po new file mode 100644 index 000000000..e0242ed46 --- /dev/null +++ b/l10n/hu/koreader.po @@ -0,0 +1,661 @@ +# KOReader PATH/TO/FILE.PO +# Copyright (C) 2005-2013 KOReader Development Team +# +# Translators: +# Kobudera_HUN , 2013 +msgid "" +msgstr "" +"Project-Id-Version: KOReader\n" +"Report-Msgid-Bugs-To: https://github.com/koreader/koreader-base/issues\n" +"POT-Creation-Date: 2013-06-16 04:18+0000\n" +"PO-Revision-Date: 2013-08-05 16:46+0000\n" +"Last-Translator: Kobudera_HUN \n" +"Language-Team: Hungarian (http://www.transifex.com/projects/p/koreader/language/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: reader.lua:198 +msgid "-d start in debug mode" +msgstr "" + +#: reader.lua:199 +msgid "-h show this usage help" +msgstr "" + +#: frontend/ui/data/strings.lua:40 +msgid "0 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:42 +msgid "10 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:41 +msgid "5 deg" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:186 +msgid "Add Note" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:49 +msgid "Auto" +msgstr "" + +#: frontend/ui/data/strings.lua:17 +msgid "Auto Straighten" +msgstr "" + +#: frontend/ui/inputevent.lua:347 +msgid "Auto-detected Kindle 2" +msgstr "" + +#: frontend/ui/inputevent.lua:343 +msgid "Auto-detected Kindle 3" +msgstr "" + +#: frontend/ui/inputevent.lua:339 +msgid "Auto-detected Kindle 4" +msgstr "" + +#: frontend/ui/inputevent.lua:345 +msgid "Auto-detected Kindle DXG" +msgstr "" + +#: frontend/ui/inputevent.lua:295 +msgid "Auto-detected Kindle PaperWhite" +msgstr "" + +#: frontend/ui/inputevent.lua:315 +msgid "Auto-detected Kindle Touch" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:4 +msgid "Bookmarks" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:12 +msgid "Cancel" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:21 +msgid "Change Hyphenation to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:5 +msgid "Change font" +msgstr "" + +#: frontend/ui/data/strings.lua:8 +msgid "Columns" +msgstr "" + +#: frontend/ui/data/strings.lua:11 +msgid "Contrast" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:124 +msgid "Decrease font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:42 +msgid "Decrease front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:192 +msgid "Decrease gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:163 +msgid "Decrease line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:15 +msgid "Defect Size" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:97 +msgid "Delete" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:94 +msgid "Document menu" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:101 +msgid "Edit" +msgstr "" + +#: frontend/ui/data/strings.lua:22 +msgid "Embedded style" +msgstr "" + +#: reader.lua:88 +msgid "Exit" +msgstr "" + +#: reader.lua:150 +msgid "FileManager" +msgstr "" + +#: frontend/ui/data/strings.lua:10 +msgid "Fine Tuning" +msgstr "" + +#: frontend/ui/data/strings.lua:19 +msgid "Font weight" +msgstr "" + +#: frontend/ui/data/strings.lua:4 +msgid "Full Screen" +msgstr "" + +#: frontend/ui/data/strings.lua:20 +msgid "Gamma" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:61 +msgid "Help" +msgstr "Segitség" + +#: frontend/ui/reader/readerhighlight.lua:182 +msgid "Highlight" +msgstr "" + +#: reader.lua:106 +msgid "Home menu" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:3 +msgid "Hyphenation" +msgstr "" + +#: reader.lua:204 +msgid "If you don't pass any path, the last viewed document will be opened" +msgstr "" + +#: reader.lua:201 +msgid "If you give the name of a directory instead of a file path, a file" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:126 +msgid "Increase font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:38 +msgid "Increase front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:189 +msgid "Increase gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:167 +msgid "Increase line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:18 +msgid "Indentation" +msgstr "" + +#: reader.lua:83 +msgid "Last documents" +msgstr "" + +#: frontend/ui/data/strings.lua:7 +msgid "Line Spacing" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:198 +msgid "More" +msgstr "" + +#: reader.lua:127 +msgid "No reader engine for this file" +msgstr "" + +#: frontend/ui/inputevent.lua:349 +msgid "Not supported device model!" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:11 +msgid "OK" +msgstr "" + +#: frontend/ui/widget/touchmenu.lua:338 +msgid "Page " +msgstr "" + +#: frontend/ui/data/strings.lua:3 +msgid "Page Crop" +msgstr "" + +#: frontend/ui/data/strings.lua:6 +msgid "Page Margin" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:64 +msgid "" +"Please report bugs to https://github.com/koreader/ koreader/issues, Click at" +" the bottom of the page for more options" +msgstr "" + +#: reader.lua:196 +msgid "Read all the books on your E-Ink reader" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:215 +msgid "Redrawing with font " +msgstr "" + +#: frontend/ui/data/koptoptions.lua:146 frontend/ui/data/strings.lua:12 +msgid "Reflow" +msgstr "" + +#: frontend/ui/data/strings.lua:16 +msgid "Render Quality" +msgstr "" + +#: frontend/ui/data/strings.lua:2 +msgid "Screen Mode" +msgstr "" + +#: frontend/ui/data/strings.lua:5 +msgid "Scroll Mode" +msgstr "" + +#: reader.lua:207 +msgid "See http://github.com/koreader/kindlepdfviewer for more info." +msgstr "" + +#: frontend/ui/widget/config.lua:15 frontend/ui/widget/touchmenu.lua:26 +msgid "Select Menu Item" +msgstr "" + +#: frontend/ui/widget/config.lua:54 frontend/ui/widget/config.lua:108 +msgid "Select Option Item" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:148 +msgid "Set font size to " +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:2 +msgid "Set render style" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:193 +msgid "Share" +msgstr "" + +#: reader.lua:18 +msgid "Show Home Menu" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:241 +msgid "Switch zoom mode" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:85 +msgid "Table of Contents" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:3 +msgid "Table of contents" +msgstr "" + +#: frontend/ui/widget/button.lua:58 +msgid "Tap Button" +msgstr "" + +#: frontend/ui/data/strings.lua:9 +msgid "Text Align" +msgstr "" + +#: reader.lua:206 +msgid "This software is licensed under the GPLv3." +msgstr "" + +#: frontend/ui/widget/toggleswitch.lua:58 +msgid "Toggle switch" +msgstr "" + +#: frontend/ui/data/strings.lua:13 +msgid "Vertical Text" +msgstr "" + +#: frontend/ui/data/strings.lua:21 +msgid "View mode" +msgstr "" + +#: frontend/ui/data/strings.lua:14 +msgid "Word Gap" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:260 +msgid "Zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:248 +msgid "Zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:244 +msgid "Zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:264 +msgid "Zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:256 +msgid "Zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:252 +msgid "Zoom to fit page width" +msgstr "" + +#: frontend/ui/data/strings.lua:26 +msgid "auto" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:23 +msgid "cancel" +msgstr "" + +#: reader.lua:202 +msgid "chooser will show up and let you select a file" +msgstr "" + +#: frontend/ui/widget/config.lua:20 frontend/ui/widget/config.lua:59 +msgid "chose selected item" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:24 +msgid "chose selected option" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:43 +msgid "clear all external styles" +msgstr "" + +#: frontend/ui/widget/config.lua:425 +msgid "close config menu" +msgstr "" + +#: frontend/ui/widget/buttontable.lua:18 frontend/ui/widget/dict.lua:20 +#: frontend/ui/widget/infomessage.lua:18 +msgid "close dialog" +msgstr "" + +#: frontend/ui/readerui.lua:33 frontend/ui/readerui.lua:62 +msgid "close document" +msgstr "" + +#: frontend/ui/widget/menu.lua:349 +msgid "close menu" +msgstr "" + +#: frontend/ui/data/strings.lua:36 +msgid "darker" +msgstr "" + +#: frontend/ui/data/strings.lua:37 +msgid "darkest" +msgstr "" + +#: frontend/ui/data/strings.lua:31 +msgid "decrease" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:22 +msgid "decrease font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:30 +msgid "decrease line space" +msgstr "" + +#: frontend/ui/data/strings.lua:35 +msgid "default" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:41 +msgid "go to 11%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:43 +msgid "go to 22%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:45 +msgid "go to 33%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:47 +msgid "go to 44%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:49 +msgid "go to 55%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:51 +msgid "go to 66%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:53 +msgid "go to 77%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:55 +msgid "go to 88%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:57 +msgid "go to end" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:20 +msgid "go to next view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:25 +msgid "go to previous view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:39 +msgid "go to start" +msgstr "" + +#: frontend/ui/widget/menu.lua:351 +msgid "goto next page of the menu" +msgstr "" + +#: frontend/ui/widget/menu.lua:354 +msgid "goto previous page of the menu" +msgstr "" + +#: frontend/ui/data/strings.lua:39 +msgid "high" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:10 +msgid "highlight text" +msgstr "" + +#: frontend/ui/data/strings.lua:32 +msgid "increase" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:18 +msgid "increase font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:26 +msgid "increase line space" +msgstr "" + +#: frontend/ui/data/strings.lua:44 +msgid "landscape" +msgstr "" + +#: frontend/ui/data/strings.lua:30 +msgid "large" +msgstr "" + +#: frontend/ui/data/strings.lua:34 +msgid "lighter" +msgstr "" + +#: frontend/ui/data/strings.lua:33 +msgid "lightest" +msgstr "" + +#: frontend/ui/data/strings.lua:38 +msgid "low" +msgstr "" + +#: frontend/ui/data/strings.lua:27 +msgid "manual" +msgstr "" + +#: frontend/ui/data/strings.lua:29 +msgid "medium" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:35 +msgid "move view down" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:30 +msgid "move view up" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:20 +msgid "move visible area down" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:23 +msgid "move visible area left" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:26 +msgid "move visible area right" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:17 +msgid "move visible area up" +msgstr "" + +#: frontend/ui/widget/menu.lua:433 +msgid "no choices available" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:9 +msgid "no text" +msgstr "" + +#: frontend/ui/data/strings.lua:25 +msgid "off" +msgstr "" + +#: frontend/ui/data/strings.lua:24 +msgid "on" +msgstr "" + +#: frontend/ui/data/strings.lua:47 +msgid "page" +msgstr "" + +#: frontend/ui/widget/menu.lua:431 +msgid "page " +msgstr "" + +#: frontend/ui/data/strings.lua:43 +msgid "portrait" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:12 +msgid "rotate left by 90 degrees" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:16 +msgid "rotate right by 90 degrees" +msgstr "" + +#: frontend/ui/data/strings.lua:46 +msgid "scroll" +msgstr "" + +#: frontend/ui/widget/config.lua:429 frontend/ui/widget/menu.lua:363 +msgid "select current menu item" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:11 +msgid "show Table of Content menu" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:13 +msgid "show bookmarks" +msgstr "" + +#: frontend/ui/reader/readerconfig.lua:53 +msgid "show config dialog" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:15 +msgid "show font menu" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:34 +msgid "show menu" +msgstr "" + +#: frontend/ui/data/strings.lua:28 +msgid "small" +msgstr "" + +#: frontend/ui/data/strings.lua:45 +msgid "toggle bold" +msgstr "" + +#: reader.lua:195 +msgid "usage: ./reader.lua [OPTION] ... path" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:15 +msgid "zoom in" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:20 +msgid "zoom out" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:30 +msgid "zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:50 +msgid "zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:40 +msgid "zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:25 +msgid "zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:45 +msgid "zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:35 +msgid "zoom to fit page width" +msgstr "" diff --git a/l10n/vi/koreader.po b/l10n/vi/koreader.po new file mode 100644 index 000000000..5d2490a82 --- /dev/null +++ b/l10n/vi/koreader.po @@ -0,0 +1,660 @@ +# KOReader PATH/TO/FILE.PO +# Copyright (C) 2005-2013 KOReader Development Team +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: KOReader\n" +"Report-Msgid-Bugs-To: https://github.com/koreader/koreader-base/issues\n" +"POT-Creation-Date: 2013-06-16 04:18+0000\n" +"PO-Revision-Date: 2013-07-26 10:26+0000\n" +"Last-Translator: chrox \n" +"Language-Team: Vietnamese (http://www.transifex.com/projects/p/koreader/language/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: reader.lua:198 +msgid "-d start in debug mode" +msgstr "" + +#: reader.lua:199 +msgid "-h show this usage help" +msgstr "" + +#: frontend/ui/data/strings.lua:40 +msgid "0 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:42 +msgid "10 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:41 +msgid "5 deg" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:186 +msgid "Add Note" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:49 +msgid "Auto" +msgstr "" + +#: frontend/ui/data/strings.lua:17 +msgid "Auto Straighten" +msgstr "" + +#: frontend/ui/inputevent.lua:347 +msgid "Auto-detected Kindle 2" +msgstr "" + +#: frontend/ui/inputevent.lua:343 +msgid "Auto-detected Kindle 3" +msgstr "" + +#: frontend/ui/inputevent.lua:339 +msgid "Auto-detected Kindle 4" +msgstr "" + +#: frontend/ui/inputevent.lua:345 +msgid "Auto-detected Kindle DXG" +msgstr "" + +#: frontend/ui/inputevent.lua:295 +msgid "Auto-detected Kindle PaperWhite" +msgstr "" + +#: frontend/ui/inputevent.lua:315 +msgid "Auto-detected Kindle Touch" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:4 +msgid "Bookmarks" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:12 +msgid "Cancel" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:21 +msgid "Change Hyphenation to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:5 +msgid "Change font" +msgstr "" + +#: frontend/ui/data/strings.lua:8 +msgid "Columns" +msgstr "" + +#: frontend/ui/data/strings.lua:11 +msgid "Contrast" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:124 +msgid "Decrease font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:42 +msgid "Decrease front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:192 +msgid "Decrease gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:163 +msgid "Decrease line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:15 +msgid "Defect Size" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:97 +msgid "Delete" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:94 +msgid "Document menu" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:101 +msgid "Edit" +msgstr "" + +#: frontend/ui/data/strings.lua:22 +msgid "Embedded style" +msgstr "" + +#: reader.lua:88 +msgid "Exit" +msgstr "" + +#: reader.lua:150 +msgid "FileManager" +msgstr "" + +#: frontend/ui/data/strings.lua:10 +msgid "Fine Tuning" +msgstr "" + +#: frontend/ui/data/strings.lua:19 +msgid "Font weight" +msgstr "" + +#: frontend/ui/data/strings.lua:4 +msgid "Full Screen" +msgstr "" + +#: frontend/ui/data/strings.lua:20 +msgid "Gamma" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:61 +msgid "Help" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:182 +msgid "Highlight" +msgstr "" + +#: reader.lua:106 +msgid "Home menu" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:3 +msgid "Hyphenation" +msgstr "" + +#: reader.lua:204 +msgid "If you don't pass any path, the last viewed document will be opened" +msgstr "" + +#: reader.lua:201 +msgid "If you give the name of a directory instead of a file path, a file" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:126 +msgid "Increase font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:38 +msgid "Increase front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:189 +msgid "Increase gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:167 +msgid "Increase line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:18 +msgid "Indentation" +msgstr "" + +#: reader.lua:83 +msgid "Last documents" +msgstr "" + +#: frontend/ui/data/strings.lua:7 +msgid "Line Spacing" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:198 +msgid "More" +msgstr "" + +#: reader.lua:127 +msgid "No reader engine for this file" +msgstr "" + +#: frontend/ui/inputevent.lua:349 +msgid "Not supported device model!" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:11 +msgid "OK" +msgstr "" + +#: frontend/ui/widget/touchmenu.lua:338 +msgid "Page " +msgstr "" + +#: frontend/ui/data/strings.lua:3 +msgid "Page Crop" +msgstr "" + +#: frontend/ui/data/strings.lua:6 +msgid "Page Margin" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:64 +msgid "" +"Please report bugs to https://github.com/koreader/ koreader/issues, Click at" +" the bottom of the page for more options" +msgstr "" + +#: reader.lua:196 +msgid "Read all the books on your E-Ink reader" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:215 +msgid "Redrawing with font " +msgstr "" + +#: frontend/ui/data/koptoptions.lua:146 frontend/ui/data/strings.lua:12 +msgid "Reflow" +msgstr "" + +#: frontend/ui/data/strings.lua:16 +msgid "Render Quality" +msgstr "" + +#: frontend/ui/data/strings.lua:2 +msgid "Screen Mode" +msgstr "" + +#: frontend/ui/data/strings.lua:5 +msgid "Scroll Mode" +msgstr "" + +#: reader.lua:207 +msgid "See http://github.com/koreader/kindlepdfviewer for more info." +msgstr "" + +#: frontend/ui/widget/config.lua:15 frontend/ui/widget/touchmenu.lua:26 +msgid "Select Menu Item" +msgstr "" + +#: frontend/ui/widget/config.lua:54 frontend/ui/widget/config.lua:108 +msgid "Select Option Item" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:148 +msgid "Set font size to " +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:2 +msgid "Set render style" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:193 +msgid "Share" +msgstr "" + +#: reader.lua:18 +msgid "Show Home Menu" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:241 +msgid "Switch zoom mode" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:85 +msgid "Table of Contents" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:3 +msgid "Table of contents" +msgstr "" + +#: frontend/ui/widget/button.lua:58 +msgid "Tap Button" +msgstr "" + +#: frontend/ui/data/strings.lua:9 +msgid "Text Align" +msgstr "" + +#: reader.lua:206 +msgid "This software is licensed under the GPLv3." +msgstr "" + +#: frontend/ui/widget/toggleswitch.lua:58 +msgid "Toggle switch" +msgstr "" + +#: frontend/ui/data/strings.lua:13 +msgid "Vertical Text" +msgstr "" + +#: frontend/ui/data/strings.lua:21 +msgid "View mode" +msgstr "" + +#: frontend/ui/data/strings.lua:14 +msgid "Word Gap" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:260 +msgid "Zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:248 +msgid "Zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:244 +msgid "Zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:264 +msgid "Zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:256 +msgid "Zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:252 +msgid "Zoom to fit page width" +msgstr "" + +#: frontend/ui/data/strings.lua:26 +msgid "auto" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:23 +msgid "cancel" +msgstr "" + +#: reader.lua:202 +msgid "chooser will show up and let you select a file" +msgstr "" + +#: frontend/ui/widget/config.lua:20 frontend/ui/widget/config.lua:59 +msgid "chose selected item" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:24 +msgid "chose selected option" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:43 +msgid "clear all external styles" +msgstr "" + +#: frontend/ui/widget/config.lua:425 +msgid "close config menu" +msgstr "" + +#: frontend/ui/widget/buttontable.lua:18 frontend/ui/widget/dict.lua:20 +#: frontend/ui/widget/infomessage.lua:18 +msgid "close dialog" +msgstr "" + +#: frontend/ui/readerui.lua:33 frontend/ui/readerui.lua:62 +msgid "close document" +msgstr "" + +#: frontend/ui/widget/menu.lua:349 +msgid "close menu" +msgstr "" + +#: frontend/ui/data/strings.lua:36 +msgid "darker" +msgstr "" + +#: frontend/ui/data/strings.lua:37 +msgid "darkest" +msgstr "" + +#: frontend/ui/data/strings.lua:31 +msgid "decrease" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:22 +msgid "decrease font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:30 +msgid "decrease line space" +msgstr "" + +#: frontend/ui/data/strings.lua:35 +msgid "default" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:41 +msgid "go to 11%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:43 +msgid "go to 22%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:45 +msgid "go to 33%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:47 +msgid "go to 44%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:49 +msgid "go to 55%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:51 +msgid "go to 66%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:53 +msgid "go to 77%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:55 +msgid "go to 88%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:57 +msgid "go to end" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:20 +msgid "go to next view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:25 +msgid "go to previous view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:39 +msgid "go to start" +msgstr "" + +#: frontend/ui/widget/menu.lua:351 +msgid "goto next page of the menu" +msgstr "" + +#: frontend/ui/widget/menu.lua:354 +msgid "goto previous page of the menu" +msgstr "" + +#: frontend/ui/data/strings.lua:39 +msgid "high" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:10 +msgid "highlight text" +msgstr "" + +#: frontend/ui/data/strings.lua:32 +msgid "increase" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:18 +msgid "increase font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:26 +msgid "increase line space" +msgstr "" + +#: frontend/ui/data/strings.lua:44 +msgid "landscape" +msgstr "" + +#: frontend/ui/data/strings.lua:30 +msgid "large" +msgstr "" + +#: frontend/ui/data/strings.lua:34 +msgid "lighter" +msgstr "" + +#: frontend/ui/data/strings.lua:33 +msgid "lightest" +msgstr "" + +#: frontend/ui/data/strings.lua:38 +msgid "low" +msgstr "" + +#: frontend/ui/data/strings.lua:27 +msgid "manual" +msgstr "" + +#: frontend/ui/data/strings.lua:29 +msgid "medium" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:35 +msgid "move view down" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:30 +msgid "move view up" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:20 +msgid "move visible area down" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:23 +msgid "move visible area left" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:26 +msgid "move visible area right" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:17 +msgid "move visible area up" +msgstr "" + +#: frontend/ui/widget/menu.lua:433 +msgid "no choices available" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:9 +msgid "no text" +msgstr "" + +#: frontend/ui/data/strings.lua:25 +msgid "off" +msgstr "" + +#: frontend/ui/data/strings.lua:24 +msgid "on" +msgstr "" + +#: frontend/ui/data/strings.lua:47 +msgid "page" +msgstr "" + +#: frontend/ui/widget/menu.lua:431 +msgid "page " +msgstr "" + +#: frontend/ui/data/strings.lua:43 +msgid "portrait" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:12 +msgid "rotate left by 90 degrees" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:16 +msgid "rotate right by 90 degrees" +msgstr "" + +#: frontend/ui/data/strings.lua:46 +msgid "scroll" +msgstr "" + +#: frontend/ui/widget/config.lua:429 frontend/ui/widget/menu.lua:363 +msgid "select current menu item" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:11 +msgid "show Table of Content menu" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:13 +msgid "show bookmarks" +msgstr "" + +#: frontend/ui/reader/readerconfig.lua:53 +msgid "show config dialog" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:15 +msgid "show font menu" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:34 +msgid "show menu" +msgstr "" + +#: frontend/ui/data/strings.lua:28 +msgid "small" +msgstr "" + +#: frontend/ui/data/strings.lua:45 +msgid "toggle bold" +msgstr "" + +#: reader.lua:195 +msgid "usage: ./reader.lua [OPTION] ... path" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:15 +msgid "zoom in" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:20 +msgid "zoom out" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:30 +msgid "zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:50 +msgid "zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:40 +msgid "zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:25 +msgid "zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:45 +msgid "zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:35 +msgid "zoom to fit page width" +msgstr "" diff --git a/l10n/vi_VN/koreader.po b/l10n/vi_VN/koreader.po new file mode 100644 index 000000000..43b6e1800 --- /dev/null +++ b/l10n/vi_VN/koreader.po @@ -0,0 +1,660 @@ +# KOReader PATH/TO/FILE.PO +# Copyright (C) 2005-2013 KOReader Development Team +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: KOReader\n" +"Report-Msgid-Bugs-To: https://github.com/koreader/koreader-base/issues\n" +"POT-Creation-Date: 2013-06-16 04:18+0000\n" +"PO-Revision-Date: 2013-07-26 10:26+0000\n" +"Last-Translator: chrox \n" +"Language-Team: Vietnamese (Viet Nam) (http://www.transifex.com/projects/p/koreader/language/vi_VN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: vi_VN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: reader.lua:198 +msgid "-d start in debug mode" +msgstr "" + +#: reader.lua:199 +msgid "-h show this usage help" +msgstr "" + +#: frontend/ui/data/strings.lua:40 +msgid "0 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:42 +msgid "10 deg" +msgstr "" + +#: frontend/ui/data/strings.lua:41 +msgid "5 deg" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:186 +msgid "Add Note" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:49 +msgid "Auto" +msgstr "" + +#: frontend/ui/data/strings.lua:17 +msgid "Auto Straighten" +msgstr "" + +#: frontend/ui/inputevent.lua:347 +msgid "Auto-detected Kindle 2" +msgstr "" + +#: frontend/ui/inputevent.lua:343 +msgid "Auto-detected Kindle 3" +msgstr "" + +#: frontend/ui/inputevent.lua:339 +msgid "Auto-detected Kindle 4" +msgstr "" + +#: frontend/ui/inputevent.lua:345 +msgid "Auto-detected Kindle DXG" +msgstr "" + +#: frontend/ui/inputevent.lua:295 +msgid "Auto-detected Kindle PaperWhite" +msgstr "" + +#: frontend/ui/inputevent.lua:315 +msgid "Auto-detected Kindle Touch" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:4 +msgid "Bookmarks" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:12 +msgid "Cancel" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:21 +msgid "Change Hyphenation to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:5 +msgid "Change font" +msgstr "" + +#: frontend/ui/data/strings.lua:8 +msgid "Columns" +msgstr "" + +#: frontend/ui/data/strings.lua:11 +msgid "Contrast" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:124 +msgid "Decrease font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:42 +msgid "Decrease front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:192 +msgid "Decrease gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:163 +msgid "Decrease line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:15 +msgid "Defect Size" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:97 +msgid "Delete" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:94 +msgid "Document menu" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:101 +msgid "Edit" +msgstr "" + +#: frontend/ui/data/strings.lua:22 +msgid "Embedded style" +msgstr "" + +#: reader.lua:88 +msgid "Exit" +msgstr "" + +#: reader.lua:150 +msgid "FileManager" +msgstr "" + +#: frontend/ui/data/strings.lua:10 +msgid "Fine Tuning" +msgstr "" + +#: frontend/ui/data/strings.lua:19 +msgid "Font weight" +msgstr "" + +#: frontend/ui/data/strings.lua:4 +msgid "Full Screen" +msgstr "" + +#: frontend/ui/data/strings.lua:20 +msgid "Gamma" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:61 +msgid "Help" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:182 +msgid "Highlight" +msgstr "" + +#: reader.lua:106 +msgid "Home menu" +msgstr "" + +#: frontend/ui/reader/readerhyphenation.lua:3 +msgid "Hyphenation" +msgstr "" + +#: reader.lua:204 +msgid "If you don't pass any path, the last viewed document will be opened" +msgstr "" + +#: reader.lua:201 +msgid "If you give the name of a directory instead of a file path, a file" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:126 +msgid "Increase font size to " +msgstr "" + +#: frontend/ui/reader/readerfrontlight.lua:38 +msgid "Increase front light intensity to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:189 +msgid "Increase gamma to " +msgstr "" + +#: frontend/ui/reader/readerfont.lua:167 +msgid "Increase line space to " +msgstr "" + +#: frontend/ui/data/strings.lua:18 +msgid "Indentation" +msgstr "" + +#: reader.lua:83 +msgid "Last documents" +msgstr "" + +#: frontend/ui/data/strings.lua:7 +msgid "Line Spacing" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:198 +msgid "More" +msgstr "" + +#: reader.lua:127 +msgid "No reader engine for this file" +msgstr "" + +#: frontend/ui/inputevent.lua:349 +msgid "Not supported device model!" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:11 +msgid "OK" +msgstr "" + +#: frontend/ui/widget/touchmenu.lua:338 +msgid "Page " +msgstr "" + +#: frontend/ui/data/strings.lua:3 +msgid "Page Crop" +msgstr "" + +#: frontend/ui/data/strings.lua:6 +msgid "Page Margin" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:64 +msgid "" +"Please report bugs to https://github.com/koreader/ koreader/issues, Click at" +" the bottom of the page for more options" +msgstr "" + +#: reader.lua:196 +msgid "Read all the books on your E-Ink reader" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:215 +msgid "Redrawing with font " +msgstr "" + +#: frontend/ui/data/koptoptions.lua:146 frontend/ui/data/strings.lua:12 +msgid "Reflow" +msgstr "" + +#: frontend/ui/data/strings.lua:16 +msgid "Render Quality" +msgstr "" + +#: frontend/ui/data/strings.lua:2 +msgid "Screen Mode" +msgstr "" + +#: frontend/ui/data/strings.lua:5 +msgid "Scroll Mode" +msgstr "" + +#: reader.lua:207 +msgid "See http://github.com/koreader/kindlepdfviewer for more info." +msgstr "" + +#: frontend/ui/widget/config.lua:15 frontend/ui/widget/touchmenu.lua:26 +msgid "Select Menu Item" +msgstr "" + +#: frontend/ui/widget/config.lua:54 frontend/ui/widget/config.lua:108 +msgid "Select Option Item" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:148 +msgid "Set font size to " +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:2 +msgid "Set render style" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:193 +msgid "Share" +msgstr "" + +#: reader.lua:18 +msgid "Show Home Menu" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:241 +msgid "Switch zoom mode" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:85 +msgid "Table of Contents" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:3 +msgid "Table of contents" +msgstr "" + +#: frontend/ui/widget/button.lua:58 +msgid "Tap Button" +msgstr "" + +#: frontend/ui/data/strings.lua:9 +msgid "Text Align" +msgstr "" + +#: reader.lua:206 +msgid "This software is licensed under the GPLv3." +msgstr "" + +#: frontend/ui/widget/toggleswitch.lua:58 +msgid "Toggle switch" +msgstr "" + +#: frontend/ui/data/strings.lua:13 +msgid "Vertical Text" +msgstr "" + +#: frontend/ui/data/strings.lua:21 +msgid "View mode" +msgstr "" + +#: frontend/ui/data/strings.lua:14 +msgid "Word Gap" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:260 +msgid "Zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:248 +msgid "Zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:244 +msgid "Zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:264 +msgid "Zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:256 +msgid "Zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:252 +msgid "Zoom to fit page width" +msgstr "" + +#: frontend/ui/data/strings.lua:26 +msgid "auto" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:23 +msgid "cancel" +msgstr "" + +#: reader.lua:202 +msgid "chooser will show up and let you select a file" +msgstr "" + +#: frontend/ui/widget/config.lua:20 frontend/ui/widget/config.lua:59 +msgid "chose selected item" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:24 +msgid "chose selected option" +msgstr "" + +#: frontend/ui/reader/readertypeset.lua:43 +msgid "clear all external styles" +msgstr "" + +#: frontend/ui/widget/config.lua:425 +msgid "close config menu" +msgstr "" + +#: frontend/ui/widget/buttontable.lua:18 frontend/ui/widget/dict.lua:20 +#: frontend/ui/widget/infomessage.lua:18 +msgid "close dialog" +msgstr "" + +#: frontend/ui/readerui.lua:33 frontend/ui/readerui.lua:62 +msgid "close document" +msgstr "" + +#: frontend/ui/widget/menu.lua:349 +msgid "close menu" +msgstr "" + +#: frontend/ui/data/strings.lua:36 +msgid "darker" +msgstr "" + +#: frontend/ui/data/strings.lua:37 +msgid "darkest" +msgstr "" + +#: frontend/ui/data/strings.lua:31 +msgid "decrease" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:22 +msgid "decrease font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:30 +msgid "decrease line space" +msgstr "" + +#: frontend/ui/data/strings.lua:35 +msgid "default" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:41 +msgid "go to 11%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:43 +msgid "go to 22%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:45 +msgid "go to 33%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:47 +msgid "go to 44%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:49 +msgid "go to 55%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:51 +msgid "go to 66%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:53 +msgid "go to 77%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:55 +msgid "go to 88%" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:57 +msgid "go to end" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:20 +msgid "go to next view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:25 +msgid "go to previous view" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:39 +msgid "go to start" +msgstr "" + +#: frontend/ui/widget/menu.lua:351 +msgid "goto next page of the menu" +msgstr "" + +#: frontend/ui/widget/menu.lua:354 +msgid "goto previous page of the menu" +msgstr "" + +#: frontend/ui/data/strings.lua:39 +msgid "high" +msgstr "" + +#: frontend/ui/reader/readerhighlight.lua:10 +msgid "highlight text" +msgstr "" + +#: frontend/ui/data/strings.lua:32 +msgid "increase" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:18 +msgid "increase font size" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:26 +msgid "increase line space" +msgstr "" + +#: frontend/ui/data/strings.lua:44 +msgid "landscape" +msgstr "" + +#: frontend/ui/data/strings.lua:30 +msgid "large" +msgstr "" + +#: frontend/ui/data/strings.lua:34 +msgid "lighter" +msgstr "" + +#: frontend/ui/data/strings.lua:33 +msgid "lightest" +msgstr "" + +#: frontend/ui/data/strings.lua:38 +msgid "low" +msgstr "" + +#: frontend/ui/data/strings.lua:27 +msgid "manual" +msgstr "" + +#: frontend/ui/data/strings.lua:29 +msgid "medium" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:35 +msgid "move view down" +msgstr "" + +#: frontend/ui/reader/readerrolling.lua:30 +msgid "move view up" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:20 +msgid "move visible area down" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:23 +msgid "move visible area left" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:26 +msgid "move visible area right" +msgstr "" + +#: frontend/ui/reader/readerpanning.lua:17 +msgid "move visible area up" +msgstr "" + +#: frontend/ui/widget/menu.lua:433 +msgid "no choices available" +msgstr "" + +#: frontend/ui/widget/confirmbox.lua:9 +msgid "no text" +msgstr "" + +#: frontend/ui/data/strings.lua:25 +msgid "off" +msgstr "" + +#: frontend/ui/data/strings.lua:24 +msgid "on" +msgstr "" + +#: frontend/ui/data/strings.lua:47 +msgid "page" +msgstr "" + +#: frontend/ui/widget/menu.lua:431 +msgid "page " +msgstr "" + +#: frontend/ui/data/strings.lua:43 +msgid "portrait" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:12 +msgid "rotate left by 90 degrees" +msgstr "" + +#: frontend/ui/reader/readerrotation.lua:16 +msgid "rotate right by 90 degrees" +msgstr "" + +#: frontend/ui/data/strings.lua:46 +msgid "scroll" +msgstr "" + +#: frontend/ui/widget/config.lua:429 frontend/ui/widget/menu.lua:363 +msgid "select current menu item" +msgstr "" + +#: frontend/ui/reader/readertoc.lua:11 +msgid "show Table of Content menu" +msgstr "" + +#: frontend/ui/reader/readerbookmark.lua:13 +msgid "show bookmarks" +msgstr "" + +#: frontend/ui/reader/readerconfig.lua:53 +msgid "show config dialog" +msgstr "" + +#: frontend/ui/reader/readerfont.lua:15 +msgid "show font menu" +msgstr "" + +#: frontend/ui/reader/readermenu.lua:34 +msgid "show menu" +msgstr "" + +#: frontend/ui/data/strings.lua:28 +msgid "small" +msgstr "" + +#: frontend/ui/data/strings.lua:45 +msgid "toggle bold" +msgstr "" + +#: reader.lua:195 +msgid "usage: ./reader.lua [OPTION] ... path" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:15 +msgid "zoom in" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:20 +msgid "zoom out" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:30 +msgid "zoom to fit content" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:50 +msgid "zoom to fit content height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:40 +msgid "zoom to fit content width" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:25 +msgid "zoom to fit page" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:45 +msgid "zoom to fit page height" +msgstr "" + +#: frontend/ui/reader/readerzooming.lua:35 +msgid "zoom to fit page width" +msgstr ""