Browse Source

Add a bunch of gettext; Update catalogs and French translation

Dashie der otter 3 months ago
parent
commit
556e6402a2

notes-translation.txt → TRANSLATION-NOTES.txt View File

@@ -9,3 +9,9 @@ pybabel update -i messages.pot -d translations
9 9
 
10 10
 compile documents:
11 11
 pybabel compile -d translations
12
+
13
+### Language specific
14
+
15
+Album / Sound in english
16
+Album / Piste in french ("piste" sounds better than "son")
17
+

+ 1
- 1
controllers/albums.py View File

@@ -84,7 +84,7 @@ def edit(username, setslug):
84 84
         flash(gettext("Forbidden"), 'error')
85 85
         return redirect(url_for('bp_users.profile', name=username))
86 86
 
87
-    pcfg = {"title": gettext(u'Edit %(value)s', value=album.title)}
87
+    pcfg = {"title": gettext(u'Edit %(title)s', title=album.title)}
88 88
 
89 89
     form = AlbumForm(request.form, obj=album)
90 90
 

+ 2
- 2
controllers/sound.py View File

@@ -136,7 +136,7 @@ def upload():
136 136
             add_user_log(rec.id, user.id, 'sounds', 'info',
137 137
                          "Uploaded {0} -- {1}".format(rec.id, rec.title))
138 138
 
139
-            flash(gettext('Uploaded !'), 'success')
139
+            flash(gettext('Uploaded ! Processing will now follow.'), 'success')
140 140
         else:
141 141
             return render_template('sound/upload.jinja2', pcfg=pcfg,
142 142
                                    form=form, flash='Error with the file')
@@ -161,7 +161,7 @@ def edit(username, soundslug):
161 161
         flash(gettext("Forbidden"), "error")
162 162
         return redirect(url_for("bp_users.profile", name=username))
163 163
 
164
-    pcfg = {"title": gettext(u'Edit %(value)s', value=sound.title)}
164
+    pcfg = {"title": gettext(u'Edit %(title)s', title=sound.title)}
165 165
 
166 166
     form = SoundEditForm(request.form, obj=sound)
167 167
 

+ 2
- 2
controllers/users.py View File

@@ -47,7 +47,7 @@ def logs_delete(log_id):
47 47
 @bp_users.route('/user/<string:name>', methods=['GET'])
48 48
 @accept_fallback
49 49
 def profile(name):
50
-    pcfg = {"title": gettext(u"%(value)s' profile", value=name)}
50
+    pcfg = {"title": gettext(u"%(username)s' profile", username=name)}
51 51
 
52 52
     user = User.query.filter(User.name == name).first()
53 53
     if not user:
@@ -105,7 +105,7 @@ def actor_json(name):
105 105
 
106 106
 @bp_users.route('/user/<string:name>/sets', methods=['GET'])
107 107
 def profile_albums(name):
108
-    pcfg = {"title": gettext(u"%(value)s' profile", value=name)}
108
+    pcfg = {"title": gettext(u"%(username)s' profile", username=name)}
109 109
 
110 110
     user = User.query.filter(User.name == name).first()
111 111
     if not user:

+ 66
- 13
messages.pot View File

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version: PROJECT VERSION\n"
10 10
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11
-"POT-Creation-Date: 2018-08-12 15:45+0200\n"
11
+"POT-Creation-Date: 2018-08-15 08:29+0200\n"
12 12
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -158,8 +158,9 @@ msgstr ""
158 158
 msgid "Created !"
159 159
 msgstr ""
160 160
 
161
-#: controllers/albums.py:48 controllers/search.py:35 controllers/sound.py:21
162
-#: controllers/users.py:54 controllers/users.py:112 controllers/users.py:132
161
+#: controllers/albums.py:48 controllers/search.py:37 controllers/search.py:44
162
+#: controllers/sound.py:21 controllers/users.py:54 controllers/users.py:112
163
+#: controllers/users.py:132
163 164
 msgid "User not found"
164 165
 msgstr ""
165 166
 
@@ -174,7 +175,7 @@ msgstr ""
174 175
 
175 176
 #: controllers/albums.py:87 controllers/sound.py:164
176 177
 #, python-format
177
-msgid "Edit %(value)s"
178
+msgid "Edit %(title)s"
178 179
 msgstr ""
179 180
 
180 181
 #: controllers/albums.py:112
@@ -185,7 +186,7 @@ msgstr ""
185 186
 msgid "Home"
186 187
 msgstr ""
187 188
 
188
-#: controllers/search.py:15
189
+#: controllers/search.py:17
189 190
 msgid "Search user"
190 191
 msgstr ""
191 192
 
@@ -199,7 +200,7 @@ msgid "New upload"
199 200
 msgstr ""
200 201
 
201 202
 #: controllers/sound.py:139
202
-msgid "Uploaded !"
203
+msgid "Uploaded ! Processing will now follow."
203 204
 msgstr ""
204 205
 
205 206
 #: controllers/users.py:19
@@ -207,9 +208,8 @@ msgid "User Logs"
207 208
 msgstr ""
208 209
 
209 210
 #: controllers/users.py:50 controllers/users.py:108
210
-#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
211 211
 #, python-format
212
-msgid "%(value)s' profile"
212
+msgid "%(username)s' profile"
213 213
 msgstr ""
214 214
 
215 215
 #: controllers/users.py:128
@@ -383,7 +383,8 @@ msgid "An error occured"
383 383
 msgstr ""
384 384
 
385 385
 #: templates/album/edit.jinja2:7
386
-msgid "Edit album"
386
+#, python-format
387
+msgid "Edit album %(title)s"
387 388
 msgstr ""
388 389
 
389 390
 #: templates/album/edit.jinja2:15 templates/album/new.jinja2:15
@@ -406,7 +407,8 @@ msgstr ""
406 407
 msgid "%(value)s ago"
407 408
 msgstr ""
408 409
 
409
-#: templates/album/show.jinja2:126 templates/sound/show.jinja2:85
410
+#: templates/album/show.jinja2:88 templates/album/show.jinja2:126
411
+#: templates/sound/show.jinja2:85
410 412
 msgid "edit"
411 413
 msgstr ""
412 414
 
@@ -414,11 +416,32 @@ msgstr ""
414 416
 msgid "This album is empty."
415 417
 msgstr ""
416 418
 
417
-#: templates/search/local_user.jinja2:5 templates/search/remote_user.jinja2:5
419
+#: templates/album/show.jinja2:275
420
+msgid "Track reorder"
421
+msgstr ""
422
+
423
+#: templates/album/show.jinja2:275
424
+msgid "success"
425
+msgstr ""
426
+
427
+#: templates/search/local_user.jinja2:5
418 428
 #, python-format
419 429
 msgid "Searching for: <i>%(username)s</i>"
420 430
 msgstr ""
421 431
 
432
+#: templates/search/local_user.jinja2:14
433
+msgid "Local user:"
434
+msgstr ""
435
+
436
+#: templates/search/remote_user.jinja2:5
437
+#, python-format
438
+msgid "Searching for: <i>%(uri)s</i>"
439
+msgstr ""
440
+
441
+#: templates/search/remote_user.jinja2:13
442
+msgid "Remote user:"
443
+msgstr ""
444
+
422 445
 #: templates/security/change_password.html:9
423 446
 msgid "Set a new password"
424 447
 msgstr ""
@@ -431,12 +454,17 @@ msgstr ""
431 454
 msgid "Please Sign In"
432 455
 msgstr ""
433 456
 
457
+#: templates/security/login_user.html:22
458
+msgid "forgot password :("
459
+msgstr ""
460
+
434 461
 #: templates/security/register_user.html:8
435 462
 msgid "Register user"
436 463
 msgstr ""
437 464
 
438 465
 #: templates/sound/edit.jinja2:7
439
-msgid "Edit upload"
466
+#, python-format
467
+msgid "Edit upload: %(title)s"
440 468
 msgstr ""
441 469
 
442 470
 #: templates/sound/edit.jinja2:18 templates/sound/upload.jinja2:18
@@ -451,10 +479,22 @@ msgstr ""
451 479
 msgid "Please wait, transcoding is on her way..."
452 480
 msgstr ""
453 481
 
482
+#: templates/sound/show.jinja2:97
483
+msgid "download orig"
484
+msgstr ""
485
+
486
+#: templates/sound/show.jinja2:103
487
+msgid "download mp3"
488
+msgstr ""
489
+
454 490
 #: templates/sound/show.jinja2:110 templates/users/profile.jinja2:57
455 491
 msgid "In album:"
456 492
 msgstr ""
457 493
 
494
+#: templates/sound/show.jinja2:129
495
+msgid "Duration"
496
+msgstr ""
497
+
458 498
 #: templates/sound/show.jinja2:130
459 499
 msgid "Type"
460 500
 msgstr ""
@@ -485,7 +525,16 @@ msgstr ""
485 525
 
486 526
 #: templates/users/edit.jinja2:8
487 527
 #, python-format
488
-msgid "Edit profile - %(username)s"
528
+msgid "Edit profile: %(username)s"
529
+msgstr ""
530
+
531
+#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
532
+#, python-format
533
+msgid "%(username)s's profile"
534
+msgstr ""
535
+
536
+#: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
537
+msgid "See:"
489 538
 msgstr ""
490 539
 
491 540
 #: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
@@ -522,3 +571,7 @@ msgstr ""
522 571
 msgid "Item ID"
523 572
 msgstr ""
524 573
 
574
+#: templates/users/user_logs.jinja2:40
575
+msgid "N/A"
576
+msgstr ""
577
+

+ 2
- 2
templates/admin/logs.jinja2 View File

@@ -58,10 +58,10 @@
58 58
                    console.log("success");
59 59
                 }).done(function(data) {
60 60
                     console.log("Got status: " + data.status + " for ID " + data.id);
61
-                    if (data.status == "deleted") {
61
+                    if (data.status === "deleted") {
62 62
                         $('[data-log-id="' + data.id + '"]').remove();
63 63
                     } else {
64
-                        show_alert("danger", {{ gettext("Log deletion") }}, {{ gettext("An error occured") }});
64
+                        show_alert("danger", "{{ gettext("Log deletion") }}", "{{ gettext("An error occured") }}");
65 65
                     }
66 66
                 }).fail(function(data) {
67 67
                     console.log("fail" + data);

+ 1
- 1
templates/album/edit.jinja2 View File

@@ -4,7 +4,7 @@
4 4
 {% block content %}
5 5
     <div class="row">
6 6
         <div class="col-lg-6">
7
-            <h3>{{ gettext("Edit album") }} {{ album.title }}</h3>
7
+            <h3>{{ gettext("Edit album %(title)s", title=album.title) }}</h3>
8 8
         </div>
9 9
     </div>
10 10
 <div class="row">

+ 2
- 2
templates/album/show.jinja2 View File

@@ -85,7 +85,7 @@
85 85
                     <td>
86 86
                     </td>
87 87
                     {% if current_user.is_authenticated and album.user_id == current_user.id  %}
88
-                        <td class="si_btn_edit"><a class="btn btn-success btn-xs" href="{{ url_for('bp_albums.edit', username=album.user.name, setslug=album.slug) }}">edit</a></td>
88
+                        <td class="si_btn_edit"><a class="btn btn-success btn-xs" href="{{ url_for('bp_albums.edit', username=album.user.name, setslug=album.slug) }}">{{ gettext("edit") }}</a></td>
89 89
                         <td class="si_btn_delete">
90 90
                         <a role="button" tabindex="0" class="btn btn-danger btn-xs" data-trigger="focus"
91 91
                            data-container="body" data-toggle="popover" data-placement="top" data-html="true"
@@ -272,7 +272,7 @@
272 272
             data: JSON.stringify({'data': moved}),
273 273
         }).done(function( data ) {
274 274
             console.log("position changed in database successfully.");
275
-            show_alert('success', 'Track reorder', 'success');
275
+            show_alert('success', "{{ gettext('Track reorder') }}", "{{ gettext('success') }}");
276 276
             return true;
277 277
         }).fail(function(data) {
278 278
             // nope

+ 1
- 1
templates/search/local_user.jinja2 View File

@@ -11,7 +11,7 @@
11 11
         <div class="col-lg-10">
12 12
             {% for user in users %}
13 13
                 <div class="row_user">
14
-                    Local user: <a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ user.name }}</a>
14
+                    {{ gettext("Local user:") }} <a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ user.name }}</a>
15 15
                 </div>
16 16
             {% endfor %}
17 17
         </div>

+ 2
- 2
templates/search/remote_user.jinja2 View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 {% block content %}
4 4
     <div class="row">
5
-        <div class="col-lg-10"><h3>{{ gettext("Searching for: <i>%(username)s</i>", username=who) }}</h3></div>
5
+        <div class="col-lg-10"><h3>{{ gettext("Searching for: <i>%(uri)s</i>", uri=who) }}</h3></div>
6 6
     </div>
7 7
 
8 8
     <br/>
@@ -10,7 +10,7 @@
10 10
     <div class="row">
11 11
         <div class="col-lg-10">
12 12
             <div class="row_user">
13
-                Remote user: <a href="{{ user['url'] }}">{{ user['name'] }}@{{ user['instance'] }}</a>
13
+                {{ gettext("Remote user:") }} <a href="{{ user['url'] }}">{{ user['name'] }}@{{ user['instance'] }}</a>
14 14
             </div>
15 15
         </div>
16 16
     </div>

+ 1
- 1
templates/security/login_user.html View File

@@ -19,7 +19,7 @@
19 19
                     {{ wtf.form_field(login_user_form.remember) }}
20 20
 
21 21
                     {{ wtf.form_field(login_user_form.submit, button_map={'submit': 'success'}) }}
22
-                    <a href="{{ url_for('security.forgot_password') }}" role="button" class="btn btn-info">forgot password :(</a>
22
+                    <a href="{{ url_for('security.forgot_password') }}" role="button" class="btn btn-info">{{ gettext("forgot password :(") }}</a>
23 23
                 </form>
24 24
             </div>
25 25
         </div>

+ 1
- 1
templates/sound/edit.jinja2 View File

@@ -4,7 +4,7 @@
4 4
 {% block content %}
5 5
     <div class="row">
6 6
         <div class="col-lg-6">
7
-            <h3>{{ gettext("Edit upload") }} {{ sound.title }}</h3>
7
+            <h3>{{ gettext("Edit upload: %(title)s", title=sound.title) }}</h3>
8 8
         </div>
9 9
     </div>
10 10
 <div class="row">

+ 3
- 3
templates/sound/show.jinja2 View File

@@ -94,13 +94,13 @@
94 94
                 <tr>
95 95
                     <td>
96 96
                         <a class="btn btn-info btn-xs" href="{{ url_for('get_uploads_stuff', thing='sounds', stuff=sound.path_sound(orig=True)) }}">
97
-                            <i class="fa fa-download" aria-hidden="true"></i> download orig
97
+                            <i class="fa fa-download" aria-hidden="true"></i> {{ gettext("download orig") }}
98 98
                         </a>
99 99
                     </td>
100 100
                     {% if sound.transcode_needed and sound.processing_done() %}
101 101
                     <td>
102 102
                         <a class="btn btn-info btn-xs" href="{{ url_for('get_uploads_stuff', thing='sounds', stuff=sound.path_sound(orig=False)) }}">
103
-                            <i class="fa fa-download" aria-hidden="true"></i> download mp3
103
+                            <i class="fa fa-download" aria-hidden="true"></i> {{ gettext("download mp3") }}
104 104
                         </a>
105 105
                     </td>
106 106
                     {% endif %}
@@ -126,7 +126,7 @@
126 126
             </tr>
127 127
 
128 128
             {% if info %}
129
-                <tr><td>Duration</td><td colspan="2">{{ duration_song_human(info.duration) }}</td></tr>
129
+                <tr><td>{{ gettext("Duration") }}</td><td colspan="2">{{ duration_song_human(info.duration) }}</td></tr>
130 130
                 {% if info.type_human %}<tr><td>{{ gettext("Type") }}</td><td colspan="2">{{ info.type_human }}</td></tr>{% endif %}
131 131
                 {% if info.codec %}<tr><td>{{ gettext("Codec") }}</td><td colspan="2">{{ info.codec }}</td></tr>{% endif %}
132 132
                 {% if info.format %}<tr><td>{{ gettext("Format") }}</td><td colspan="2">{{ info.format }} bits</td></tr>{% endif %}

+ 1
- 1
templates/users/edit.jinja2 View File

@@ -5,7 +5,7 @@
5 5
 <div class="row">
6 6
     <div class="row">
7 7
         <div class="col-lg-6">
8
-            <h3>{{ gettext("Edit profile - %(username)s", username=current_user.name) }}</h3>
8
+            <h3>{{ gettext("Edit profile: %(username)s", username=current_user.name) }}</h3>
9 9
         </div>
10 10
     </div>
11 11
 

+ 2
- 2
templates/users/profile.jinja2 View File

@@ -10,12 +10,12 @@
10 10
 
11 11
 {% block content %}
12 12
     <div class="row">
13
-        <div class="col-lg-10"><h3>{{ gettext("%(value)s's profile", value=user.name) }}</h3></div>
13
+        <div class="col-lg-10"><h3>{{ gettext("%(username)s's profile", username=user.name) }}</h3></div>
14 14
     </div>
15 15
 
16 16
     <div class="row">
17 17
         <div class="col-lg-10">
18
-            See:&nbsp;<a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ gettext("all sounds") }} <span class="badge">{{ sounds.count() }}</span></a>
18
+            {{ gettext("See:") }}&nbsp;<a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ gettext("all sounds") }} <span class="badge">{{ sounds.count() }}</span></a>
19 19
             <a href="{{ url_for('bp_users.profile_albums', name=user.name) }}">{{ gettext("all albums") }} <span class="badge">{{ user.albums.count() }}</span></a>
20 20
         </div>
21 21
         <div class="col-lg-2">

+ 2
- 2
templates/users/profile_albums.jinja2 View File

@@ -10,12 +10,12 @@
10 10
 
11 11
 {% block content %}
12 12
     <div class="row">
13
-        <div class="col-lg-10"><h3>{{ gettext("%(value)s' profile", value=user.name) }}</h3></div>
13
+        <div class="col-lg-10"><h3>{{ gettext("%(username)s's profile", username=user.name) }}</h3></div>
14 14
     </div>
15 15
 
16 16
     <div class="row">
17 17
         <div class="col-lg-10">
18
-            See:&nbsp;<a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ gettext("all sounds") }} <span class="badge">{{ user.sounds.count() }}</span></a>
18
+            {{ gettext("See:") }} <a href="{{ url_for('bp_users.profile', name=user.name) }}">{{ gettext("all sounds") }} <span class="badge">{{ user.sounds.count() }}</span></a>
19 19
             <a href="{{ url_for('bp_users.profile_albums', name=user.name) }}">{{ gettext("all albums") }} <span class="badge">{{ user.albums.count() }}</span></a>
20 20
         </div>
21 21
         <div class="col-lg-2">

+ 1
- 1
templates/users/user_logs.jinja2 View File

@@ -37,7 +37,7 @@
37 37
                         {% elif log.item_id %}
38 38
                             {{ log.item_id }}
39 39
                         {% else %}
40
-                            N/A
40
+                            {{ gettext("N/A") }}
41 41
                         {% endif %}
42 42
                     </td>
43 43
                     <td>{{ log.message | replace('\r\n', '<br>') }}</td>

BIN
translations/fr/LC_MESSAGES/messages.mo View File


+ 101
- 93
translations/fr/LC_MESSAGES/messages.po View File

@@ -7,16 +7,17 @@ msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: PROJECT VERSION\n"
9 9
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
-"POT-Creation-Date: 2018-08-12 15:45+0200\n"
11
-"PO-Revision-Date: 2017-01-02 08:23+0100\n"
10
+"POT-Creation-Date: 2018-08-15 08:29+0200\n"
11
+"PO-Revision-Date: 2018-08-15 08:35+0200\n"
12 12
 "Last-Translator: \n"
13 13
 "Language: fr\n"
14 14
 "Language-Team: fr <LL@li.org>\n"
15
-"Plural-Forms: nplurals=2; plural=(n > 1)\n"
15
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
16 16
 "MIME-Version: 1.0\n"
17 17
 "Content-Type: text/plain; charset=utf-8\n"
18 18
 "Content-Transfer-Encoding: 8bit\n"
19 19
 "Generated-By: Babel 2.6.0\n"
20
+"X-Generator: Poedit 2.0.6\n"
20 21
 
21 22
 #: app.py:162 controllers/admin.py:53
22 23
 msgid "Config not found"
@@ -24,23 +25,23 @@ msgstr "Configuration non trouvée"
24 25
 
25 26
 #: app.py:202 app.py:209 app.py:216 app.py:224
26 27
 msgid "Whoops, something failed."
27
-msgstr ""
28
+msgstr "Whoops, quelque-chose à échoué."
28 29
 
29 30
 #: app.py:203
30 31
 msgid "Page not found"
31
-msgstr ""
32
+msgstr "Page non trouvée"
32 33
 
33 34
 #: app.py:210
34 35
 msgid "Access forbidden"
35
-msgstr ""
36
+msgstr "Accès refusé"
36 37
 
37 38
 #: app.py:217
38 39
 msgid "Gone"
39
-msgstr ""
40
+msgstr "Disparu"
40 41
 
41 42
 #: app.py:226
42 43
 msgid "Something is broken"
43
-msgstr ""
44
+msgstr "Quelque-chose est cassé"
44 45
 
45 46
 #: forms.py:46
46 47
 msgid "Username required"
@@ -48,7 +49,7 @@ msgstr "Nom d'utilisateur requis"
48 49
 
49 50
 #: forms.py:51
50 51
 msgid "Username already taken"
51
-msgstr "Nom d'utilisateur déjà pris"
52
+msgstr "Nom d'utilisateur déjà utilisé"
52 53
 
53 54
 #: forms.py:58
54 55
 msgid "Password"
@@ -84,11 +85,11 @@ msgstr "Mettre a jour le profil"
84 85
 
85 86
 #: forms.py:72
86 87
 msgid "Instance Name"
87
-msgstr ""
88
+msgstr "Nom de l 'instance"
88 89
 
89 90
 #: forms.py:73
90 91
 msgid "Instance description"
91
-msgstr ""
92
+msgstr "Description de l'instance"
92 93
 
93 94
 #: forms.py:75
94 95
 msgid "Update config"
@@ -112,15 +113,15 @@ msgstr "Album"
112 113
 
113 114
 #: forms.py:94 forms.py:115
114 115
 msgid "No album"
115
-msgstr ""
116
+msgstr "Aucun album"
116 117
 
117 118
 #: forms.py:98 forms.py:119 templates/sound/show.jinja2:114
118 119
 msgid "Licence"
