diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-12-29 12:55:12 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-12-31 02:29:20 +0100 |
commit | cfc11b2e1d8480727208b9d3e9577172de9a4038 (patch) | |
tree | 3e9e1a65269ebf6eed634c2d2b79e8a0683c1b3d /po/th.po | |
parent | abbe74b2b4690b9138da94d26a7e45ad80a3bf6c (diff) |
expand -f to --fix-broken in error messages
Users end up believing that this is a --force mode as -f is common for
that, but apt doesn't have such a mode and --fix-broken is really not
about forcing something but actually trying to fix the breakage which
tends to be the result of a user forcing something on its system via
low-level forced dpkg calls.
Example: The "common" pattern of "dpkg -i ./foo.deb; apt install -f" is
nowadays far better dealt with via "apt install ./foo.deb".
And while at it the two places handing out this suggestion are changed
to use the same strings to avoid needless translation work in the future
and the suggestion uses 'apt' instead of 'apt-get' as this will be run
interactively by a user, so its a good opportunity to showcase what we
can do and will allow us to be more helpful to the user.
Closes: #709092
Thanks: Kristian Glass for initial patch!
Diffstat (limited to 'po/th.po')
-rw-r--r-- | po/th.po | 41 |
1 files changed, 19 insertions, 22 deletions
@@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: apt 1.0.5\n" "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n" -"POT-Creation-Date: 2016-11-25 23:46+0100\n" +"POT-Creation-Date: 2016-12-29 13:23+0100\n" "PO-Revision-Date: 2014-12-12 13:00+0700\n" "Last-Translator: Theppitak Karoonboonyanan <thep@debian.org>\n" "Language-Team: Thai <thai-l10n@googlegroups.com>\n" @@ -411,8 +411,8 @@ msgstr "" #: apt-pkg/acquire.cc #, c-format msgid "" -"Can't drop privileges for downloading as file '%s' couldn't be accessed by " -"user '%s'." +"Download is performed unsandboxed as root as file '%s' couldn't be accessed " +"by user '%s'." msgstr "" #: apt-pkg/acquire.cc apt-pkg/clean.cc @@ -1613,13 +1613,17 @@ msgstr "ไม่สามารถจำกัดรายการปรับ msgid " Done" msgstr " เสร็จแล้ว" -#: apt-private/private-cachefile.cc -msgid "You might want to run 'apt-get -f install' to correct these." -msgstr "คุณอาจต้องเรียก 'apt-get -f install' เพื่อแก้ปัญหาเหล่านี้" +#: apt-private/private-cachefile.cc apt-private/private-install.cc +msgid "You might want to run 'apt --fix-broken install' to correct these." +msgstr "คุณอาจต้องเรียก 'apt --fix-broken install' เพื่อแก้ปัญหาเหล่านี้" -#: apt-private/private-cachefile.cc -msgid "Unmet dependencies. Try using -f." -msgstr "รายการแพกเกจที่ต้องใช้ไม่ครบ กรุณาลองใช้ตัวเลือก -f" +#: apt-private/private-cachefile.cc apt-private/private-install.cc +msgid "" +"Unmet dependencies. Try 'apt --fix-broken install' with no packages (or " +"specify a solution)." +msgstr "" +"มีปัญหาความขึ้นต่อกันระหว่างแพกเกจ กรุณาลองใช้ 'apt --fix-broken install' " +"โดยไม่ระบุแพกเกจ (หรือจะระบุทางแก้ก็ได้)" #: apt-private/private-cacheset.cc apt-private/private-search.cc msgid "Sorting" @@ -1972,18 +1976,6 @@ msgid_plural "Use '%s' to remove them." msgstr[0] "ใช้ '%s' เพื่อถอดถอนแพกเกจดังกล่าวได้" #: apt-private/private-install.cc -msgid "You might want to run 'apt-get -f install' to correct these:" -msgstr "คุณอาจเรียก 'apt-get -f install' เพื่อแก้ปัญหานี้ได้:" - -#: apt-private/private-install.cc -msgid "" -"Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a " -"solution)." -msgstr "" -"มีปัญหาความขึ้นต่อกันระหว่างแพกเกจ กรุณาลองใช้ 'apt-get -f install' โดยไม่ระบุแพกเกจ " -"(หรือจะระบุทางแก้ก็ได้)" - -#: apt-private/private-install.cc #, fuzzy msgid "The following additional packages will be installed:" msgstr "จะติดตั้งแพกเกจเพิ่มเติมต่อไปนี้:" @@ -2366,7 +2358,6 @@ msgid "Unpack command '%s' failed.\n" msgstr "คำสั่งแตกแฟ้ม '%s' ล้มเหลว\n" #: apt-private/private-source.cc -#, c-format msgid "Check if the 'dpkg-dev' package is installed.\n" msgstr "กรุณาตรวจสอบว่าได้ติดตั้งแพกเกจ 'dpkg-dev' แล้ว\n" @@ -3724,6 +3715,12 @@ msgstr "ข้อผิดพลาดภายใน" msgid "Empty files can't be valid archives" msgstr "แฟ้มว่างเปล่าไม่สามารถเป็นแฟ้มจัดเก็บที่ใช้การได้" +#~ msgid "Unmet dependencies. Try using --fix-broken." +#~ msgstr "รายการแพกเกจที่ต้องใช้ไม่ครบ กรุณาลองใช้ตัวเลือก --fix-broken" + +#~ msgid "You might want to run 'apt --fix-broken install' to correct these:" +#~ msgstr "คุณอาจเรียก 'apt --fix-broken install' เพื่อแก้ปัญหานี้ได้:" + #~ msgid "(not found)" #~ msgstr "(ไม่พบ)" |