Skip to content

Commit 94169bc

Browse files
authored
Merge pull request #49 from caravancoop/improve-translations
improve translations
2 parents 75db106 + f5a9bad commit 94169bc

10 files changed

Lines changed: 193 additions & 136 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class RichText(models.Model):
170170
- `as_list` (boolean)
171171
- `options` ([block options](#block-options))
172172

173-
> Note: For unique idetifier inside the lists you may use a combination of `block_unique_id` and `block.id` of subblock.
173+
> Note: For unique identifier inside the lists you may use a combination of `block_unique_id` and `block.id` of subblock.
174174

175175
**5. Add StreamField to your model in your application**
176176

streamfield/locale/en/LC_MESSAGES/django.po

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-06-29 11:06+0300\n"
11+
"POT-Creation-Date: 2024-10-23 17:38-0400\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,74 +18,68 @@ msgstr ""
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2020

21-
#: templates/streamfield/admin/change_form.html:19
21+
#: templates/streamfield/admin/change_form.html
2222
msgid "Please correct the error below."
2323
msgstr ""
2424

25-
#: templates/streamfield/admin/change_form.html:19
25+
#: templates/streamfield/admin/change_form.html
2626
msgid "Please correct the errors below."
2727
msgstr ""
2828

29-
#: templates/streamfield/admin/fields/file_browse_widget.html:24
29+
#: templates/streamfield/admin/fields/file_browse_widget.html
3030
msgid "File not found"
3131
msgstr ""
3232

33-
#: templates/streamfield/admin/streamfield_popup_response.html:3
33+
#: templates/streamfield/admin/streamfield_popup_response.html
3434
msgid "Popup closing..."
3535
msgstr ""
3636

37-
#: templates/streamfield/streamfield_admin_help.html:2
37+
#: templates/streamfield/streamfield_admin_help.html
3838
msgid ""
3939
"\n"
4040
"<ul> \n"
41-
" <li>The blocks are moving by drag-and-drop.</li>\n"
42-
" <li>After moving, adding or deleting blocks you need to save entire "
41+
" <li>The blocks are moved by drag-and-drop.</li>\n"
42+
" <li>After moving, adding or deleting blocks you need to save the entire "
4343
"object.</li>\n"
44-
" <li>if you had deleted, accidentally, some blocks.<br>You may get back "
45-
"it,\n"
46-
" by reload the page. At the same time, all edited blocks will remain, "
47-
"but sorting will get from saved version. New, added blocks, \n"
48-
" will disappear.</li>\n"
44+
" <li>If you have deleted some blocks accidentally, you may get them back "
45+
"by reloading the page.\n"
46+
" All edited blocks will remain, in the order of the saved version.\n"
47+
" Newly added blocks will need to be recreated.</li>\n"
4948
"</ul>\n"
5049
msgstr ""
5150

52-
#: templates/streamfield/streamfield_widget.html:4
53-
msgid "Are you shure, that you want to delete this block?"
51+
#: templates/streamfield/streamfield_texts.js
52+
msgid "Are you sure that you want to delete this block?"
5453
msgstr ""
5554

56-
#: templates/streamfield/streamfield_widget.html:5
57-
msgid "Are you shure, that you want to delete this subblock?"
55+
#: templates/streamfield/streamfield_texts.js
56+
msgid "Are you sure that you want to delete this subblock?"
5857
msgstr ""
5958

60-
#: templates/streamfield/streamfield_widget.html:11
61-
msgid "Help?"
62-
msgstr ""
63-
64-
#: templates/streamfield/streamfield_widget.html:20
59+
#: templates/streamfield/streamfield_texts.js
6560
msgid "Collapse all"
6661
msgstr ""
6762

68-
#: templates/streamfield/streamfield_widget.html:20
63+
#: templates/streamfield/streamfield_texts.js
6964
msgid "Open all"
7065
msgstr ""
7166

72-
#: templates/streamfield/streamfield_widget.html:53
73-
#: templates/streamfield/streamfield_widget.html:58
74-
#: templates/streamfield/streamfield_widget.html:80
75-
#: templates/streamfield/streamfield_widget.html:85
76-
msgid "Change"
67+
#: templates/streamfield/streamfield_texts.js
68+
msgid "Add one more"
7769
msgstr ""
7870

79-
#: templates/streamfield/streamfield_widget.html:65
80-
#: templates/streamfield/streamfield_widget.html:68
81-
msgid "Add one more"
71+
#: templates/streamfield/streamfield_texts.js
72+
msgid "Change"
8273
msgstr ""
8374

84-
#: templates/streamfield/streamfield_widget.html:90
85-
#: templates/streamfield/streamfield_widget.html:93
75+
#: templates/streamfield/streamfield_texts.js
8676
msgid "Add content"
8777
msgstr ""
8878

89-
#: templates/streamfield/streamfield_widget.html:119
79+
#: templates/streamfield/streamfield_texts.js
80+
msgid "Help?"
81+
msgstr ""
82+
83+
#: templates/streamfield/streamfield_texts.js
9084
msgid "Add new block"
9185
msgstr ""
2.04 KB
Binary file not shown.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: PACKAGE VERSION\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2024-10-23 17:38-0400\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
20+
21+
#: templates/streamfield/admin/change_form.html
22+
msgid "Please correct the error below."
23+
msgstr "Veuillez corriger l’erreur ci-dessous."
24+
25+
#: templates/streamfield/admin/change_form.html
26+
msgid "Please correct the errors below."
27+
msgstr "Veuillez corriger les erreurs ci-dessous."
28+
29+
#: templates/streamfield/admin/fields/file_browse_widget.html
30+
msgid "File not found"
31+
msgstr "Fichier non trouvé"
32+
33+
#: templates/streamfield/admin/streamfield_popup_response.html
34+
msgid "Popup closing..."
35+
msgstr "Fermeture de la modale…"
36+
37+
#: templates/streamfield/streamfield_admin_help.html
38+
msgid ""
39+
"\n"
40+
"<ul> \n"
41+
" <li>The blocks are moved by drag-and-drop.</li>\n"
42+
" <li>After moving, adding or deleting blocks you need to save the entire "
43+
"object.</li>\n"
44+
" <li>If you have deleted some blocks accidentally, you may get them back "
45+
"by reloading the page.\n"
46+
" All edited blocks will remain, in the order of the saved version.\n"
47+
" Newly added blocks will need to be recreated.</li>\n"
48+
"</ul>\n"
49+
msgstr ""
50+
"\n"
51+
"<ul> \n"
52+
" <li>Les blocs se déplacent par glisser-déposer.</li>\n"
53+
" <li>Après avoir déplacé, ajouté ou supprimé des blocks vous devez "
54+
"sauvegarder l’objet au complet.</li>\n"
55+
" <li>Si vous avez effacé des blocs par accident, vous pouvez les "
56+
"récupérer en rechargeant la page; les blocs modifiés seront toujours "
57+
"présents, mais dans l’ordre de la version précédente. Les blocs ajoutés "
58+
"devront être recréés.</li>/\n"
59+
"</ul>\n"
60+
61+
#: templates/streamfield/streamfield_texts.js
62+
msgid "Are you sure that you want to delete this block?"
63+
msgstr "Voulez-vous vraiment supprimer ce bloc?"
64+
65+
#: templates/streamfield/streamfield_texts.js
66+
msgid "Are you sure that you want to delete this subblock?"
67+
msgstr "Voulez-vous vraiment supprimer ce sous-bloc?"
68+
69+
#: templates/streamfield/streamfield_texts.js
70+
msgid "Collapse all"
71+
msgstr "Tout réduire"
72+
73+
#: templates/streamfield/streamfield_texts.js
74+
msgid "Open all"
75+
msgstr "Tout ouvrir"
76+
77+
#: templates/streamfield/streamfield_texts.js
78+
msgid "Add one more"
79+
msgstr "Ajouter un autre"
80+
81+
#: templates/streamfield/streamfield_texts.js
82+
msgid "Change"
83+
msgstr "Modifier"
84+
85+
#: templates/streamfield/streamfield_texts.js
86+
msgid "Add content"
87+
msgstr "Ajouter du contenu"
88+
89+
#: templates/streamfield/streamfield_texts.js
90+
msgid "Help?"
91+
msgstr "Aide?"
92+
93+
#: templates/streamfield/streamfield_texts.js
94+
msgid "Add new block"
95+
msgstr "Ajouter un bloc"
-11 Bytes
Binary file not shown.

streamfield/locale/it/LC_MESSAGES/django.po

Lines changed: 29 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-06-29 11:06+0300\n"
10+
"POT-Creation-Date: 2024-10-23 17:38-0400\n"
1111
"PO-Revision-Date: 2020-02-08 14:10+0100\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -18,34 +18,33 @@ msgstr ""
1818
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"X-Generator: Poedit 2.3\n"
2020

21-
#: templates/streamfield/admin/change_form.html:19
21+
#: templates/streamfield/admin/change_form.html
2222
msgid "Please correct the error below."
2323
msgstr ""
2424

25-
#: templates/streamfield/admin/change_form.html:19
25+
#: templates/streamfield/admin/change_form.html
2626
msgid "Please correct the errors below."
2727
msgstr ""
2828

29-
#: templates/streamfield/admin/fields/file_browse_widget.html:24
29+
#: templates/streamfield/admin/fields/file_browse_widget.html
3030
msgid "File not found"
3131
msgstr ""
3232

33-
#: templates/streamfield/admin/streamfield_popup_response.html:3
33+
#: templates/streamfield/admin/streamfield_popup_response.html
3434
msgid "Popup closing..."
3535
msgstr ""
3636

37-
#: templates/streamfield/streamfield_admin_help.html:2
37+
#: templates/streamfield/streamfield_admin_help.html
3838
msgid ""
3939
"\n"
4040
"<ul> \n"
41-
" <li>The blocks are moving by drag-and-drop.</li>\n"
42-
" <li>After moving, adding or deleting blocks you need to save entire "
41+
" <li>The blocks are moved by drag-and-drop.</li>\n"
42+
" <li>After moving, adding or deleting blocks you need to save the entire "
4343
"object.</li>\n"
44-
" <li>if you had deleted, accidentally, some blocks.<br>You may get back "
45-
"it,\n"
46-
" by reload the page. At the same time, all edited blocks will remain, "
47-
"but sorting will get from saved version. New, added blocks, \n"
48-
" will disappear.</li>\n"
44+
" <li>If you have deleted some blocks accidentally, you may get them back "
45+
"by reloading the page.\n"
46+
" All edited blocks will remain, in the order of the saved version.\n"
47+
" Newly added blocks will need to be recreated.</li>\n"
4948
"</ul>\n"
5049
msgstr ""
5150
"\n"
@@ -62,43 +61,38 @@ msgstr ""
6261
" andranno invece persi.</li>\n"
6362
"</ul>\n"
6463

65-
#: templates/streamfield/streamfield_widget.html:4
66-
msgid "Are you shure, that you want to delete this block?"
64+
#: templates/streamfield/streamfield_texts.js
65+
msgid "Are you sure that you want to delete this block?"
6766
msgstr "Sei sicuro di voler cancellare questo blocco?"
6867

69-
#: templates/streamfield/streamfield_widget.html:5
70-
msgid "Are you shure, that you want to delete this subblock?"
68+
#: templates/streamfield/streamfield_texts.js
69+
msgid "Are you sure that you want to delete this subblock?"
7170
msgstr "Sei sicuro di voler cancellare questo sotto blocco?"
7271

73-
#: templates/streamfield/streamfield_widget.html:11
74-
msgid "Help?"
75-
msgstr "Un aiutino?"
76-
77-
#: templates/streamfield/streamfield_widget.html:20
72+
#: templates/streamfield/streamfield_texts.js
7873
msgid "Collapse all"
7974
msgstr "Crolla tutto"
8075

81-
#: templates/streamfield/streamfield_widget.html:20
76+
#: templates/streamfield/streamfield_texts.js
8277
msgid "Open all"
8378
msgstr "Apri tutto"
8479

85-
#: templates/streamfield/streamfield_widget.html:53
86-
#: templates/streamfield/streamfield_widget.html:58
87-
#: templates/streamfield/streamfield_widget.html:80
88-
#: templates/streamfield/streamfield_widget.html:85
89-
msgid "Change"
90-
msgstr "Modifica"
91-
92-
#: templates/streamfield/streamfield_widget.html:65
93-
#: templates/streamfield/streamfield_widget.html:68
80+
#: templates/streamfield/streamfield_texts.js
9481
msgid "Add one more"
9582
msgstr "Aggiungine un altro"
9683

97-
#: templates/streamfield/streamfield_widget.html:90
98-
#: templates/streamfield/streamfield_widget.html:93
84+
#: templates/streamfield/streamfield_texts.js
85+
msgid "Change"
86+
msgstr "Modifica"
87+
88+
#: templates/streamfield/streamfield_texts.js
9989
msgid "Add content"
10090
msgstr "Aggiungi contenuto"
10191

102-
#: templates/streamfield/streamfield_widget.html:119
92+
#: templates/streamfield/streamfield_texts.js
93+
msgid "Help?"
94+
msgstr "Un aiutino?"
95+
96+
#: templates/streamfield/streamfield_texts.js
10397
msgid "Add new block"
10498
msgstr "Aggiungi un nuovo blocco"
-11 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)