119
-msgstr ""
120
+msgstr "License"
120 121
 
121 122
 #: forms.py:103 forms.py:124
122 123
 msgid "Cannot put private sound in public album"
123
-msgstr "Impossible de mettre un son privé dans un album public"
124
+msgstr "Impossible de mettre une piste privée dans un album public"
124 125
 
125 126
 #: forms.py:105 templates/layout.jinja2:63
126 127
 msgid "Upload"
@@ -132,7 +133,7 @@ msgstr "Description"
132 133
 
133 134
 #: forms.py:126
134 135
 msgid "Edit sound"
135
-msgstr "Éditer le son"
136
+msgstr "Éditer la piste"
136 137
 
137 138
 #: forms.py:135
138 139
 msgid "Save"
@@ -159,8 +160,9 @@ msgstr "Nouvel album"
159 160
 msgid "Created !"
160 161
 msgstr "Crée !"
161 162
 
162
-#: controllers/albums.py:48 controllers/search.py:35 controllers/sound.py:21
163
-#: controllers/users.py:54 controllers/users.py:112 controllers/users.py:132
163
+#: controllers/albums.py:48 controllers/search.py:37 controllers/search.py:44
164
+#: controllers/sound.py:21 controllers/users.py:54 controllers/users.py:112
165
+#: controllers/users.py:132
164 166
 msgid "User not found"
165 167
 msgstr "Utilisateur non trouvé"
166 168
 
@@ -171,47 +173,46 @@ msgstr "Album non trouvé"
171 173
 
172 174
 #: controllers/albums.py:84 controllers/sound.py:161 controllers/sound.py:203
173 175
 msgid "Forbidden"
174
-msgstr ""
176
+msgstr "Refusé"
175 177
 
176 178
 #: controllers/albums.py:87 controllers/sound.py:164
177 179
 #, python-format
178
-msgid "Edit %(value)s"
179
-msgstr "Éditer %(value)s"
180
+msgid "Edit %(title)s"
181
+msgstr "Editer %(title)s"
180 182
 
181 183
 #: controllers/albums.py:112
182 184
 msgid "Public album cannot have private sounds"
183
-msgstr "Un album public ne peut avoir de son privé"
185
+msgstr "Un album public ne peut avoir de piste privée"
184 186
 
185 187
 #: controllers/main.py:12
186 188
 msgid "Home"
187 189
 msgstr "Accueil"
188 190
 
189
-#: controllers/search.py:15
191
+#: controllers/search.py:17
190 192
 msgid "Search user"
191
-msgstr ""
193
+msgstr "Chercher un utilisateur"
192 194
 
193 195
 #: controllers/sound.py:33 controllers/sound.py:39 controllers/sound.py:42
194 196
 #: controllers/sound.py:157 controllers/sound.py:199
195 197
 msgid "Sound not found"
196
-msgstr "Son non trouvé"
198
+msgstr "Piste non trouvé"
197 199
 
198 200
 #: controllers/sound.py:92 templates/sound/upload.jinja2:7
199 201
 msgid "New upload"
200 202
 msgstr "Nouvel upload"
201 203
 
202 204
 #: controllers/sound.py:139
203
-msgid "Uploaded !"
204
-msgstr "Envoyé !"
205
+msgid "Uploaded ! Processing will now follow."
206
+msgstr "Uploadé ! Le traitement va suivre."
205 207
 
206 208
 #: controllers/users.py:19
207 209
 msgid "User Logs"
208 210
 msgstr "Logs utilisateur"
209 211
 
210 212
 #: controllers/users.py:50 controllers/users.py:108
211
-#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
212 213
 #, python-format
213
-msgid "%(value)s' profile"
214
-msgstr "Profil de %(value)s"
214
+msgid "%(username)s' profile"
215
+msgstr "profil de %(username)s"
215 216
 
216 217
 #: controllers/users.py:128
217 218
 msgid "Edit my profile"
@@ -219,31 +220,31 @@ msgstr "Éditer mon profile"
219 220
 
220 221
 #: controllers/users.py:150
221 222
 msgid "Profile updated"
222
-msgstr ""
223
+msgstr "Profil mis à jour"
223 224
 
224 225
 #: templates/about.jinja2:19
225 226
 #, python-format
226 227
 msgid "reel2bits is developped by %(dashie)s and is available under MIT license."
227
-msgstr ""
228
+msgstr "reel2bits est développé par %(dashie)s et est disponible sous licence MIT."
228 229
 
229 230
 #: templates/about.jinja2:21
230 231
 #, python-format
231 232
 msgid "Source code is here: %(link)s"
232
-msgstr ""
233
+msgstr "Le code source est ici: %(link)s"
233 234
 
234 235
 #: templates/about.jinja2:22
235 236
 #, python-format
236 237
 msgid "Issue tracker is here: %(link)s"
237
-msgstr ""
238
+msgstr "Le tracker de bugs est ici: %(link)s"
238 239
 
239 240
 #: templates/error_page.jinja2:7
240 241
 #, python-format
241 242
 msgid "Maybe you can go back to the %(link)s."
242
-msgstr ""
243
+msgstr "Peut-être vous voudriez aller de nouveau vers la %(link)s."
243 244
 
244 245
 #: templates/error_page.jinja2:7
245 246
 msgid "index"
246
-msgstr ""
247
+msgstr "page d'accueil"
247 248
 
248 249
 #: templates/layout.jinja2:53
249 250
 msgid "Toggle navigation"
@@ -305,11 +306,11 @@ msgstr "Se connecter"
305 306
 #: templates/layout.jinja2:118
306 307
 #, python-format
307 308
 msgid "version: %(version)s"
308
-msgstr ""
309
+msgstr "version: %(version)s"
309 310
 
310 311
 #: templates/layout.jinja2:121
311 312
 msgid "Sources"
