File: 0002-Remove-incorrect-python-format-translations.patch

package info (click to toggle)
python-django-constance 4.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 800 kB
  • sloc: python: 2,089; makefile: 25; javascript: 23; sh: 6
file content (78 lines) | stat: -rw-r--r-- 2,935 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Wed, 10 Mar 2021 23:05:33 +0100
Subject: Remove incorrect python-format translations.

---
 constance/locale/de/LC_MESSAGES/django.po    | 10 ++++------
 constance/locale/es/LC_MESSAGES/django.po    |  4 +---
 constance/locale/zh_CN/LC_MESSAGES/django.po |  4 ++--
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/constance/locale/de/LC_MESSAGES/django.po b/constance/locale/de/LC_MESSAGES/django.po
index 705ab1e..f6895fb 100644
--- a/constance/locale/de/LC_MESSAGES/django.po
+++ b/constance/locale/de/LC_MESSAGES/django.po
@@ -20,16 +20,14 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: admin.py:113
-#, fuzzy, python-format
-#| msgid ""
-#| "Constance doesn't support config values of the type %(config_type)s. "
-#| "Please fix the value of '%(name)s'."
+#, python-format
 msgid ""
 "Default value type must be equal to declared config parameter type. Please "
 "fix the default value of '%(name)s'."
 msgstr ""
-"Konstanze unterstützt die Konfigurationswerte vom Typ %(config_type)s nicht. "
-"Bitte den Ausgangswert von '%(name)s' ändern."
+"Der Typ des Standardwerts muss identisch mit dem deklarierten Typ des "
+"Konfigurationsparameters sein. Bitte korrigieren Sie den Standardwert "
+"von '%(name)s'."
 
 #: admin.py:123
 #, python-format
diff --git a/constance/locale/es/LC_MESSAGES/django.po b/constance/locale/es/LC_MESSAGES/django.po
index 43b2b88..82124f6 100644
--- a/constance/locale/es/LC_MESSAGES/django.po
+++ b/constance/locale/es/LC_MESSAGES/django.po
@@ -20,7 +20,7 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: admin.py:113
-#, fuzzy, python-format
+#, python-format
 #| msgid ""
 #| "Constance doesn't support config values of the type %(config_type)s. "
 #| "Please fix the value of '%(name)s'."
@@ -28,8 +28,6 @@ msgid ""
 "Default value type must be equal to declared config parameter type. Please "
 "fix the default value of '%(name)s'."
 msgstr ""
-"Constance no soporta valores de configuración de los tipos %(config_type)s. "
-"Por favor arregle el valor de '%(name)s'."
 
 #: admin.py:123
 #, python-format
diff --git a/constance/locale/zh_CN/LC_MESSAGES/django.po b/constance/locale/zh_CN/LC_MESSAGES/django.po
index 2fa88bc..efff0ca 100644
--- a/constance/locale/zh_CN/LC_MESSAGES/django.po
+++ b/constance/locale/zh_CN/LC_MESSAGES/django.po
@@ -20,14 +20,14 @@ msgstr ""
 "Plural-Forms: nplurals=1; plural=0;\n"
 
 #: admin.py:113
-#, fuzzy, python-format
+#, python-format
 #| msgid ""
 #| "Constance doesn't support config values of the type %(config_type)s. "
 #| "Please fix the value of '%(name)s'."
 msgid ""
 "Default value type must be equal to declared config parameter type. Please "
 "fix the default value of '%(name)s'."
-msgstr "Constance不支持保存类型为%(config_type)s的值,请修正%(name)s的值。"
+msgstr ""
 
 #: admin.py:123
 #, python-format