From ea5c07a8d8532e2dd518ee46641db3f0f7f2afa8 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Tue, 10 Mar 2020 22:36:54 +0800 Subject: [PATCH] luci-app-diskman: sync with upstream source --- .../luasrc/model/cbi/diskman/disks.lua | 2 +- package/ctcgfw/luci-app-diskman/po/pl/diskman.po | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package/ctcgfw/luci-app-diskman/luasrc/model/cbi/diskman/disks.lua b/package/ctcgfw/luci-app-diskman/luasrc/model/cbi/diskman/disks.lua index 427920a82b..6cddbc0ed9 100644 --- a/package/ctcgfw/luci-app-diskman/luasrc/model/cbi/diskman/disks.lua +++ b/package/ctcgfw/luci-app-diskman/luasrc/model/cbi/diskman/disks.lua @@ -265,8 +265,8 @@ btn_umount.render = function(self, section, scope) end btn_umount.write = function(self, section, value) local res - if not _mount_point.mount_point or not _mount_point.device then return end if value == translate("Mount") then + if not _mount_point.mount_point or not _mount_point.device then return end luci.util.exec("mkdir -p ".. _mount_point.mount_point) res = luci.util.exec(dm.command.mount .. " ".. _mount_point.device .. (_mount_point.fs and (" -t ".. _mount_point.fs )or "") .. (_mount_point.mount_options and (" -o " .. _mount_point.mount_options.. " ") or " ").._mount_point.mount_point .. " 2>&1") elseif value == translate("Umount") then diff --git a/package/ctcgfw/luci-app-diskman/po/pl/diskman.po b/package/ctcgfw/luci-app-diskman/po/pl/diskman.po index ef4532b056..1b5c60600e 100644 --- a/package/ctcgfw/luci-app-diskman/po/pl/diskman.po +++ b/package/ctcgfw/luci-app-diskman/po/pl/diskman.po @@ -62,7 +62,13 @@ msgid "End Sector" msgstr "Sektor końcowy" msgid "Usage" -msgstr "Użycie" +msgstr "Wykorzystane" + +msgid "Used" +msgstr "Zajęte" + +msgid "Free Space" +msgstr "Wolna przestrzeń" msgid "Model" msgstr "Model urządzenia" @@ -194,7 +200,7 @@ msgid "The source path for create the snapshot" msgstr "Ścieżka źródłowa do utworzenia obrazu" msgid "The path where you want to store the snapshot" -msgstr "Ścieżka, w której chcesz przechowywać obraz" +msgstr "Ścieżka w której chcesz przechowywać obraz" msgid "Please input Source Path of snapshot, Source Path must start with '/'" msgstr "Proszę podać ścieżkę źródłową dla obrazu, ścieżka musi zaczynać się od '/'"