312
-msgstr ""
313
+msgstr "Sources"
313 314
 
314 315
 #: templates/layout.jinja2:123
315 316
 msgid "Back to top"
@@ -384,8 +385,9 @@ msgid "An error occured"
384 385
 msgstr "Une erreur est survenue"
385 386
 
386 387
 #: templates/album/edit.jinja2:7
387
-msgid "Edit album"
388
-msgstr ""
388
+#, python-format
389
+msgid "Edit album %(title)s"
390
+msgstr "Éditer l'album %(title)s"
389 391
 
390 392
 #: templates/album/edit.jinja2:15 templates/album/new.jinja2:15
391 393
 #: templates/sound/edit.jinja2:15 templates/sound/upload.jinja2:15
@@ -407,7 +409,8 @@ msgstr "Annuler l'édition"
407 409
 msgid "%(value)s ago"
408 410
 msgstr "il-y-à %(value)s"
409 411
 
410
-#: templates/album/show.jinja2:126 templates/sound/show.jinja2:85
412
+#: templates/album/show.jinja2:88 templates/album/show.jinja2:126
413
+#: templates/sound/show.jinja2:85
411 414
 msgid "edit"
412 415
 msgstr "éditer"
413 416
 
@@ -415,10 +418,31 @@ msgstr "éditer"
415 418
 msgid "This album is empty."
416 419
 msgstr "Cet album est vide."
417 420
 
418
-#: templates/search/local_user.jinja2:5 templates/search/remote_user.jinja2:5
421
+#: templates/album/show.jinja2:275
422
+msgid "Track reorder"
423
+msgstr "Réorganisation des pistes"
424
+
425
+#: templates/album/show.jinja2:275
426
+msgid "success"
427
+msgstr "succès"
428
+
429
+#: templates/search/local_user.jinja2:5
419 430
 #, python-format
420 431
 msgid "Searching for: <i>%(username)s</i>"
421
-msgstr ""
432
+msgstr "Recherche pour: <i>%(username)s</i>"
433
+
434
+#: templates/search/local_user.jinja2:14
435
+msgid "Local user:"
436
+msgstr "Utilisateur local:"
437
+
438
+#: templates/search/remote_user.jinja2:5
439
+#, python-format
440
+msgid "Searching for: <i>%(uri)s</i>"
441
+msgstr "Recherche pour: <i>%(uri)s</i>"
442
+
443
+#: templates/search/remote_user.jinja2:13
444
+msgid "Remote user:"
445
+msgstr "Utilisateur distant:"
422 446
 
423 447
 #: templates/security/change_password.html:9
424 448
 msgid "Set a new password"
@@ -432,13 +456,18 @@ msgstr "Vous avez perdu votre mot de passe ? :'("
432 456
 msgid "Please Sign In"
433 457
 msgstr "Veuillez vous connecter"
434 458
 
459
+#: templates/security/login_user.html:22
460
+msgid "forgot password :("
461
+msgstr "mot de passe perdu :("
462
+
435 463
 #: templates/security/register_user.html:8
436 464
 msgid "Register user"
437 465
 msgstr "Enregistrer un utilisateur"
438 466
 
439 467
 #: templates/sound/edit.jinja2:7
440
-msgid "Edit upload"
441
-msgstr "Éditer l'upload"
468
+#, python-format
469
+msgid "Edit upload: %(title)s"
470
+msgstr "Éditer l'upload: %(title)s"
442 471
 
443 472
 #: templates/sound/edit.jinja2:18 templates/sound/upload.jinja2:18
444 473
 msgid "If you want to add to a new album you need to create it separately."
@@ -450,12 +479,24 @@ msgstr "Veuillez attendre, les métadonnés sont en cours de traitement..."
450 479
 
451 480
 #: templates/sound/show.jinja2:28
452 481
 msgid "Please wait, transcoding is on her way..."
453
-msgstr ""
482
+msgstr "Veuillez attendre, le transcoding est en cours de traitement..."
483
+
484
+#: templates/sound/show.jinja2:97
485
+msgid "download orig"
486
+msgstr "télécharger orig"
487
+
488
+#: templates/sound/show.jinja2:103
489
+msgid "download mp3"
490
+msgstr "télécharger mp3"
454 491
 
455 492
 #: templates/sound/show.jinja2:110 templates/users/profile.jinja2:57
456 493
 msgid "In album:"
457 494
 msgstr "Dans l'album:"
458 495
 
496
+#: templates/sound/show.jinja2:129
497
+msgid "Duration"
498
+msgstr "Durée"
499
+
459 500
 #: templates/sound/show.jinja2:130
460 501
 msgid "Type"
461 502
 msgstr "Type"
@@ -486,8 +527,17 @@ msgstr "Bitrate mode"
486 527
 
487 528
 #: templates/users/edit.jinja2:8
488 529
 #, python-format
489
-msgid "Edit profile - %(username)s"
490
-msgstr "Éditer le profil - %(username)s"
530
+msgid "Edit profile: %(username)s"
531
+msgstr "Éditer le profil: %(username)s"
532
+
533
+#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
534
+#, python-format
535
+msgid "%(username)s's profile"
536
+msgstr "Profil de %(username)s"
537
+
538
+#: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
539
+msgid "See:"
540
+msgstr "Voir:"
491 541
 
492 542
 #: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
493 543
 msgid "all sounds"
@@ -521,50 +571,8 @@ msgstr "Logs de %(username)s (100 derniers)"
521 571
 
522 572
 #: templates/users/user_logs.jinja2:24
523 573
 msgid "Item ID"
524
-msgstr ""
525
-
526
-#~ msgid ""
527
-#~ "reel2bits is developped by %(dashie)s "
528
-#~ "and is available under MIT license."
529
-#~ msgstr ""
530
-#~ "reel2bits est développé par %(dashie)s "
531
-#~ "et est disponible sous licence MIT."
532
-
533
-#~ msgid "Source code is here: %(link)s"
534
-#~ msgstr "Code source disponible: %(link)s"
535
-
536
-#~ msgid "Issue tracker is here: %(link)s"
537
-#~ msgstr "Gestionnaire de bugs ici: %(link)s"
538
-
539
-#~ msgid "Maybe you can go back to the %(link)s."
540
-#~ msgstr "Peut-être voulez-vous retourner à %(link)s."
541
-
542
-#~ msgid "index"
543
-#~ msgstr "accueil"
544
-
545
-#~ msgid "App Name"
546
-#~ msgstr "Nom de l'application"
547
-
548
-#~ msgid "No HTML5 player supported actually"
549
-#~ msgstr "Aucun lecteur HTML5 actuellement supporté"
550
-
551
-#~ msgid ""
552
-#~ "Use template for %(link1)s by %(link2)s"
553
-#~ " and use %(link3)s, reel2bits %(link4)s"
554
-#~ msgstr ""
555
-#~ "Utilise une template pour %(link1)s par"
556
-#~ " %(link2)s et utilise %(link3)s, reel2bits"
557
-#~ " %(link4)s"
558
-
559
-#~ msgid "source code"
560
-#~ msgstr "code source"
561
-
562
-#~ msgid "Running version %(version)s"
563
-#~ msgstr "Version en cours %(version)s"
564
-
565
-#~ msgid "Switch sound"
566
-#~ msgstr "Changer le son"
567
-
568
-#~ msgid "Sound"
569
-#~ msgstr "Son"
574
+msgstr "ID d'Objet"
570 575
 
576
+#: templates/users/user_logs.jinja2:40
577
+msgid "N/A"
578
+msgstr "N/A"

BIN
translations/pl/LC_MESSAGES/messages.mo View File


+ 93
- 21
translations/pl/LC_MESSAGES/messages.po View File

@@ -7,17 +7,17 @@ msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: PROJECT VERSION\n"
9 9
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
-"POT-Creation-Date: 2018-08-12 15:45+0200\n"
10
+"POT-Creation-Date: 2018-08-15 08:29+0200\n"
11 11
 "PO-Revision-Date: 2018-08-12 15:52+0200\n"
12 12
 "Last-Translator: Marcin Mikołajczak <me@m4sk.in>\n"
13 13
 "Language: pl\n"
14 14
 "Language-Team: pl <LL@li.org>\n"
15
-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
15
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && "
16
+"(n%100<10 || n%100>=20) ? 1 : 2)\n"
16 17
 "MIME-Version: 1.0\n"
17 18
 "Content-Type: text/plain; charset=utf-8\n"
18 19
 "Content-Transfer-Encoding: 8bit\n"
19 20
 "Generated-By: Babel 2.6.0\n"
20
-"X-Generator: Poedit 2.1.1\n"
21 21
 
22 22
 #: app.py:162 controllers/admin.py:53
23 23
 msgid "Config not found"
@@ -160,8 +160,9 @@ msgstr "Nowy album"
160 160
 msgid "Created !"
161 161
 msgstr "Utworzono!"
162 162
 
163
-#: controllers/albums.py:48 controllers/search.py:35 controllers/sound.py:21
164
-#: controllers/users.py:54 controllers/users.py:112 controllers/users.py:132
163
+#: controllers/albums.py:48 controllers/search.py:37 controllers/search.py:44
164
+#: controllers/sound.py:21 controllers/users.py:54 controllers/users.py:112
165
+#: controllers/users.py:132
165 166
 msgid "User not found"
166 167
 msgstr "Nie znaleziono użytkownika"
167 168
 
@@ -176,8 +177,8 @@ msgstr "Zabroniono"
176 177
 
177 178
 #: controllers/albums.py:87 controllers/sound.py:164
178 179
 #, python-format
179
-msgid "Edit %(value)s"
180
-msgstr "Edytuj %(value)s"
180
+msgid "Edit %(title)s"
181
+msgstr ""
181 182
 
182 183
 #: controllers/albums.py:112
183 184
 msgid "Public album cannot have private sounds"
@@ -187,7 +188,7 @@ msgstr "Publiczny album nie może zawierać prywatnych utworów"
187 188
 msgid "Home"
188 189
 msgstr "Strona główna"
189 190
 
190
-#: controllers/search.py:15
191
+#: controllers/search.py:17
191 192
 msgid "Search user"
192 193
 msgstr "Szukaj użytkownika"
193 194
 
@@ -201,18 +202,17 @@ msgid "New upload"
201 202
 msgstr "Nowe wysyłanie"
202 203
 
203 204
 #: controllers/sound.py:139
204
-msgid "Uploaded !"
205
-msgstr "Wysłano!"
205
+msgid "Uploaded ! Processing will now follow."
206
+msgstr ""
206 207
 
207 208
 #: controllers/users.py:19
208 209
 msgid "User Logs"
209 210
 msgstr "Dziennik użytkownika"
210 211
 
211 212
 #: controllers/users.py:50 controllers/users.py:108
212
-#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
213 213
 #, python-format
214
-msgid "%(value)s' profile"
215
-msgstr "Profil %(value)s"
214
+msgid "%(username)s' profile"
215
+msgstr ""
216 216
 
217 217
 #: controllers/users.py:128
218 218
 msgid "Edit my profile"
@@ -385,8 +385,9 @@ msgid "An error occured"
385 385
 msgstr "Wystąpił błąd"
386 386
 
387 387
 #: templates/album/edit.jinja2:7
388
-msgid "Edit album"
389
-msgstr "Edytuj album"
388
+#, python-format
389
+msgid "Edit album %(title)s"
390
+msgstr ""
390 391
 
391 392
 #: templates/album/edit.jinja2:15 templates/album/new.jinja2:15
392 393
 #: templates/sound/edit.jinja2:15 templates/sound/upload.jinja2:15
@@ -408,7 +409,8 @@ msgstr "Anuluj edycję"
408 409
 msgid "%(value)s ago"
409 410
 msgstr "%(value)s temu"
410 411
 
411
-#: templates/album/show.jinja2:126 templates/sound/show.jinja2:85
412
+#: templates/album/show.jinja2:88 templates/album/show.jinja2:126
413
+#: templates/sound/show.jinja2:85
412 414
 msgid "edit"
413 415
 msgstr "edytuj"
414 416
 
@@ -416,11 +418,32 @@ msgstr "edytuj"
416 418
 msgid "This album is empty."
417 419
 msgstr "Ten album jest pusty."
418 420
 
419
-#: templates/search/local_user.jinja2:5 templates/search/remote_user.jinja2:5
421
+#: templates/album/show.jinja2:275
422
+msgid "Track reorder"
423
+msgstr ""
424
+
425
+#: templates/album/show.jinja2:275
426
+msgid "success"
427
+msgstr ""
428
+
429
+#: templates/search/local_user.jinja2:5
420 430
 #, python-format
421 431
 msgid "Searching for: <i>%(username)s</i>"
422 432
 msgstr "Wyszukiwanie: <i>%(username)s</i>"
423 433
 
434
+#: templates/search/local_user.jinja2:14
435
+msgid "Local user:"
436
+msgstr ""
437
+
438
+#: templates/search/remote_user.jinja2:5
439
+#, python-format
440
+msgid "Searching for: <i>%(uri)s</i>"
441
+msgstr ""
442
+
443
+#: templates/search/remote_user.jinja2:13
444
+msgid "Remote user:"
445
+msgstr ""
446
+
424 447
 #: templates/security/change_password.html:9
425 448
 msgid "Set a new password"
426 449
 msgstr "Ustaw nie hasło"
@@ -433,13 +456,18 @@ msgstr "Zapomniałeś(-aś) hasła? :'("
433 456
 msgid "Please Sign In"
434 457
 msgstr "Proszę zalogować się"
435 458
 
459
+#: templates/security/login_user.html:22
460
+msgid "forgot password :("
461
+msgstr ""
462
+
436 463
 #: templates/security/register_user.html:8
437 464
 msgid "Register user"
438 465
 msgstr "Zarejestruj użytkownika"
439 466
 
440 467
 #: templates/sound/edit.jinja2:7
441
-msgid "Edit upload"
442
-msgstr "Edytuj"
468
+#, python-format
469
+msgid "Edit upload: %(title)s"
470
+msgstr ""
443 471
 
444 472
 #: templates/sound/edit.jinja2:18 templates/sound/upload.jinja2:18
445 473
 msgid "If you want to add to a new album you need to create it separately."
@@ -453,10 +481,22 @@ msgstr "Poczekaj, metadane utworu są przetwarzane…"
453 481
 msgid "Please wait, transcoding is on her way..."
454 482
 msgstr "Poczekaj, trwa transkodowanie…"
455 483
 
484
+#: templates/sound/show.jinja2:97
485
+msgid "download orig"
486
+msgstr ""
487
+
488
+#: templates/sound/show.jinja2:103
489
+msgid "download mp3"
490
+msgstr ""
491
+
456 492
 #: templates/sound/show.jinja2:110 templates/users/profile.jinja2:57
457 493
 msgid "In album:"
458 494
 msgstr "W albumie:"
459 495
 
496
+#: templates/sound/show.jinja2:129
497
+msgid "Duration"
498
+msgstr ""
499
+
460 500
 #: templates/sound/show.jinja2:130
461 501
 msgid "Type"
462 502
 msgstr "Rodzaj"
@@ -487,8 +527,17 @@ msgstr "Rodzaj przepustowości"
487 527
 
488 528
 #: templates/users/edit.jinja2:8
489 529
 #, python-format
490
-msgid "Edit profile - %(username)s"
491
-msgstr "Edytuj profil — %(username)s"
530
+msgid "Edit profile: %(username)s"
531
+msgstr ""
532
+
533
+#: templates/users/profile.jinja2:13 templates/users/profile_albums.jinja2:13
534
+#, python-format
535
+msgid "%(username)s's profile"
536
+msgstr ""
537
+
538
+#: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
539
+msgid "See:"
540
+msgstr ""
492 541
 
493 542
 #: templates/users/profile.jinja2:18 templates/users/profile_albums.jinja2:18
494 543
 msgid "all sounds"
@@ -524,6 +573,10 @@ msgstr "Dziennik użytkownika %(username)s (ostatnie 100 zdarzeń)"
524 573
 msgid "Item ID"
525 574
 msgstr "ID elementu"
526 575
 
576
+#: templates/users/user_logs.jinja2:40
577
+msgid "N/A"
578
+msgstr ""
579
+
527 580
 #~ msgid ""
528 581
 #~ "reel2bits is developped by %(dashie)s "
529 582
 #~ "and is available under MIT license."
@@ -568,3 +621,22 @@ msgstr "ID elementu"
568 621
 
569 622
 #~ msgid "Sound"
570 623
 #~ msgstr "Son"
624
+
625
+#~ msgid "Edit %(value)s"
626
+#~ msgstr "Edytuj %(value)s"
627
+
628
+#~ msgid "Uploaded !"
629
+#~ msgstr "Wysłano!"
630
+
631
+#~ msgid "%(value)s' profile"
632
+#~ msgstr "Profil %(value)s"
633
+
634
+#~ msgid "Edit album"
635
+#~ msgstr "Edytuj album"
636
+
637
+#~ msgid "Edit upload"
638
+#~ msgstr "Edytuj"
639
+
640
+#~ msgid "Edit profile - %(username)s"
641
+#~ msgstr "Edytuj profil — %(username)s"
642
+

Loading…
Cancel
Save