Browse Source

improve internationalisation

Damien Accorsi 6 years ago
parent
commit
44248f367d

BIN
tracim/tracim/i18n/en/LC_MESSAGES/tracim.mo View File


+ 98 - 64
tracim/tracim/i18n/en/LC_MESSAGES/tracim.po View File

@@ -7,7 +7,7 @@ msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: tracim 1.0.0\n"
9 9
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
-"POT-Creation-Date: 2017-09-05 16:27+0200\n"
10
+"POT-Creation-Date: 2017-11-03 16:52+0100\n"
11 11
 "PO-Revision-Date: 2017-09-05 16:31+0200\n"
12 12
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 13
 "Language: en\n"
@@ -242,7 +242,7 @@ msgstr ""
242 242
 msgid "Notification disabled for workspace {}"
243 243
 msgstr ""
244 244
 
245
-#: tracim/controllers/user.py:100 tracim/controllers/admin/user.py:207
245
+#: tracim/controllers/user.py:100 tracim/controllers/admin/user.py:202
246 246
 msgid "Empty password is not allowed."
247 247
 msgstr ""
248 248
 
@@ -250,63 +250,67 @@ msgstr ""
250 250
 msgid "The current password you typed is wrong"
251 251
 msgstr ""
252 252
 
253
-#: tracim/controllers/user.py:108 tracim/controllers/admin/user.py:211
253
+#: tracim/controllers/user.py:108 tracim/controllers/admin/user.py:206
254 254
 msgid "New passwords do not match."
255 255
 msgstr ""
256 256
 
257
-#: tracim/controllers/user.py:115
257
+#: tracim/controllers/user.py:114
258 258
 msgid "Your password has been changed"
259 259
 msgstr ""
260 260
 
261
-#: tracim/controllers/user.py:183
261
+#: tracim/controllers/user.py:182
262 262
 msgid "Email already in use"
263 263
 msgstr ""
264 264
 
265
-#: tracim/controllers/user.py:197
265
+#: tracim/controllers/user.py:196
266 266
 msgid "profile updated."
267 267
 msgstr ""
268 268
 
269
-#: tracim/controllers/admin/user.py:91
269
+#: tracim/controllers/admin/user.py:85
270 270
 msgid "You can't change your own profile"
271 271
 msgstr ""
272 272
 
273
-#: tracim/controllers/admin/user.py:98 tracim/controllers/admin/user.py:149
273
+#: tracim/controllers/admin/user.py:91 tracim/controllers/admin/user.py:144
274 274
 msgid "Unknown profile"
275 275
 msgstr ""
276 276
 
277
-#: tracim/controllers/admin/user.py:105
277
+#: tracim/controllers/admin/user.py:99
278 278
 msgid "User updated."
279 279
 msgstr ""
280 280
 
281
-#: tracim/controllers/admin/user.py:121
281
+#: tracim/controllers/admin/user.py:115
282 282
 msgid "User {} is now a basic user"
283 283
 msgstr ""
284 284
 
285
-#: tracim/controllers/admin/user.py:134
285
+#: tracim/controllers/admin/user.py:128
286 286
 msgid "User {} can now workspaces"
287 287
 msgstr ""
288 288
 
289
-#: tracim/controllers/admin/user.py:145
289
+#: tracim/controllers/admin/user.py:138
290 290
 msgid "User {} is now an administrator"
291 291
 msgstr ""
292 292
 
293
-#: tracim/controllers/admin/user.py:218
293
+#: tracim/controllers/admin/user.py:212
294 294
 msgid "The password has been changed"
295 295
 msgstr ""
296 296
 
297
-#: tracim/controllers/admin/user.py:246
297
+#: tracim/controllers/admin/user.py:241
298 298
 msgid "User {}: notification enabled for workspace {}"
299 299
 msgstr ""
300 300
 
301
-#: tracim/controllers/admin/user.py:260
301
+#: tracim/controllers/admin/user.py:255
302 302
 msgid "User {}: notification disabled for workspace {}"
303 303
 msgstr ""
304 304
 
305
-#: tracim/controllers/admin/user.py:326
305
+#: tracim/controllers/admin/user.py:322
306 306
 msgid "A user with email address \"{}\" already exists."
307 307
 msgstr ""
308 308
 
309
-#: tracim/controllers/admin/user.py:358
309
+#: tracim/controllers/admin/user.py:357
310
+msgid "User {0} created but email was not sent to {1}"
311
+msgstr ""
312
+
313
+#: tracim/controllers/admin/user.py:360
310 314
 msgid "User {} created."
311 315
 msgstr ""
312 316
 
@@ -314,15 +318,15 @@ msgstr ""
314 318
 msgid "User {} updated."
315 319
 msgstr ""
316 320
 
317
-#: tracim/controllers/admin/user.py:436
321
+#: tracim/controllers/admin/user.py:435
318 322
 msgid "User {} enabled."
319 323
 msgstr ""
320 324
 
321
-#: tracim/controllers/admin/user.py:449
325
+#: tracim/controllers/admin/user.py:448
322 326
 msgid "You can't de-activate your own account"
323 327
 msgstr ""
324 328
 
325
-#: tracim/controllers/admin/user.py:454
329
+#: tracim/controllers/admin/user.py:453
326 330
 msgid "User {} disabled"
327 331
 msgstr ""
328 332
 
@@ -340,37 +344,37 @@ msgstr ""
340 344
 msgid "User {} restored in workspace {} as {}"
341 345
 msgstr ""
342 346
 
343
-#: tracim/controllers/admin/workspace.py:92
347
+#: tracim/controllers/admin/workspace.py:96
344 348
 msgid "User {} added to workspace {} as {}"
345 349
 msgstr ""
346 350
 
347
-#: tracim/controllers/admin/workspace.py:118
351
+#: tracim/controllers/admin/workspace.py:129
348 352
 msgid "You can't change your own role"
349 353
 msgstr ""
350 354
 
351
-#: tracim/controllers/admin/workspace.py:122
355
+#: tracim/controllers/admin/workspace.py:133
352 356
 msgid "Unknown role"
353 357
 msgstr ""
354 358
 
355
-#: tracim/controllers/admin/workspace.py:127
359
+#: tracim/controllers/admin/workspace.py:138
356 360
 msgid "No change found."
357 361
 msgstr ""
358 362
 
359
-#: tracim/controllers/admin/workspace.py:209
363
+#: tracim/controllers/admin/workspace.py:224
360 364
 msgid "{} workspace created."
361 365
 msgstr ""
362 366
 
363
-#: tracim/controllers/admin/workspace.py:245
367
+#: tracim/controllers/admin/workspace.py:260
364 368
 msgid "{} workspace updated."
365 369
 msgstr ""
366 370
 
367
-#: tracim/controllers/admin/workspace.py:270
371
+#: tracim/controllers/admin/workspace.py:285
368 372
 msgid ""
369 373
 "{} workspace deleted. In case of error, you can <a class=\"alert-link\" "
370 374
 "href=\"{}\">restore it</a>."
371 375
 msgstr ""
372 376
 
373
-#: tracim/controllers/admin/workspace.py:283
377
+#: tracim/controllers/admin/workspace.py:298
374 378
 msgid "{} workspace restored."
375 379
 msgstr ""
376 380
 
@@ -393,72 +397,72 @@ msgstr ""
393 397
 msgid "Workspaces"
394 398
 msgstr ""
395 399
 
396
-#: tracim/lib/content.py:870
400
+#: tracim/lib/content.py:872
397 401
 msgid "The content did not changed"
398 402
 msgstr ""
399 403
 
400
-#: tracim/lib/content.py:1151
404
+#: tracim/lib/content.py:1153
401 405
 msgid "New folder"
402 406
 msgstr ""
403 407
 
404
-#: tracim/lib/content.py:1156
408
+#: tracim/lib/content.py:1158
405 409
 msgid "New folder {0}"
406 410
 msgstr ""
407 411
 
408
-#: tracim/lib/helpers.py:88
412
+#: tracim/lib/helpers.py:87
409 413
 msgid "{date} at {time}"
410 414
 msgstr ""
411 415
 
412
-#: tracim/lib/notifications.py:309
416
+#: tracim/lib/notifications.py:339
413 417
 msgid "<span id=\"content-intro-username\">{}</span> added a comment:"
414 418
 msgstr ""
415 419
 
416
-#: tracim/lib/notifications.py:311 tracim/lib/notifications.py:320
420
+#: tracim/lib/notifications.py:341 tracim/lib/notifications.py:350
417 421
 msgid "Answer"
418 422
 msgstr ""
419 423
 
420
-#: tracim/lib/notifications.py:317 tracim/lib/notifications.py:338
421
-#: tracim/lib/notifications.py:371 tracim/lib/notifications.py:379
424
+#: tracim/lib/notifications.py:347 tracim/lib/notifications.py:368
425
+#: tracim/lib/notifications.py:401 tracim/lib/notifications.py:409
422 426
 msgid "View online"
423 427
 msgstr ""
424 428
 
425
-#: tracim/lib/notifications.py:321
429
+#: tracim/lib/notifications.py:351
426 430
 msgid "<span id=\"content-intro-username\">{}</span> started a thread entitled:"
427 431
 msgstr ""
428 432
 
429
-#: tracim/lib/notifications.py:326
433
+#: tracim/lib/notifications.py:356
430 434
 msgid "<span id=\"content-intro-username\">{}</span> added a file entitled:"
431 435
 msgstr ""
432 436
 
433
-#: tracim/lib/notifications.py:333
437
+#: tracim/lib/notifications.py:363
434 438
 msgid "<span id=\"content-intro-username\">{}</span> added a page entitled:"
435 439
 msgstr ""
436 440
 
437
-#: tracim/lib/notifications.py:341
441
+#: tracim/lib/notifications.py:371
438 442
 msgid "<span id=\"content-intro-username\">{}</span> uploaded a new revision."
439 443
 msgstr ""
440 444
 
441
-#: tracim/lib/notifications.py:345
445
+#: tracim/lib/notifications.py:375
442 446
 msgid "<span id=\"content-intro-username\">{}</span> updated this page."
443 447
 msgstr ""
444 448
 
445
-#: tracim/lib/notifications.py:350 tracim/lib/notifications.py:360
449
+#: tracim/lib/notifications.py:380 tracim/lib/notifications.py:390
446 450
 msgid "<p id=\"content-body-intro\">Here is an overview of the changes:</p>"
447 451
 msgstr ""
448 452
 
449
-#: tracim/lib/notifications.py:355
453
+#: tracim/lib/notifications.py:385
450 454
 msgid ""
451 455
 "<span id=\"content-intro-username\">{}</span> updated the thread "
452 456
 "description."
453 457
 msgstr ""
454 458
 
455
-#: tracim/lib/notifications.py:374
459
+#: tracim/lib/notifications.py:404
456 460
 msgid ""
457 461
 "<span id=\"content-intro-username\">{}</span> updated the file "
458 462
 "description."
459 463
 msgstr ""
460 464
 
461
-#: tracim/lib/notifications.py:380
465
+#: tracim/lib/notifications.py:410
462 466
 msgid ""
463 467
 "<span id=\"content-intro-username\">{}</span> updated the following "
464 468
 "status:"
@@ -472,23 +476,23 @@ msgstr ""
472 476
 msgid "You're not allowed to access this resource"
473 477
 msgstr ""
474 478
 
475
-#: tracim/lib/workspace.py:192 tracim/templates/home.mak:134
479
+#: tracim/lib/workspace.py:208 tracim/templates/home.mak:134
476 480
 #: tracim/templates/master_no_toolbar_no_login.mak:109
477 481
 #: tracim/templates/admin/user_getone.mak:72
478 482
 #: tracim/templates/admin/workspace_getall.mak:73
479 483
 msgid "Workspace"
480 484
 msgstr ""
481 485
 
482
-#: tracim/lib/workspace.py:195 tracim/templates/admin/workspace_getone.mak:13
486
+#: tracim/lib/workspace.py:211 tracim/templates/admin/workspace_getone.mak:13
483 487
 #: tracim/templates/admin/workspace_getone.mak:27
484 488
 msgid "Workspace {}"
485 489
 msgstr ""
486 490
 
487
-#: tracim/model/auth.py:97
491
+#: tracim/model/auth.py:101
488 492
 msgid "Nobody"
489 493
 msgstr ""
490 494
 
491
-#: tracim/model/auth.py:98 tracim/templates/master_authenticated.mak:137
495
+#: tracim/model/auth.py:102 tracim/templates/master_authenticated.mak:137
492 496
 #: tracim/templates/master_no_toolbar_no_login.mak:114
493 497
 #: tracim/templates/admin/user_getall.mak:11
494 498
 #: tracim/templates/admin/user_getall.mak:20
@@ -496,11 +500,11 @@ msgstr ""
496 500
 msgid "Users"
497 501
 msgstr ""
498 502
 
499
-#: tracim/model/auth.py:99
503
+#: tracim/model/auth.py:103
500 504
 msgid "Global managers"
501 505
 msgstr ""
502 506
 
503
-#: tracim/model/auth.py:100
507
+#: tracim/model/auth.py:104
504 508
 msgid "Administrators"
505 509
 msgstr ""
506 510
 
@@ -1046,7 +1050,7 @@ msgstr ""
1046 1050
 #: tracim/templates/file/edit.mak:13 tracim/templates/file/edit.mak:14
1047 1051
 #: tracim/templates/folder/getone.mak:151 tracim/templates/page/edit.mak:13
1048 1052
 #: tracim/templates/page/edit.mak:14 tracim/templates/page/forms.mak:16
1049
-#: tracim/templates/workspace/getone.mak:227
1053
+#: tracim/templates/workspace/getone.mak:222
1050 1054
 msgid "Title"
1051 1055
 msgstr ""
1052 1056
 
@@ -1145,13 +1149,13 @@ msgstr ""
1145 1149
 
1146 1150
 #: tracim/templates/user_workspace_widgets.mak:80
1147 1151
 #: tracim/templates/folder/getone.mak:154
1148
-#: tracim/templates/workspace/getone.mak:226
1152
+#: tracim/templates/workspace/getone.mak:221
1149 1153
 msgid "Type"
1150 1154
 msgstr ""
1151 1155
 
1152 1156
 #: tracim/templates/user_workspace_widgets.mak:82
1153 1157
 #: tracim/templates/folder/getone.mak:152
1154
-#: tracim/templates/workspace/getone.mak:228
1158
+#: tracim/templates/workspace/getone.mak:223
1155 1159
 msgid "Status"
1156 1160
 msgstr ""
1157 1161
 
@@ -1473,14 +1477,12 @@ msgid ""
1473 1477
 "{last_modification_author})"
1474 1478
 msgstr ""
1475 1479
 
1476
-#: tracim/templates/file/getone.mak:69 tracim/templates/folder/getone.mak:67
1477
-#: tracim/templates/thread/getone.mak:69
1478
-msgid "Vous consultez <b>une version archivée</b> de la page courante."
1480
+#: tracim/templates/file/getone.mak:69
1481
+msgid "You are looking at an <b>archived file</b>."
1479 1482
 msgstr ""
1480 1483
 
1481
-#: tracim/templates/file/getone.mak:76 tracim/templates/folder/getone.mak:74
1482
-#: tracim/templates/thread/getone.mak:78
1483
-msgid "Vous consultez <b>une version supprimée</b> de la page courante."
1484
+#: tracim/templates/file/getone.mak:76
1485
+msgid "You are looking at a <b>deleted file</b>."
1484 1486
 msgstr ""
1485 1487
 
1486 1488
 #: tracim/templates/file/getone.mak:85
@@ -1607,23 +1609,31 @@ msgstr ""
1607 1609
 msgid "folder created on {date} at {time} by <b>{author}</b>"
1608 1610
 msgstr ""
1609 1611
 
1612
+#: tracim/templates/folder/getone.mak:67
1613
+msgid "You are looking at an <b>archived folder</b>."
1614
+msgstr ""
1615
+
1616
+#: tracim/templates/folder/getone.mak:74
1617
+msgid "You are looking at a <b>deleted folder</b>."
1618
+msgstr ""
1619
+
1610 1620
 #: tracim/templates/folder/getone.mak:89
1611 1621
 #: tracim/templates/workspace/getone.mak:163
1612 1622
 msgid "New ..."
1613 1623
 msgstr ""
1614 1624
 
1615 1625
 #: tracim/templates/folder/getone.mak:111
1616
-#: tracim/templates/workspace/getone.mak:201
1626
+#: tracim/templates/workspace/getone.mak:197
1617 1627
 msgid "hide..."
1618 1628
 msgstr ""
1619 1629
 
1620 1630
 #: tracim/templates/folder/getone.mak:121
1621
-#: tracim/templates/workspace/getone.mak:210
1631
+#: tracim/templates/workspace/getone.mak:206
1622 1632
 msgid "filter..."
1623 1633
 msgstr ""
1624 1634
 
1625 1635
 #: tracim/templates/folder/getone.mak:146
1626
-#: tracim/templates/workspace/getone.mak:221
1636
+#: tracim/templates/workspace/getone.mak:216
1627 1637
 msgid "This folder has not yet content."
1628 1638
 msgstr ""
1629 1639
 
@@ -1909,6 +1919,14 @@ msgstr ""
1909 1919
 msgid "page created on {date} at {time} by <b>{author}</b>"
1910 1920
 msgstr ""
1911 1921
 
1922
+#: tracim/templates/thread/getone.mak:69
1923
+msgid "You are looking at an <b>archived thread</b>."
1924
+msgstr ""
1925
+
1926
+#: tracim/templates/thread/getone.mak:78
1927
+msgid "You are looking at a <b>deleted thread</b>."
1928
+msgstr ""
1929
+
1912 1930
 #: tracim/templates/thread/getone.mak:119
1913 1931
 msgid "Invert order"
1914 1932
 msgstr ""
@@ -1968,6 +1986,16 @@ msgstr ""
1968 1986
 msgid "Remove this user from the current workspace"
1969 1987
 msgstr ""
1970 1988
 
1989
+#: tracim/templates/widgets/table_row.mak:68
1990
+#: tracim/templates/widgets/table_row.mak:98
1991
+msgid "archived"
1992
+msgstr ""
1993
+
1994
+#: tracim/templates/widgets/table_row.mak:70
1995
+#: tracim/templates/widgets/table_row.mak:100
1996
+msgid "deleted"
1997
+msgstr ""
1998
+
1971 1999
 #: tracim/templates/widgets/ui.mak:12
1972 2000
 msgid "Show trashed items"
1973 2001
 msgstr ""
@@ -2054,7 +2082,7 @@ msgstr ""
2054 2082
 msgid "You are not allowed to create content"
2055 2083
 msgstr ""
2056 2084
 
2057
-#: tracim/templates/workspace/getone.mak:229
2085
+#: tracim/templates/workspace/getone.mak:224
2058 2086
 msgid "Remarques"
2059 2087
 msgstr ""
2060 2088
 
@@ -2066,3 +2094,9 @@ msgstr ""
2066 2094
 msgid "Delete current workspace"
2067 2095
 msgstr ""
2068 2096
 
2097
+#~ msgid "Vous consultez <b>une version archivée</b> de la page courante."
2098
+#~ msgstr ""
2099
+
2100
+#~ msgid "Vous consultez <b>une version supprimée</b> de la page courante."
2101
+#~ msgstr ""
2102
+

File diff suppressed because it is too large
+ 318 - 899
tracim/tracim/i18n/fr/LC_MESSAGES/tracim.po


+ 2 - 2
tracim/tracim/templates/file/getone.mak View File

@@ -66,14 +66,14 @@
66 66
     <div class="alert alert-info" role="alert">
67 67
         <p>
68 68
             <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
69
-            ${_('Vous consultez <b>une version archivée</b> de la page courante.')|n}
69
+            ${_('You are looking at an <b>archived file</b>.')|n}
70 70
         </p>
71 71
     </div>
72 72
     % elif (result.file.is_deleted) :
73 73
     <div class="alert alert-info" role="alert">
74 74
         <p>
75 75
             <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
76
-            ${_('Vous consultez <b>une version supprimée</b> de la page courante.')|n}
76
+            ${_('You are looking at a <b>deleted file</b>.')|n}
77 77
         </p>
78 78
     </div>
79 79
     % endif

+ 2 - 2
tracim/tracim/templates/folder/getone.mak View File

@@ -64,14 +64,14 @@
64 64
     <div class="alert alert-info" role="alert">
65 65
         <p>
66 66
             <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
67
-            ${_('Vous consultez <b>une version archivée</b> de la page courante.')|n}
67
+            ${_('You are looking at an <b>archived folder</b>.')|n}
68 68
         </p>
69 69
     </div>
70 70
     % elif (result.folder.is_deleted) :
71 71
     <div class="alert alert-info" role="alert">
72 72
         <p>
73 73
             <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
74
-            ${_('Vous consultez <b>une version supprimée</b> de la page courante.')|n}
74
+            ${_('You are looking at a <b>deleted folder</b>.')|n}
75 75
         </p>
76 76
     </div>
77 77
     % endif

+ 2 - 2
tracim/tracim/templates/thread/getone.mak View File

@@ -66,7 +66,7 @@
66 66
         <div class="">
67 67
             <p>
68 68
                 <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
69
-                ${_('Vous consultez <b>une version archivée</b> de la page courante.')|n}
69
+                ${_('You are looking at an <b>archived thread</b>.')|n}
70 70
             </p>
71 71
         </div>
72 72
     </div>
@@ -75,7 +75,7 @@
75 75
         <div class="">
76 76
             <p>
77 77
                 <span class="pull-left"><i class="fa fa-fw fa-2x fa-warning" alt="" title=""></i></span>
78
-                ${_('Vous consultez <b>une version supprimée</b> de la page courante.')|n}
78
+                ${_('You are looking at a <b>deleted thread</b>.')|n}
79 79
             </p>
80 80
         </div>
81 81
     </div>

+ 4 - 4
tracim/tracim/templates/widgets/table_row.mak View File

@@ -65,9 +65,9 @@
65 65
         <!--td class="folder__content__list__type">
66 66
             <span class="${content.type.color}">
67 67
                 % if (content.is_archived) :
68
-                    <i class="fa fa-archive fa-fw tracim-less-visible" title="Archivé"></i>
68
+                    <i class="fa fa-archive fa-fw tracim-less-visible" title="${_('archived')}"></i>
69 69
                 % elif (content.is_deleted) :
70
-                    <i class="fa fa-trash-o fa-fw tracim-less-visible" title="Supprimé"></i>
70
+                    <i class="fa fa-trash-o fa-fw tracim-less-visible" title="${_('deleted')}"></i>
71 71
                 % endif
72 72
                 ${content.type.label}
73 73
             </span>
@@ -95,9 +95,9 @@
95 95
                     <span class="t-less-visible">
96 96
                       ${content.status.label}
97 97
                       % if (content.is_archived) :
98
-                          - Archivé
98
+                          - ${_('archived')}
99 99
                       % elif (content.is_deleted) :
100
-                          - Supprimé
100
+                          - ${_('deleted')}
101 101
                       % endif
102 102
                     </span>
103 103
                 </a>