Merge pull request #523 from chrox/master

hinting one page by default
pull/524/head
Qingping Hou 10 years ago
commit ff98fdbf50

@ -81,7 +81,7 @@ customupdate: all
zip -9 -r \ zip -9 -r \
../koreader-kindle-$(MACHINE)-$(VERSION).zip \ ../koreader-kindle-$(MACHINE)-$(VERSION).zip \
extensions koreader launchpad \ extensions koreader launchpad \
-x "koreader/resources/fonts/*" -x "koreader/resources/fonts/*" "koreader/resources/icons/src/*" "koreader/spec/*"
# @TODO write an installation script for KUAL (houqp) # @TODO write an installation script for KUAL (houqp)
koboupdate: all koboupdate: all
@ -94,7 +94,7 @@ koboupdate: all
zip -9 -r \ zip -9 -r \
../koreader-kobo-$(MACHINE)-$(VERSION).zip \ ../koreader-kobo-$(MACHINE)-$(VERSION).zip \
KoboRoot.tgz koreader koreader.png README_kobo.txt \ KoboRoot.tgz koreader koreader.png README_kobo.txt \
-x "koreader/resources/fonts/*" -x "koreader/resources/fonts/*" "koreader/resources/icons/src/*" "koreader/spec/*"
pot: pot:
$(XGETTEXT_BIN) reader.lua `find frontend -iname "*.lua"` \ $(XGETTEXT_BIN) reader.lua `find frontend -iname "*.lua"` \

@ -3,8 +3,8 @@
DRCOUNTMAX = 6 DRCOUNTMAX = 6
-- number of pages for hinting -- number of pages for hinting
-- default to pre-rendering 2 pages -- default to pre-rendering 1 page
DHINTCOUNT = 2 DHINTCOUNT = 1
-- full screen mode, 1 for true, 0 for false -- full screen mode, 1 for true, 0 for false
DFULL_SCREEN = 1 DFULL_SCREEN = 1

@ -1 +1 @@
Subproject commit 995d9d5bceb9c6ce7d9e4da3fc14d93dbfef06d8 Subproject commit 93d18fecddfb37353c8c4f8d233d162bdea07b02

