Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
37718eb5
Kaydet (Commit)
37718eb5
authored
Ock 19, 2013
tarafından
Ramiro Morales
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix in makemessages refactoring plus UI tweaks.
üst
755f2155
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
makemessages.py
django/core/management/commands/makemessages.py
+5
-5
No files found.
django/core/management/commands/makemessages.py
Dosyayı görüntüle @
37718eb5
...
...
@@ -174,11 +174,11 @@ class Command(NoArgsCommand):
make_option
(
'--no-default-ignore'
,
action
=
'store_false'
,
dest
=
'use_default_ignore_patterns'
,
default
=
True
,
help
=
"Don't ignore the common glob-style patterns 'CVS', '.*', '*~' and '*.pyc'."
),
make_option
(
'--no-wrap'
,
action
=
'store_true'
,
dest
=
'no_wrap'
,
default
=
False
,
help
=
"Don't break long message lines into several lines"
),
default
=
False
,
help
=
"Don't break long message lines into several lines
.
"
),
make_option
(
'--no-location'
,
action
=
'store_true'
,
dest
=
'no_location'
,
default
=
False
,
help
=
"Don't write '#: filename:line' lines"
),
default
=
False
,
help
=
"Don't write '#: filename:line' lines
.
"
),
make_option
(
'--no-obsolete'
,
action
=
'store_true'
,
dest
=
'no_obsolete'
,
default
=
False
,
help
=
"Remove obsolete message strings"
),
default
=
False
,
help
=
"Remove obsolete message strings
.
"
),
make_option
(
'--keep-pot'
,
action
=
'store_true'
,
dest
=
'keep_pot'
,
default
=
False
,
help
=
"Keep .pot file after making messages. Useful when debugging."
),
)
...
...
@@ -274,7 +274,7 @@ class Command(NoArgsCommand):
try
:
for
locale
in
locales
:
if
self
.
verbosity
>
0
:
self
.
stdout
.
write
(
"processing l
anguag
e
%
s
\n
"
%
locale
)
self
.
stdout
.
write
(
"processing l
ocal
e
%
s
\n
"
%
locale
)
self
.
write_po_file
(
potfile
,
locale
)
finally
:
if
not
self
.
keep_pot
and
os
.
path
.
exists
(
potfile
):
...
...
@@ -365,7 +365,7 @@ class Command(NoArgsCommand):
if
self
.
no_obsolete
:
msgs
,
errors
,
status
=
_popen
(
'msgattrib
%
s
%
s -o "
%
s" --no-obsolete "
%
s"'
%
(
wrap
,
location
,
pofile
,
pofile
))
(
self
.
wrap
,
self
.
location
,
pofile
,
pofile
))
if
errors
:
if
status
!=
STATUS_OK
:
raise
CommandError
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment