diff options
Diffstat (limited to 'builtin/modstore.lua')
-rw-r--r-- | builtin/modstore.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/builtin/modstore.lua b/builtin/modstore.lua index 27841ae22..2f967c9b1 100644 --- a/builtin/modstore.lua +++ b/builtin/modstore.lua @@ -180,8 +180,7 @@ end -------------------------------------------------------------------------------- function modstore.getmodlist(list) local retval = "" - retval = retval .. "label[10,-0.4;Page " .. (list.page +1) .. - " of " .. list.pagecount .. "]" + retval = retval .. "label[10,-0.4;" .. fgettext("Page $1 of $2", list.page+1, list.pagecount) .. "]" retval = retval .. "button[11.6,-0.1;0.5,0.5;btn_modstore_page_up;^]" retval = retval .. "box[11.6,0.35;0.28,8.6;000000]" @@ -240,7 +239,8 @@ function modstore.getmodlist(list) engine.formspec_escape(details.description) .. ";]" --rating local ratingy = screenshot_ypos + 0.6 - retval = retval .."label[10.1," .. ratingy .. ";Rating: " .. details.rating .."]" + retval = retval .."label[10.1," .. ratingy .. ";" .. + fgettext("Rating") .. ": " .. details.rating .."]" --install button local buttony = screenshot_ypos + 1.2 @@ -248,9 +248,9 @@ function modstore.getmodlist(list) retval = retval .."button[9.6," .. buttony .. ";2,0.5;btn_install_mod_" .. buttonnumber .. ";" if modmgr.mod_exists(details.basename) then - retval = retval .. "re-Install]" + retval = retval .. fgettext("re-Install") .."]" else - retval = retval .. "Install]" + retval = retval .. fgettext("Install") .."]" end end end |