* "belli" means clear in Turkish while "belirli" means specific
which is the right translation. also be polite and fix grammar mistake.
This commit is contained in:
+2
-5
@@ -88,21 +88,18 @@ class PisiCLI(object):
|
||||
if len(args)==0: # more explicit than using IndexError
|
||||
if 'version' in opts:
|
||||
self.parser.print_version()
|
||||
sys.exit(0)
|
||||
elif 'help' in opts:
|
||||
self.die()
|
||||
raise Error(_('No command given'))
|
||||
#self.die()
|
||||
cmd_name = args[0]
|
||||
except ParserError:
|
||||
raise Error(_('Command line parsing error'))
|
||||
#self.die()
|
||||
|
||||
self.command = Command.get_command(cmd_name)
|
||||
if not self.command:
|
||||
raise Error(_("Unrecognized command: %s") % cmd_name)
|
||||
#self.die()
|
||||
|
||||
def die(self):
|
||||
#raise Error('')
|
||||
printu('\n' + self.parser.format_help())
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: tr\n"
|
||||
"POT-Creation-Date: Mon Dec 12 16:41:45 2005\n"
|
||||
"PO-Revision-Date: 2005-12-12 16:46+0200\n"
|
||||
"PO-Revision-Date: 2005-12-15 02:25+0200\n"
|
||||
"Last-Translator: Eray Ozkural <eray@uludag.org.tr>\n"
|
||||
"Language-Team: Türkçe <tr@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1296,7 +1296,7 @@ msgid ""
|
||||
"Use \"%prog help <command>\" for help on a specific command.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Belli bir komut hakkında yardım için \"%prog help <komut>\"'i kullanın.\n"
|
||||
"Belirli bir komut hakkında yardım için \"%prog help <komut>\"'u kullanınız.\n"
|
||||
|
||||
#: pisi/cli/pisicli.py:92
|
||||
msgid "No command given"
|
||||
|
||||
Reference in New Issue
Block a user