@ -6,54 +6,54 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/koreader/koreader-base/issues\n" "Report-Msgid-Bugs-To: https://github.com/koreader/koreader-base/issues\n"
"POT-Creation-Date: 2014-01-18 17:24+0000\n" "POT-Creation-Date: 2014-03-09 12:11+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: reader.lua:107 #: reader.lua:118
msgid "" msgid ""
"-d start in debug mode" "-d start in debug mode"
msgstr "" msgstr ""
#: reader.lua:109 #: reader.lua:120
msgid "" msgid ""
"-h show this usage help" "-h show this usage help"
msgstr "" msgstr ""
#: reader.lua:108 #: reader.lua:119
msgid "" msgid ""
"-p [rows] enable Lua code profiling" "-p [rows] enable Lua code profiling"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:46 #: frontend/ui/data/strings.lua:47
msgid "" msgid ""
"0 deg" "0 deg"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:48 #: frontend/ui/data/strings.lua:49
msgid "" msgid ""
"10 deg" "10 deg"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:47 #: frontend/ui/data/strings.lua:48
msgid "" msgid ""
"5 deg" "5 deg"
msgstr "" msgstr ""
#: frontend/ui/widget/dictquicklookup.lua:122 #: frontend/ui/widget/dictquicklookup.lua:124
msgid "" msgid ""
"<<" "<<"
msgstr "" msgstr ""
#: frontend/ui/widget/dictquicklookup.lua:129 #: frontend/ui/widget/dictquicklookup.lua:131
msgid "" msgid ""
">>" ">>"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:336 #: frontend/ui/reader/readerhighlight.lua:294
#: frontend/ui/widget/dictquicklookup.lua:145 #: frontend/ui/widget/dictquicklookup.lua:147
msgid "" msgid ""
"Add Note" "Add Note"
msgstr "" msgstr ""
@ -63,7 +63,7 @@ msgid ""
"Apply" "Apply"
msgstr "" msgstr ""
#: frontend/ui/reader/readertypeset.lua:58 #: frontend/ui/reader/readertypeset.lua:54
msgid "" msgid ""
"Auto" "Auto"
msgstr "" msgstr ""
@ -120,7 +120,7 @@ msgid ""
"Cancel" "Cancel"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhyphenation.lua:25 #: frontend/ui/reader/readerhyphenation.lua:32
msgid "" msgid ""
"Change Hyphenation to " "Change Hyphenation to "
msgstr "" msgstr ""
@ -140,12 +140,12 @@ msgid ""
"Contrast" "Contrast"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:133 #: frontend/apps/filemanager/filemanager.lua:84
msgid "" msgid ""
"Copy" "Copy"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:151 #: frontend/apps/filemanager/filemanager.lua:102
msgid "" msgid ""
"Cut" "Cut"
msgstr "" msgstr ""
@ -170,8 +170,9 @@ msgid ""
"Defect Size" "Defect Size"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:158 #: frontend/apps/filemanager/filemanager.lua:109
#: frontend/ui/reader/readerhighlight.lua:231 #: frontend/apps/filemanager/filemanagerhistory.lua:30
#: frontend/ui/reader/readerhighlight.lua:186
msgid "" msgid ""
"Delete" "Delete"
msgstr "" msgstr ""
@ -191,17 +192,17 @@ msgid ""
"Document menu" "Document menu"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:238 #: frontend/ui/reader/readerhighlight.lua:193
msgid "" msgid ""
"Edit" "Edit"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:26 #: frontend/ui/data/strings.lua:26
msgid "" msgid ""
"Embedded style" "Embedded Style"
msgstr "" msgstr ""
#: reader.lua:55 #: reader.lua:66
msgid "" msgid ""
"File does not exist" "File does not exist"
msgstr "" msgstr ""
@ -211,7 +212,7 @@ msgid ""
"File manager menu" "File manager menu"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:69 #: frontend/apps/filemanager/filemanager.lua:20
msgid "" msgid ""
"FileManager" "FileManager"
msgstr "" msgstr ""
@ -228,7 +229,7 @@ msgstr ""
#: frontend/ui/data/strings.lua:23 #: frontend/ui/data/strings.lua:23
msgid "" msgid ""
"Font weight" "Font Weight"
msgstr "" msgstr ""
#: frontend/ui/reader/readerfrontlight.lua:70 #: frontend/ui/reader/readerfrontlight.lua:70
@ -267,14 +268,13 @@ msgid ""
"Help" "Help"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:328 #: frontend/ui/reader/readerhighlight.lua:286
#: frontend/ui/widget/dictquicklookup.lua:138 #: frontend/ui/widget/dictquicklookup.lua:140
msgid "" msgid ""
"Highlight" "Highlight"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanagerhistory.lua:11 #: frontend/apps/filemanager/filemanagerhistory.lua:14
#: frontend/apps/filemanager/filemanagerhistory.lua:30
msgid "" msgid ""
"History" "History"
msgstr "" msgstr ""
@ -284,12 +284,12 @@ msgid ""
"Hyphenation" "Hyphenation"
msgstr "" msgstr ""
#: reader.lua:114 #: reader.lua:125
msgid "" msgid ""
"If you don't pass any path, the last viewed document will be opened" "If you don't pass any path, the last viewed document will be opened"
msgstr "" msgstr ""
#: reader.lua:111 #: reader.lua:122
msgid "" msgid ""
"If you give the name of a directory instead of a file path, a file" "If you give the name of a directory instead of a file path, a file"
msgstr "" msgstr ""
@ -314,12 +314,12 @@ msgid ""
"Indentation" "Indentation"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:145 #: frontend/ui/reader/readerhighlight.lua:96
msgid "" msgid ""
"Invert" "Invert"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:54 #: frontend/ui/data/strings.lua:55
msgid "" msgid ""
"LTR" "LTR"
msgstr "" msgstr ""
@ -329,7 +329,7 @@ msgid ""
"Language" "Language"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:133 #: frontend/ui/reader/readerhighlight.lua:84
msgid "" msgid ""
"Lighten" "Lighten"
msgstr "" msgstr ""
@ -344,12 +344,12 @@ msgid ""
"Location" "Location"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:366 #: frontend/ui/reader/readerhighlight.lua:324
msgid "" msgid ""
"More" "More"
msgstr "" msgstr ""
#: reader.lua:70 #: reader.lua:81
msgid "" msgid ""
"No reader engine for this file" "No reader engine for this file"
msgstr "" msgstr ""
@ -385,7 +385,7 @@ msgid ""
"Page Margin" "Page Margin"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:140 #: frontend/apps/filemanager/filemanager.lua:91
msgid "" msgid ""
"Paste" "Paste"
msgstr "" msgstr ""
@ -401,12 +401,17 @@ msgid ""
"Please restart reader for new language setting to take effect." "Please restart reader for new language setting to take effect."
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:55 #: frontend/ui/data/strings.lua:28
msgid ""
"Progress Bar"
msgstr ""
#: frontend/ui/data/strings.lua:56
msgid "" msgid ""
"RTL" "RTL"
msgstr "" msgstr ""
#: reader.lua:105 #: reader.lua:116
msgid "" msgid ""
"Read all the books on your E-Ink reader" "Read all the books on your E-Ink reader"
msgstr "" msgstr ""
@ -447,7 +452,7 @@ msgid ""
"Scroll Mode" "Scroll Mode"
msgstr "" msgstr ""
#: reader.lua:117 #: reader.lua:128
msgid "" msgid ""
"See http://github.com/koreader/kindlepdfviewer for more info." "See http://github.com/koreader/kindlepdfviewer for more info."
msgstr "" msgstr ""
@ -469,17 +474,17 @@ msgid ""
"Set font size to " "Set font size to "
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:124 #: frontend/ui/reader/readerhighlight.lua:75
msgid "" msgid ""
"Set highlight drawer " "Set highlight drawer "
msgstr "" msgstr ""
#: frontend/ui/reader/readertypeset.lua:8 #: frontend/ui/reader/readertypeset.lua:9
msgid "" msgid ""
"Set render style" "Set render style"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:355 #: frontend/ui/reader/readerhighlight.lua:313
msgid "" msgid ""
"Share" "Share"
msgstr "" msgstr ""
@ -494,27 +499,27 @@ msgid ""
"Switch zoom mode" "Switch zoom mode"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:57 #: frontend/ui/data/strings.lua:58
msgid "" msgid ""
"TBLTR" "TBLTR"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:56 #: frontend/ui/data/strings.lua:57
msgid "" msgid ""
"TBRTL" "TBRTL"
msgstr "" msgstr ""
#: frontend/ui/reader/readertoc.lua:95 #: frontend/ui/reader/readertoc.lua:112
msgid "" msgid ""
"Table of Contents" "Table of Contents"
msgstr "" msgstr ""
#: frontend/ui/reader/readertoc.lua:12 #: frontend/ui/reader/readertoc.lua:14
msgid "" msgid ""
"Table of contents" "Table of contents"
msgstr "" msgstr ""
#: frontend/ui/widget/button.lua:77 #: frontend/ui/widget/button.lua:78
msgid "" msgid ""
"Tap Button" "Tap Button"
msgstr "" msgstr ""
@ -524,7 +529,7 @@ msgid ""
"Text Align" "Text Align"
msgstr "" msgstr ""
#: reader.lua:116 #: reader.lua:127
msgid "" msgid ""
"This software is licensed under the GPLv3." "This software is licensed under the GPLv3."
msgstr "" msgstr ""
@ -539,37 +544,27 @@ msgid ""
"Toggle hidden files" "Toggle hidden files"
msgstr "" msgstr ""
#: frontend/ui/widget/toggleswitch.lua:74 #: frontend/ui/widget/toggleswitch.lua:75
msgid "" msgid ""
"Toggle switch" "Toggle switch"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:347 #: frontend/ui/reader/readerhighlight.lua:305
msgid "" msgid ""
"Translate" "Translate"
msgstr "" msgstr ""
#: frontend/ui/reader/readertypeset.lua:127 #: frontend/ui/reader/readerpaging.lua:143
msgid ""
"Turn off floating punctuation"
msgstr ""
#: frontend/ui/reader/readerpaging.lua:153
msgid "" msgid ""
"Turn off page overlap" "Turn off page overlap"
msgstr "" msgstr ""
#: frontend/ui/reader/readertypeset.lua:128 #: frontend/ui/reader/readerpaging.lua:144
msgid ""
"Turn on floating punctuation"
msgstr ""
#: frontend/ui/reader/readerpaging.lua:154
msgid "" msgid ""
"Turn on page overlap" "Turn on page overlap"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:139 #: frontend/ui/reader/readerhighlight.lua:90
msgid "" msgid ""
"Underscore" "Underscore"
msgstr "" msgstr ""
@ -587,7 +582,7 @@ msgstr ""
#: frontend/ui/data/strings.lua:25 #: frontend/ui/data/strings.lua:25
msgid "" msgid ""
"View mode" "View Mode"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:18 #: frontend/ui/data/strings.lua:18
@ -600,7 +595,7 @@ msgid ""
"Writing Direction" "Writing Direction"
msgstr "" msgstr ""
#: frontend/ui/reader/readerscreenshot.lua:31 #: frontend/ui/reader/readerscreenshot.lua:34
msgid "" msgid ""
"Writing screen to " "Writing screen to "
msgstr "" msgstr ""
@ -635,7 +630,7 @@ msgid ""
"Zoom to fit page width" "Zoom to fit page width"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:31 #: frontend/ui/data/strings.lua:32
msgid "" msgid ""
"auto" "auto"
msgstr "" msgstr ""
@ -645,7 +640,7 @@ msgid ""
"cancel" "cancel"
msgstr "" msgstr ""
#: reader.lua:112 #: reader.lua:123
msgid "" msgid ""
"chooser will show up and let you select a file" "chooser will show up and let you select a file"
msgstr "" msgstr ""
@ -661,7 +656,7 @@ msgid ""
"chose selected option" "chose selected option"
msgstr "" msgstr ""
#: frontend/ui/reader/readertypeset.lua:52 #: frontend/ui/reader/readertypeset.lua:48
msgid "" msgid ""
"clear all external styles" "clear all external styles"
msgstr "" msgstr ""
@ -671,8 +666,7 @@ msgid ""
"close config menu" "close config menu"
msgstr "" msgstr ""
#: frontend/apps/filemanager/filemanager.lua:31 #: frontend/ui/widget/buttondialog.lua:22
#: frontend/ui/reader/readerhighlight.lua:24
#: frontend/ui/widget/infomessage.lua:32 #: frontend/ui/widget/infomessage.lua:32
msgid "" msgid ""
"close dialog" "close dialog"
@ -689,17 +683,17 @@ msgid ""
"close menu" "close menu"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:42 #: frontend/ui/data/strings.lua:43
msgid "" msgid ""
"darker" "darker"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:43 #: frontend/ui/data/strings.lua:44
msgid "" msgid ""
"darkest" "darkest"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:37 #: frontend/ui/data/strings.lua:38
msgid "" msgid ""
"decrease" "decrease"
msgstr "" msgstr ""
@ -714,11 +708,16 @@ msgid ""
"decrease line space" "decrease line space"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:41 #: frontend/ui/data/strings.lua:42
msgid "" msgid ""
"default" "default"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:59
msgid ""
"full"
msgstr ""
#: frontend/ui/reader/readerrolling.lua:51 #: frontend/ui/reader/readerrolling.lua:51
msgid "" msgid ""
"go to 11%" "go to 11%"
@ -789,17 +788,17 @@ msgid ""
"goto previous page of the menu" "goto previous page of the menu"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:45 #: frontend/ui/data/strings.lua:46
msgid "" msgid ""
"high" "high"
msgstr "" msgstr ""
#: frontend/ui/reader/readerhighlight.lua:68 #: frontend/ui/reader/readerhighlight.lua:19
msgid "" msgid ""
"highlight text" "highlight text"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:38 #: frontend/ui/data/strings.lua:39
msgid "" msgid ""
"increase" "increase"
msgstr "" msgstr ""
@ -814,41 +813,46 @@ msgid ""
"increase line space" "increase line space"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:50 #: frontend/ui/data/strings.lua:51
msgid "" msgid ""
"landscape" "landscape"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:36 #: frontend/ui/data/strings.lua:37
msgid "" msgid ""
"large" "large"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:40 #: frontend/ui/data/strings.lua:41
msgid "" msgid ""
"lighter" "lighter"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:39 #: frontend/ui/data/strings.lua:40
msgid "" msgid ""
"lightest" "lightest"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:44 #: frontend/ui/data/strings.lua:45
msgid "" msgid ""
"low" "low"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:32 #: frontend/ui/data/strings.lua:33
msgid "" msgid ""
"manual" "manual"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:35 #: frontend/ui/data/strings.lua:36
msgid "" msgid ""
"medium" "medium"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:60
msgid ""
"mini"
msgstr ""
#: frontend/ui/reader/readerrolling.lua:45 #: frontend/ui/reader/readerrolling.lua:45
msgid "" msgid ""
"move view down" "move view down"
@ -889,22 +893,22 @@ msgid ""
"no text" "no text"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:30 #: frontend/ui/data/strings.lua:31
msgid "" msgid ""
"off" "off"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:29 #: frontend/ui/data/strings.lua:30
msgid "" msgid ""
"on" "on"
msgstr "" msgstr ""
#: reader.lua:60 #: reader.lua:71
msgid "" msgid ""
"opening file" "opening file"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:53 #: frontend/ui/data/strings.lua:54
msgid "" msgid ""
"page" "page"
msgstr "" msgstr ""
@ -914,7 +918,7 @@ msgid ""
"page " "page "
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:49 #: frontend/ui/data/strings.lua:50
msgid "" msgid ""
"portrait" "portrait"
msgstr "" msgstr ""
@ -929,7 +933,7 @@ msgid ""
"rotate right by 90 degrees" "rotate right by 90 degrees"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:52 #: frontend/ui/data/strings.lua:53
msgid "" msgid ""
"scroll" "scroll"
msgstr "" msgstr ""
@ -940,12 +944,12 @@ msgid ""
"select current menu item" "select current menu item"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:33 #: frontend/ui/data/strings.lua:34
msgid "" msgid ""
"semi-auto" "semi-auto"
msgstr "" msgstr ""
#: frontend/ui/reader/readertoc.lua:20 #: frontend/ui/reader/readertoc.lua:22
msgid "" msgid ""
"show Table of Content menu" "show Table of Content menu"
msgstr "" msgstr ""
@ -971,17 +975,17 @@ msgid ""
"show menu" "show menu"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:34 #: frontend/ui/data/strings.lua:35
msgid "" msgid ""
"small" "small"
msgstr "" msgstr ""
#: frontend/ui/data/strings.lua:51 #: frontend/ui/data/strings.lua:52
msgid "" msgid ""
"toggle bold" "toggle bold"
msgstr "" msgstr ""
#: reader.lua:104 #: reader.lua:115
msgid "" msgid ""
"usage: ./reader.lua [OPTION] ... path" "usage: ./reader.lua [OPTION] ... path"
msgstr "" msgstr ""

Loading…
Cancel
Save