Skip to content

Instantly share code, notes, and snippets.

@netmarkjp
Last active August 29, 2015 14:00
Show Gist options
  • Save netmarkjp/11086254 to your computer and use it in GitHub Desktop.
Save netmarkjp/11086254 to your computer and use it in GitHub Desktop.
[baba@feba4c963426 ~]$ cd ~/rpmbuild/SOURCES/sudo-1.8.6p3/plugins/sudoers/po
[baba@feba4c963426 po]$ grep -ri -A4 'plugins/sudoers/sudoers.c:448' . | grep po-msgstr
./ja.po-msgstr "sudo を実行するには tty がなければいけません。すみません"
./hr.po-msgstr "žao mi je, morate imati terminal za pokretanje sudo"
./zh_CN.po-msgstr "抱歉,您必须拥有一个终端来执行 sudo"
./fi.po-msgstr "sudo-komennon suorittamiseksi on oltava tty"
./it.po-msgstr "è necessario disporre di un tty per eseguire sudo"
./vi.po-msgstr "rất tiếc, bạn phải có tty mới có thể chạy sudo"
./pl.po-msgstr "niestety do uruchomienia sudo konieczny jest tty"
./uk.po-msgstr "вибачте, для виконання sudo вашому користувачеві потрібен tty"
./sl.po-msgstr "za izvajanje sudo morate imeti tty"
[baba@feba4c963426 po]$ grep -B2 -ri '\ tty' sudoers.pot --color
#: plugins/sudoers/def_data.c:119
msgid "Only allow the user to run sudo if they have a tty"
--
#: plugins/sudoers/sudoers.c:447
msgid "no tty"
--
#: plugins/sudoers/sudoers.c:448
#, c-format
msgid "sorry, you must have a tty to run sudo"
--
#: plugins/sudoers/sudoreplay.c:401
#, c-format
msgid "unable to set tty to raw mode"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment