From cfc11b2e1d8480727208b9d3e9577172de9a4038 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 29 Dec 2016 12:55:12 +0100 Subject: 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! --- po/vi.po | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'po/vi.po') diff --git a/po/vi.po b/po/vi.po index bb21d259f..3b996bd3b 100644 --- a/po/vi.po +++ b/po/vi.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: apt 1.0.8\n" "Report-Msgid-Bugs-To: APT Development Team \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-09-12 13:48+0700\n" "Last-Translator: Trần Ngọc Quân \n" "Language-Team: Vietnamese \n" @@ -420,8 +420,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 @@ -1656,13 +1656,17 @@ msgstr "Không thể tối thiểu hóa tập hợp nâng cấp" msgid " Done" msgstr " Xong" -#: apt-private/private-cachefile.cc -msgid "You might want to run 'apt-get -f install' to correct these." -msgstr "Bạn có thể chạy lệnh “apt-get -f install” để sửa những lỗi trên." +#: apt-private/private-cachefile.cc apt-private/private-install.cc +msgid "You might want to run 'apt --fix-broken install' to correct these." +msgstr "Bạn có thể chạy lệnh “apt --fix-broken install” để sửa những lỗi trên." -#: apt-private/private-cachefile.cc -msgid "Unmet dependencies. Try using -f." -msgstr "Chưa thỏa mãn quan hệ phụ thuộc. Hãy thử dùng tùy chọn “-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 "" +"Thưa thỏa mãn quan hệ phụ thuộc. Hãy thử chạy lệnh “apt --fix-broken " +"install” mà không có gói nào (hoặc chỉ định cách thức giải quyết)." #: apt-private/private-cacheset.cc apt-private/private-search.cc msgid "Sorting" @@ -2023,18 +2027,6 @@ msgid "Use '%s' to remove it." msgid_plural "Use '%s' to remove them." msgstr[0] "Hãy dùng lệnh “%s” để gỡ bỏ chúng." -#: apt-private/private-install.cc -msgid "You might want to run 'apt-get -f install' to correct these:" -msgstr "Có lẽ bạn cần chạy lệnh “apt-get -f install” để sửa những cái đó:" - -#: apt-private/private-install.cc -msgid "" -"Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a " -"solution)." -msgstr "" -"Thưa thỏa mãn quan hệ phụ thuộc. Hãy thử chạy lệnh “apt-get -f install” mà " -"không có gói nào (hoặc chỉ định cách thức giải quyết)." - #: apt-private/private-install.cc #, fuzzy msgid "The following additional packages will be installed:" @@ -2421,7 +2413,6 @@ msgid "Unpack command '%s' failed.\n" msgstr "Lệnh giải nén “%s” bị lỗi.\n" #: apt-private/private-source.cc -#, c-format msgid "Check if the 'dpkg-dev' package is installed.\n" msgstr "Hãy kiểm tra xem gói “dpkg-dev” đã được cài đặt chưa.\n" @@ -3834,6 +3825,14 @@ msgstr "Gặp lỗi nội bộ" msgid "Empty files can't be valid archives" msgstr "Các tập tin trống rỗng không phải là kho lưu hợp lệ" +#~ msgid "Unmet dependencies. Try using --fix-broken." +#~ msgstr "" +#~ "Chưa thỏa mãn quan hệ phụ thuộc. Hãy thử dùng tùy chọn “--fix-broken”." + +#~ msgid "You might want to run 'apt --fix-broken install' to correct these:" +#~ msgstr "" +#~ "Có lẽ bạn cần chạy lệnh “apt --fix-broken install” để sửa những cái đó:" + #~ msgid "(not found)" #~ msgstr "(không tìm thấy)" -- cgit v1.2.3