Skip to content

Commit c15c2ff

Browse files
committed
Add a message if there's nothing to clone
1 parent f0a9e4c commit c15c2ff

File tree

19 files changed

+118
-49
lines changed

19 files changed

+118
-49
lines changed

content_editor/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ def _content_editor_context(self, request, context):
220220
"Use Ctrl-Click to select and move multiple items."
221221
),
222222
"clone": gettext("Clone from region"),
223+
"noClone": gettext("Didn't find anything to clone"),
223224
"selectAll": gettext("Select all"),
224225
},
225226
}

content_editor/locale/ca/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: FeinCMS\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
11+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1212
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1313
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1414
"Language-Team: Catalan (http://www.transifex.com/projects/p/feincms/language/"
@@ -76,14 +76,18 @@ msgid "Clone from region"
7676
msgstr ""
7777

7878
#: admin.py:223
79+
msgid "Didn't find anything to clone"
80+
msgstr ""
81+
82+
#: admin.py:224
7983
msgid "Select all"
8084
msgstr ""
8185

82-
#: admin.py:261
86+
#: admin.py:262
8387
msgid "Cloning {} plugins succeeded."
8488
msgstr ""
8589

86-
#: admin.py:265
90+
#: admin.py:266
8791
msgid "Cloning plugins failed: {}"
8892
msgstr ""
8993

content_editor/locale/cs/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
10+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -74,14 +74,18 @@ msgid "Clone from region"
7474
msgstr ""
7575

7676
#: admin.py:223
77+
msgid "Didn't find anything to clone"
78+
msgstr ""
79+
80+
#: admin.py:224
7781
msgid "Select all"
7882
msgstr ""
7983

80-
#: admin.py:261
84+
#: admin.py:262
8185
msgid "Cloning {} plugins succeeded."
8286
msgstr ""
8387

84-
#: admin.py:265
88+
#: admin.py:266
8589
msgid "Cloning plugins failed: {}"
8690
msgstr ""
8791

78 Bytes
Binary file not shown.

content_editor/locale/de/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: FeinCMS\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
12+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1313
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1414
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1515
"Language-Team: German (http://www.transifex.com/projects/p/feincms/language/"
@@ -70,14 +70,18 @@ msgid "Clone from region"
7070
msgstr "Von Region klonen"
7171

7272
#: admin.py:223
73+
msgid "Didn't find anything to clone"
74+
msgstr "Konnte nichts finden zum Klonen"
75+
76+
#: admin.py:224
7377
msgid "Select all"
7478
msgstr "Alle auswählen"
7579

76-
#: admin.py:261
80+
#: admin.py:262
7781
msgid "Cloning {} plugins succeeded."
7882
msgstr "{} Elemente erfolgreich geklont."
7983

80-
#: admin.py:265
84+
#: admin.py:266
8185
msgid "Cloning plugins failed: {}"
8286
msgstr "Fehler beim klonen: {}"
8387

content_editor/locale/es/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: FeinCMS\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
11+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1212
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1313
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1414
"Language-Team: Spanish (http://www.transifex.com/projects/p/feincms/language/"
@@ -76,14 +76,18 @@ msgid "Clone from region"
7676
msgstr ""
7777

7878
#: admin.py:223
79+
msgid "Didn't find anything to clone"
80+
msgstr ""
81+
82+
#: admin.py:224
7983
msgid "Select all"
8084
msgstr ""
8185

82-
#: admin.py:261
86+
#: admin.py:262
8387
msgid "Cloning {} plugins succeeded."
8488
msgstr ""
8589

86-
#: admin.py:265
90+
#: admin.py:266
8791
msgid "Cloning plugins failed: {}"
8892
msgstr ""
8993

content_editor/locale/fr/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: FeinCMS\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
10+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1111
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1212
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1313
"Language-Team: French (http://www.transifex.com/projects/p/feincms/language/"
@@ -75,14 +75,18 @@ msgid "Clone from region"
7575
msgstr ""
7676

7777
#: admin.py:223
78+
msgid "Didn't find anything to clone"
79+
msgstr ""
80+
81+
#: admin.py:224
7882
msgid "Select all"
7983
msgstr ""
8084

81-
#: admin.py:261
85+
#: admin.py:262
8286
msgid "Cloning {} plugins succeeded."
8387
msgstr ""
8488

85-
#: admin.py:265
89+
#: admin.py:266
8690
msgid "Cloning plugins failed: {}"
8791
msgstr ""
8892

content_editor/locale/hr/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: FeinCMS\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
11+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1212
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1313
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1414
"Language-Team: Croatian (http://www.transifex.com/projects/p/feincms/"
@@ -77,14 +77,18 @@ msgid "Clone from region"
7777
msgstr ""
7878

7979
#: admin.py:223
80+
msgid "Didn't find anything to clone"
81+
msgstr ""
82+
83+
#: admin.py:224
8084
msgid "Select all"
8185
msgstr ""
8286

83-
#: admin.py:261
87+
#: admin.py:262
8488
msgid "Cloning {} plugins succeeded."
8589
msgstr ""
8690

87-
#: admin.py:265
91+
#: admin.py:266
8892
msgid "Cloning plugins failed: {}"
8993
msgstr ""
9094

content_editor/locale/it/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: FeinCMS\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
10+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1111
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1212
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1313
"Language-Team: Italian (http://www.transifex.com/projects/p/feincms/language/"
@@ -71,14 +71,18 @@ msgid "Clone from region"
7171
msgstr ""
7272

7373
#: admin.py:223
74+
msgid "Didn't find anything to clone"
75+
msgstr ""
76+
77+
#: admin.py:224
7478
msgid "Select all"
7579
msgstr ""
7680

77-
#: admin.py:261
81+
#: admin.py:262
7882
msgid "Cloning {} plugins succeeded."
7983
msgstr ""
8084

81-
#: admin.py:265
85+
#: admin.py:266
8286
msgid "Cloning plugins failed: {}"
8387
msgstr ""
8488

content_editor/locale/nb/LC_MESSAGES/django.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: FeinCMS\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-08-22 10:49+0200\n"
11+
"POT-Creation-Date: 2025-08-25 09:56+0200\n"
1212
"PO-Revision-Date: 2013-10-25 09:15+0000\n"
1313
"Last-Translator: Matthias Kestenholz <[email protected]>\n"
1414
"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/feincms/"
@@ -76,14 +76,18 @@ msgid "Clone from region"
7676
msgstr ""
7777

7878
#: admin.py:223
79+
msgid "Didn't find anything to clone"
80+
msgstr ""
81+
82+
#: admin.py:224
7983
msgid "Select all"
8084
msgstr ""
8185

82-
#: admin.py:261
86+
#: admin.py:262
8387
msgid "Cloning {} plugins succeeded."
8488
msgstr ""
8589

86-
#: admin.py:265
90+
#: admin.py:266
8791
msgid "Cloning plugins failed: {}"
8892
msgstr ""
8993

0 commit comments

Comments
 (0)