commit: 64eef1eae463e706f451213363fe94a0d9d7fe13
parent b367f22256edaa3536a7b2d6dea41fd472870181
Author: weblate-extractor <pleroma-weblate@kazv.moe>
Date: Sat, 24 Dec 2022 06:06:39 +0000
Extract translatable strings
Diffstat:
2 files changed, 31 insertions(+), 14 deletions(-)
diff --git a/priv/gettext/config_descriptions.pot b/priv/gettext/config_descriptions.pot
@@ -1914,12 +1914,6 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/pleroma/docs/translator.ex:5
-msgctxt "config description at :pleroma-:instance > :privileged_staff"
-msgid "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
-msgstr ""
-
-#, elixir-autogen, elixir-format
-#: lib/pleroma/docs/translator.ex:5
msgctxt "config description at :pleroma-:instance > :profile_directory"
msgid "Enable profile directory."
msgstr ""
@@ -4326,12 +4320,6 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/pleroma/docs/translator.ex:5
-msgctxt "config label at :pleroma-:instance > :privileged_staff"
-msgid "Privileged staff"
-msgstr ""
-
-#, elixir-autogen, elixir-format
-#: lib/pleroma/docs/translator.ex:5
msgctxt "config label at :pleroma-:instance > :profile_directory"
msgid "Profile directory"
msgstr ""
@@ -6021,3 +6009,27 @@ msgstr ""
msgctxt "config label at :pleroma-:instance > :report_strip_status"
msgid "Report strip status"
msgstr ""
+
+#, elixir-autogen, elixir-format
+#: lib/pleroma/docs/translator.ex:5
+msgctxt "config description at :pleroma-:instance > :admin_privileges"
+msgid "What extra privileges to allow admins (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
+msgstr ""
+
+#, elixir-autogen, elixir-format
+#: lib/pleroma/docs/translator.ex:5
+msgctxt "config description at :pleroma-:instance > :moderator_privileges"
+msgid "What extra privileges to allow moderators (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
+msgstr ""
+
+#, elixir-autogen, elixir-format
+#: lib/pleroma/docs/translator.ex:5
+msgctxt "config label at :pleroma-:instance > :admin_privileges"
+msgid "Admin privileges"
+msgstr ""
+
+#, elixir-autogen, elixir-format
+#: lib/pleroma/docs/translator.ex:5
+msgctxt "config label at :pleroma-:instance > :moderator_privileges"
+msgid "Moderator privileges"
+msgstr ""
diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot
@@ -563,7 +563,6 @@ msgid "This API requires an authenticated user"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/pleroma/web/plugs/ensure_staff_privileged_plug.ex:26
#: lib/pleroma/web/plugs/user_is_admin_plug.ex:21
msgid "User is not an admin."
msgstr ""
@@ -586,7 +585,6 @@ msgid "Too many attachments"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/pleroma/web/plugs/ensure_staff_privileged_plug.ex:33
#: lib/pleroma/web/plugs/user_is_staff_plug.ex:20
msgid "User is not a staff member."
msgstr ""
@@ -602,3 +600,10 @@ msgstr ""
#: lib/pleroma/web/mastodon_api/controllers/account_controller.ex:264
msgid "File is too large"
msgstr ""
+
+#, elixir-autogen, elixir-format
+#: lib/pleroma/web/plugs/ensure_privileged_plug.ex:21
+#: lib/pleroma/web/plugs/ensure_privileged_plug.ex:34
+#: lib/pleroma/web/plugs/ensure_privileged_plug.ex:41
+msgid "User isn't privileged."
+msgstr ""