aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
Diffstat (limited to 'po')
-rw-r--r--po/ja/minetest.po31
1 files changed, 14 insertions, 17 deletions
diff --git a/po/ja/minetest.po b/po/ja/minetest.po
index 711a30324..6ecf5ee17 100644
--- a/po/ja/minetest.po
+++ b/po/ja/minetest.po
@@ -3,16 +3,16 @@ msgstr ""
"Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-12 23:20+0200\n"
-"PO-Revision-Date: 2015-08-15 03:28+0200\n"
+"PO-Revision-Date: 2015-10-05 08:20+0200\n"
"Last-Translator: Rui <rui914t@gmail.com>\n"
-"Language-Team: Japanese <https://hosted.weblate.org/projects/minetest/"
-"minetest/ja/>\n"
+"Language-Team: Japanese "
+"<https://hosted.weblate.org/projects/minetest/minetest/ja/>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 2.4-dev\n"
+"X-Generator: Weblate 2.5-dev\n"
#: builtin/fstk/ui.lua
msgid "An error occured in a Lua script, such as a mod:"
@@ -23,7 +23,6 @@ msgid "An error occured:"
msgstr "エラーが発生しました:"
#: builtin/fstk/ui.lua
-#, fuzzy
msgid "Main menu"
msgstr "メインメニュー"
@@ -32,13 +31,12 @@ msgid "Ok"
msgstr "決定"
#: builtin/fstk/ui.lua
-#, fuzzy
msgid "Reconnect"
-msgstr "接続"
+msgstr "再接続"
#: builtin/fstk/ui.lua
msgid "The server has requested a reconnect:"
-msgstr ""
+msgstr "サーバが再接続を要求しました:"
#: builtin/mainmenu/common.lua src/game.cpp
msgid "Loading..."
@@ -46,7 +44,7 @@ msgstr "読み込み中..."
#: builtin/mainmenu/common.lua
msgid "Protocol version mismatch, server "
-msgstr ""
+msgstr "プロトコルバージョンの不一致、サーバー "
#: builtin/mainmenu/common.lua
msgid "Try reenabling public serverlist and check your internet connection."
@@ -78,7 +76,7 @@ msgstr "すべて有効化"
msgid ""
"Failed to enable mod \"$1\" as it contains disallowed characters. Only "
"chararacters [a-z0-9_] are allowed."
-msgstr ""
+msgstr "許可されていない文字が使用されているためMod \"$1\"を有効化できませんでした。文字は[a-z0-9_]のみ使用できます。"
#: builtin/mainmenu/dlg_config_world.lua
msgid "Hide Game"
@@ -396,7 +394,7 @@ msgstr "ゲームスタート"
#: builtin/mainmenu/tab_settings.lua
msgid "2x"
-msgstr ""
+msgstr "2倍"
#: builtin/mainmenu/tab_settings.lua
msgid "3D Clouds"
@@ -404,15 +402,15 @@ msgstr "3Dの雲"
#: builtin/mainmenu/tab_settings.lua
msgid "4x"
-msgstr ""
+msgstr "4倍"
#: builtin/mainmenu/tab_settings.lua
msgid "8x"
-msgstr ""
+msgstr "8倍"
#: builtin/mainmenu/tab_settings.lua
msgid "Antialiasing:"
-msgstr ""
+msgstr "アンチエイリアス:"
#: builtin/mainmenu/tab_settings.lua
msgid "Are you sure to reset your singleplayer world?"
@@ -476,7 +474,7 @@ msgstr "ノードをハイライト"
#: builtin/mainmenu/tab_settings.lua builtin/mainmenu/tab_texturepacks.lua
msgid "None"
-msgstr ""
+msgstr "無し"
#: builtin/mainmenu/tab_settings.lua
msgid "Opaque Leaves"
@@ -579,9 +577,8 @@ msgid "Texturepacks"
msgstr "テクスチャ"
#: src/client.cpp
-#, fuzzy
msgid "Connection timed out."
-msgstr "接続失敗(またはタイムアウト)"
+msgstr "接続がタイムアウトしました。"
#: src/client.cpp
msgid "Done!"
n class="hl opt">== 0 then return string.sub(pfx, 1, pl/2) .. c end return string.sub(pfx, 1, math.floor(pl/2)) .. (schartbl[c] or c) end unescape_string = function(str) return string.gsub(str, [[(\+)([abefnrtv'"?])]], replace_single) end end local function readstring_aux(str, pos) local _, spos = string.find(str, [[^%s*"]], pos) if not spos then return nil end local ipos = spos while true do local _, epos, m = string.find(str, [[(\*)"]], ipos+1) if not epos then return error("String extends beyond the end of input") end ipos = epos if #m % 2 == 0 then return unescape_string(string.sub(str, spos+1, epos-1)), epos+1 end end end local function readstring(str, pos) local st = {} local nxt = pos while true do local s, npos = readstring_aux(str, nxt) if not s then if not st[1] then return nil, nxt else return table.concat(st), nxt end end nxt = npos table.insert(st, s) end end local function readtoken(str, pos) local _, epos, tok = string.find(str, [[^%s*(%S+)]], pos) if epos == nil then return nil, pos end return tok, epos+1 end local function readcomment_add_flags(flags, s) for flag in string.gmatch(s, ",%s*([^,]+)") do flags[flag] = true end end local function readcomment_aux(str, pos) local _, epos, sval = string.find(str, "^\n*#([^\n]*)", pos) if not epos then return nil end return sval, epos+1 end local function readcomment(str, pos) local st = {} local nxt = pos local flags = {} while true do local s, npos = readcomment_aux(str, nxt) if not npos then local t = { comment = table.concat(st, "\n"), flags = flags, } return t, nxt end if string.sub(s, 1, 1) == "," then readcomment_add_flags(flags, s) end table.insert(st, s) nxt = npos end end local function readpo(str) local st = {} local pos = 1 while true do local entry, nxt = readcomment(str, pos) local msglines = 0 while true do local tok, npos = readtoken(str, nxt) if tok == nil or string.sub(tok, 1, 1) == "#" then break elseif string.sub(tok, 1, 3) ~= "msg" then return error("Invalid token: " .. tok) elseif entry[tok] ~= nil then break else local value, npos = readstring(str, npos) assert(value ~= nil, "No string provided for " .. tok) entry[tok] = value nxt = npos msglines = msglines+1 end end if msglines == 0 then return st elseif entry.msgid ~= "" then assert(entry.msgid ~= nil, "Missing untranslated string") assert(entry.msgstr ~= nil, "Missing translated string") table.insert(st, entry) end pos = nxt end end local escape_lookup = { ["="] = "@=", ["\n"] = "@n" } local function escape_string(st) return (string.gsub(st, "[=\n]", escape_lookup)) end local function convert_po_string(textdomain, str) local st = {string.format("# textdomain: %s", textdomain)} for _, entry in ipairs(readpo(str)) do local line = ("%s=%s"):format(escape_string(entry.msgid), escape_string(entry.msgstr)) if entry.flags.fuzzy then line = "#" .. line end table.insert(st, line) end return table.concat(st, "\n") end local function convert_po_file(textdomain, inpath, outpath) local f, err = io.open(inpath, "rb") assert(f, err) local str = convert_po_string(textdomain, f:read("*a")) f:close() minetest.safe_file_write(outpath, str) return str end local function convert_flat_po_directory(textdomain, modpath) assert(textdomain, "No textdomain specified for po file conversion") local mp = modpath or minetest.get_modpath(textdomain) assert(mp ~= nil, "No path to write for " .. textdomain) local popath = mp .. "/po" local trpath = mp .. "/locale" for _, infile in pairs(minetest.get_dir_list(popath, false)) do local lang = string.match(infile, [[^([^%.]+)%.po$]]) if lang then local inpath = popath .. "/" .. infile local outpath = ("%s/%s.%s.tr"):format(trpath, textdomain, lang) convert_po_file(textdomain, inpath, outpath) end end end return { from_string = convert_po_string, from_file = convert_po_file, from_flat = convert_flat_po_directory, }