Commit f4ddf216 authored by Alain St-Denis's avatar Alain St-Denis
Browse files

Updates to TRANSLATIONS.md + a case change in ReplyButton.vue

parent b0401c91
......@@ -34,16 +34,19 @@ If changes to the translation template file (django.pot) are made, they should f
```
for f in locale/*/LC_MESSAGES/django.po; do
msgmerge -U $f locale/django.pot
msgmerge -U $f locale/django.pot # NOTE: pybabel update could also be used
done
```
and be pushed to the repo and then forced synced from the weblate UI.
Hack
----
~/socialhome/translate/extract.py is a wrapper around pybabel's javascript extractor to deal with template literal placehlders and filters.
~/socialhome/translate/extract.py is a wrapper around pybabel's javascript extractor to deal with template literal placeholders and filters.
TODO: create an issue for this.
NOTE: pybabel is configured tp parse compiled js only. If changes are made to js or vue files, npm run dev should be run before updating the translation files.
......@@ -31,7 +31,7 @@ export default {
return true
},
translations() {
return {reply: gettext("Reply")}
return {reply: gettext("reply")}
},
},
}
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-05-21 18:06+0000\n"
"POT-Creation-Date: 2021-05-28 11:24+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -485,6 +485,10 @@ msgstr ""
msgid "Profile"
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid "reply"
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid "Full editor"
msgstr ""
......
......@@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-05-21 18:06+0000\n"
"POT-Creation-Date: 2021-05-28 11:24+0000\n"
"PO-Revision-Date: 2021-05-19 02:07+0000\n"
"Last-Translator: Weblate Admin <admin@example.com>\n"
"Language-Team: French <http://localhost:8001/projects/socialhome/socialhome/"
"fr/>\n"
"Language: fr\n"
"Language-Team: French "
"<http://localhost:8001/projects/socialhome/socialhome/fr/>\n"
"Plural-Forms: nplurals=2; plural=n > 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1\n"
"Generated-By: Babel 2.9.0\n"
#: socialhome/admin.py:29
......@@ -28,8 +28,8 @@ msgstr ""
#: socialhome/admin.py:38
msgid "Policy document update emails queued for sending."
msgstr ""
"Les courriels au sujet de la mise à jour du document de politique sont en"
" attente d'envoi."
"Les courriels au sujet de la mise à jour du document de politique sont en "
"attente d'envoi."
#: socialhome/admin.py:40
msgid "Send email update to all users"
......@@ -68,8 +68,8 @@ msgstr ""
#: socialhome/preferences.py:14
msgid ""
"If set to true, all outbound payloads will be saved as federate.Payload "
"instances (available in the admin). This is a performance hit so should "
"only be turned on for temporary debugging."
"instances (available in the admin). This is a performance hit so should only "
"be turned on for temporary debugging."
msgstr ""
#: socialhome/preferences.py:24
......@@ -79,8 +79,8 @@ msgstr ""
#: socialhome/preferences.py:25
msgid ""
"If set to true, all inbound payloads will be saved as federate.Payload "
"instances (available in the admin). This is a performance hit so should "
"only be turned on for temporary debugging."
"instances (available in the admin). This is a performance hit so should only "
"be turned on for temporary debugging."
msgstr ""
#: socialhome/content/enums.py:17 socialhome/streams/enums.py:18
......@@ -231,7 +231,8 @@ msgstr "Inclure les gens que je suis"
#: socialhome/content/models.py:149 socialhome/static/dist/vue/js/app.js:67
msgid "Automatically includes all the people you follow as recipients."
msgstr "Inclut automatiquement comme destinataires tous les gens que vous suivez."
msgstr ""
"Inclut automatiquement comme destinataires tous les gens que vous suivez."
#: socialhome/content/models.py:153
msgid "Remote created"
......@@ -400,8 +401,8 @@ msgstr ""
#: socialhome/notifications/templates/notifications/policy_document_update.html:21
#: socialhome/notifications/templates/notifications/policy_document_update.txt:14
msgid ""
"No actions are required by you. By continuing to use the service you "
"accept the new document(s)."
"No actions are required by you. By continuing to use the service you accept "
"the new document(s)."
msgstr ""
#: socialhome/notifications/templates/notifications/policy_document_update.txt:9
......@@ -494,6 +495,10 @@ msgstr "Accueil"
msgid "Profile"
msgstr "Profil"
#: socialhome/static/dist/vue/js/app.js:67
msgid "reply"
msgstr "répondre"
#: socialhome/static/dist/vue/js/app.js:67
msgid "Full editor"
msgstr ""
......@@ -671,8 +676,8 @@ msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid ""
"You can upload images using the camera icon or by dragging them to the "
"text area. Valid file types: png/jpg/svg/gif."
"You can upload images using the camera icon or by dragging them to the text "
"area. Valid file types: png/jpg/svg/gif."
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
......@@ -693,8 +698,7 @@ msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid ""
"visible to only users who are logged in. Does not federate to other "
"servers."
"visible to only users who are logged in. Does not federate to other servers."
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
......@@ -721,16 +725,15 @@ msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid ""
"Tip: You can use the \"Self\" visibility to create draft content and then"
" change the visibility to for example \"Public\" when you want to publish"
" it."
"Tip: You can use the \"Self\" visibility to create draft content and then "
"change the visibility to for example \"Public\" when you want to publish it."
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid ""
"Pinned content will be shown on your personal profile in the order you "
"want. Reorder pinned content from the profile menu. Pinned content will "
"federate and otherwise function as any other content."
"Pinned content will be shown on your personal profile in the order you want. "
"Reorder pinned content from the profile menu. Pinned content will federate "
"and otherwise function as any other content."
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
......@@ -739,8 +742,8 @@ msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
msgid ""
"When visibility is set to 'Limited', you must either specify recipients "
"or include your followers."
"When visibility is set to 'Limited', you must either specify recipients or "
"include your followers."
msgstr ""
#: socialhome/static/dist/vue/js/app.js:67
......@@ -938,9 +941,8 @@ msgstr ""
#: socialhome/templates/account/email.html:46
msgid ""
"You currently do not have any e-mail address set up. You should really "
"add an e-mail address so you can receive notifications, reset your "
"password, etc."
"You currently do not have any e-mail address set up. You should really add "
"an e-mail address so you can receive notifications, reset your password, etc."
msgstr ""
#: socialhome/templates/account/email.html:51
......@@ -965,8 +967,8 @@ msgstr ""
#: socialhome/templates/account/email_confirm.html:18
#, python-format
msgid ""
"Please confirm that <a href=\"mailto:%(email)s\">%(email)s</a> is an "
"e-mail address for user %(user_display)s."
"Please confirm that <a href=\"mailto:%(email)s\">%(email)s</a> is an e-mail "
"address for user %(user_display)s."
msgstr ""
#: socialhome/templates/account/email_confirm.html:22
......@@ -977,17 +979,17 @@ msgstr "Confirmer la destruction"
#: socialhome/templates/account/email_confirm.html:29
#, python-format
msgid ""
"This e-mail confirmation link expired or is invalid. Please <a "
"href=\"%(email_url)s\">issue a new e-mail confirmation request</a>."
"This e-mail confirmation link expired or is invalid. Please <a href="
"\"%(email_url)s\">issue a new e-mail confirmation request</a>."
msgstr ""
"Ce lien de confirmation de courriel est expiré ou est invalide. Veuillez "
"en <a href=\"%(email_url)s\">créer un nouveau</a>."
"Ce lien de confirmation de courriel est expiré ou est invalide. Veuillez en "
"<a href=\"%(email_url)s\">créer un nouveau</a>."
#: socialhome/templates/account/email_confirmed.html:16
#, python-format
msgid ""
"You have confirmed that <a href=\"mailto:%(email)s\">%(email)s</a> is an "
"e-mail address for user %(user_display)s."
"You have confirmed that <a href=\"mailto:%(email)s\">%(email)s</a> is an e-"
"mail address for user %(user_display)s."
msgstr ""
#: socialhome/templates/account/login.html:8
......@@ -1000,8 +1002,8 @@ msgstr ""
#, python-format
msgid ""
"Please sign in with one\n"
" of your existing third party accounts. Or, <a "
"href=\"%(signup_url)s\">sign up</a>\n"
" of your existing third party accounts. Or, <a href=\"%(signup_url)s"
"\">sign up</a>\n"
" for a %(site_name)s account and sign in below:"
msgstr ""
......@@ -1042,8 +1044,8 @@ msgstr ""
#: socialhome/templates/account/password_reset.html:18
msgid ""
"Forgotten your password? Enter your e-mail address below, and we'll send "
"you an e-mail allowing you to reset it."
"Forgotten your password? Enter your e-mail address below, and we'll send you "
"an e-mail allowing you to reset it."
msgstr ""
#: socialhome/templates/account/password_reset.html:23
......@@ -1067,13 +1069,13 @@ msgstr ""
#: socialhome/templates/account/password_reset_from_key.html:15
#, python-format
msgid ""
"The password reset link was invalid, possibly because it has already been"
" used. Please request a <a href=\"%(passwd_reset_url)s\">new password "
"reset</a>."
"The password reset link was invalid, possibly because it has already been "
"used. Please request a <a href=\"%(passwd_reset_url)s\">new password reset</"
"a>."
msgstr ""
"Le lien de réinitialisation du mot de passe est invalide, possiblement "
"parce qu'il a déjà été utilisé. Veuiilez en demander <a "
"href=\"%(passwd_reset_url)s\">un nouveau</a>."
"Le lien de réinitialisation du mot de passe est invalide, possiblement parce "
"qu'il a déjà été utilisé. Veuiilez en demander <a href=\"%(passwd_reset_url)s"
"\">un nouveau</a>."
#: socialhome/templates/account/password_reset_from_key.html:21
msgid "change password"
......@@ -1097,8 +1099,7 @@ msgstr ""
#: socialhome/templates/account/signup.html:14
#, python-format
msgid ""
"Already have an account? Then please <a href=\"%(login_url)s\">sign "
"in</a>."
"Already have an account? Then please <a href=\"%(login_url)s\">sign in</a>."
msgstr ""
#: socialhome/templates/account/signup_closed.html:5
......@@ -1128,24 +1129,22 @@ msgstr ""
#: socialhome/templates/account/verified_email_required.html:16
msgid ""
"This part of the site requires us to verify that\n"
" you are who you claim to be. For this purpose, we require that "
"you\n"
" you are who you claim to be. For this purpose, we require that you\n"
" verify ownership of your e-mail address. "
msgstr ""
#: socialhome/templates/account/verified_email_required.html:20
msgid ""
"We have sent an e-mail to you for\n"
" verification. Please click on the link inside this e-mail. Please"
"\n"
" verification. Please click on the link inside this e-mail. Please\n"
" contact us if you do not receive it within a few minutes."
msgstr ""
#: socialhome/templates/account/verified_email_required.html:22
#, python-format
msgid ""
"<strong>Note:</strong> you can still <a href=\"%(email_url)s\">change "
"your e-mail address</a>."
"<strong>Note:</strong> you can still <a href=\"%(email_url)s\">change your e-"
"mail address</a>."
msgstr ""
#: socialhome/templates/dynamic_preferences/form.html:10
......@@ -1180,8 +1179,8 @@ msgstr ""
#: socialhome/templates/dynamic_preferences/form.html:51
msgid ""
"Export has been requested. You will receive an email when it is ready for"
" download."
"Export has been requested. You will receive an email when it is ready for "
"download."
msgstr ""
#: socialhome/templates/dynamic_preferences/form.html:52
......@@ -1322,13 +1321,13 @@ msgstr ""
#: socialhome/users/templates/users/user_api_token.html:12
msgid ""
"Important! Do not give anyone access to the token or they will be able to"
" use your account through client apps! If you lose your token or need a "
"new one, click 'Regenerate'."
"Important! Do not give anyone access to the token or they will be able to "
"use your account through client apps! If you lose your token or need a new "
"one, click 'Regenerate'."
msgstr ""
"Attention! Si vous divulguez votre jeton, n'importe qui pourra utiliser "
"votre compte via des applis client! Si vous perdez votre jeton ou en "
"désirez un nouveau, cliquez sur 'Regénérer'."
"votre compte via des applis client! Si vous perdez votre jeton ou en désirez "
"un nouveau, cliquez sur 'Regénérer'."
#: socialhome/users/templates/users/user_api_token.html:25
msgid "Regenerate"
......@@ -1351,16 +1350,16 @@ msgstr ""
#: socialhome/users/templates/users/user_confirm_delete.html:17
msgid ""
"\n"
" Hey! Please note that if you <i>do</i> go ahead with this, "
"might we say, drastic action, we will of course\n"
" Hey! Please note that if you <i>do</i> go ahead with this, might "
"we say, drastic action, we will of course\n"
" delete any content you have created on <i>this server</i>. "
"Additionally, we will try to delete the content\n"
" that <i>this server</i> has sent to <i>other servers</i> as "
"requested by <i>you</i>. These servers are owned\n"
" by other people (decentralization <3). If these other servers"
" choose to ignore the delete request or they\n"
" happen to have technical difficulties in deleting the content"
" as requested by us, please contact the\n"
" by other people (decentralization <3). If these other servers "
"choose to ignore the delete request or they\n"
" happen to have technical difficulties in deleting the content as "
"requested by us, please contact the\n"
" administrators of the other servers. Thanks <3\n"
" "
msgstr ""
......@@ -1384,8 +1383,8 @@ msgstr "Nouvelle image en cours de téléchargement"
#: socialhome/users/templates/users/userpicture_form.html:9
msgid ""
"Click the file browse button and choose an image file from your computer."
" Click 'Save'."
"Click the file browse button and choose an image file from your computer. "
"Click 'Save'."
msgstr ""
#: socialhome/users/templates/users/userpicture_form.html:10
......@@ -1394,10 +1393,10 @@ msgstr ""
#: socialhome/users/templates/users/userpicture_form.html:11
msgid ""
"Profile pictures are square shaped. If your picture is not square shaped,"
" you can choose a 'point of interest' by clicking the full image preview "
"on the right. Click on the center point you would like your profile "
"picture be around, then click 'Save'."
"Profile pictures are square shaped. If your picture is not square shaped, "
"you can choose a 'point of interest' by clicking the full image preview on "
"the right. Click on the center point you would like your profile picture be "
"around, then click 'Save'."
msgstr ""
#~ msgid "update"
......@@ -1406,9 +1405,6 @@ msgstr ""
#~ msgid "delete"
#~ msgstr "détruire"
#~ msgid "reply"
#~ msgstr "répondre"
#~ msgid "view"
#~ msgstr "voir"
......@@ -1417,4 +1413,3 @@ msgstr ""
#~ msgid "view-by-uuid"
#~ msgstr "voir-par-uuid"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment