summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-16 21:30:48 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-16 21:30:48 +0200
commitb2235e724443f86716694f4e45df9f1261873069 (patch)
treede8dd4213007ef0e6eb7e4e5a7fb7395ed985b9c /luaotfload-tool.lua
parentc8b6d55bfb93c5305b8e9cf6eef6412439f855c7 (diff)
downloadluaotfload-b2235e724443f86716694f4e45df9f1261873069.tar.gz
adapt strings for 20th century OS
Windows appears to still lack a unicode capable terminal emulator. http://tug.org/pipermail/luatex/2013-July/004547.html No comment.
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua32
1 files changed, 16 insertions, 16 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index 21f73d1..f7558e8 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -190,11 +190,11 @@ This tool is part of the luaotfload package. Valid options are:
-V --version print version and exit
-h --help print this message
- --diagnose=CHECK run a self test procedure; one of “files”,
- “permissions”, or “repository”
+ --diagnose=CHECK run a self test procedure; one of "files",
+ "permissions", or "repository"
- --alias=<name> force behavior of “luaotfload-tool” or legacy
- “mkluatexfontdb”
+ --alias=<name> force behavior of "luaotfload-tool" or legacy
+ "mkluatexfontdb"
-------------------------------------------------------------------------------
DATABASE
@@ -228,7 +228,7 @@ The font database will be saved to
FONT CACHE
--cache=<directive> operate on font cache, where <directive> is
- “show”, “purge”, or “erase”
+ "show", "purge", or "erase"
The font cache will be written to
%s
@@ -248,8 +248,8 @@ Valid options:
-vvv print all steps of directory searching
-V --version print version and exit
-h --help print this message
- --alias=<name> force behavior of “luaotfload-tool” or legacy
- “mkluatexfontdb”
+ --alias=<name> force behavior of "luaotfload-tool" or legacy
+ "mkluatexfontdb"
The font database will be saved to
%s
@@ -280,9 +280,9 @@ end
local version_msg = function ( )
texiowrite_nl(stringformat(
- "%s version “%s”\n" .. -- no \z due to 5.1 compatibility
- "database version “%s”\n" ..
- "Lua interpreter: %s; version “%s”\n",
+ "%s version %q\n" .. -- no \z due to 5.1 compatibility
+ "database version %q\n" ..
+ "Lua interpreter: %s; version %q\n",
config.luaotfload.self,
version,
names.version,
@@ -776,21 +776,21 @@ actions.query = function (job)
if success then
logs.names_report(false, 0,
- "resolve", "Font “%s” found!", query)
+ "resolve", "Font %q found!", query)
if subfont then
logs.names_report(false, 0, "resolve",
- "Resolved file name “%s”, subfont nr. “%s”",
+ "Resolved file name %q, subfont nr. %q",
foundname, subfont)
else
logs.names_report(false, 0, "resolve",
- "Resolved file name “%s”", foundname)
+ "Resolved file name %q", foundname)
end
if job.show_info then
show_font_info(foundname, query, job.full_info, job.warnings)
end
else
logs.names_report(false, 0,
- "resolve", "Cannot find “%s”.", query)
+ "resolve", "Cannot find %q.", query)
if job.fuzzy == true then
logs.names_report(false, 0,
"resolve", "Looking for close matches, this may take a while ...")
@@ -1303,7 +1303,7 @@ do
release_url)
return true
else
- out "There weren’t any new releases in the meantime."
+ out "There weren't any new releases in the meantime."
out "Luaotfload is up to date."
end
return false
@@ -1360,7 +1360,7 @@ do
local rest = next (asked)
if rest ~= nil then --> something unknown
- out ("Unknown diagnostic “%s”.", rest)
+ out ("Unknown diagnostic %q.", rest)
end
if errcnt == 0 then --> success
out ("Everything appears to be in order, \z