This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/
WebTransMessages.java
556 lines (377 loc) · 15.7 KB
/
WebTransMessages.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
package org.zanata.webtrans.client.resources;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.LocalizableResource.Generate;
import com.google.gwt.i18n.client.Messages;
@DefaultLocale
@Generate(format = "com.google.gwt.i18n.rebind.format.PropertiesFormat")
public interface WebTransMessages extends Messages
{
@DefaultMessage("Save")
String save();
@DefaultMessage("OK")
String ok();
@DefaultMessage("Cancel")
String cancel();
@DefaultMessage("(No Content)")
String noContent();
@DefaultMessage("{0}% ({1,number,#.#}hrs) {2}")
String statusBarPercentageHrs(double approved, double remainingHours, String by);
@DefaultMessage("{0,number,#.#}")
String statusBarLabelHours(double remainingHours);
@DefaultMessage("{0}%")
String statusBarLabelPercentage(double approved);
@DefaultMessage("http://zanata.org/")
String hrefHelpLink();
@DefaultMessage("{0} to {1} - Zanata Web Translation")
String windowTitle(String workspaceName, String localeName);
@DefaultMessage("{0} to {1} - {2}")
String windowTitle2(String workspaceName, String localeName, String title);
@DefaultMessage("First Page")
String firstPage();
@DefaultMessage("Previous Page")
String prevPage();
@DefaultMessage("Next Page")
String nextPage();
@DefaultMessage("Last Page")
String lastPage();
@DefaultMessage("Show Translation Suggestions")
String showTranslationMemoryPanel();
@DefaultMessage("Show Glossary Suggestions")
String showGlossaryPanel();
@DefaultMessage("Chat room")
String chatRoom();
@DefaultMessage("Hide Translation Memory and Glossary")
String hideSouthPanel();
@DefaultMessage("Restore Translation Memory and Glossary")
String restoreSouthPanel();
@DefaultMessage("Load")
String load();
@DefaultMessage("Restore Defaults")
String restoreDefaults();
@DefaultMessage("Loading")
String loading();
@DefaultMessage("Failed to load document from Server")
String loadDocFailed();
@DefaultMessage("Path")
String columnHeaderPath();
@DefaultMessage("Document")
String columnHeaderDocument();
@DefaultMessage("Statistic")
String columnHeaderStatistic();
@DefaultMessage("Complete")
String columnHeaderComplete();
@DefaultMessage("Incomplete")
String columnHeaderIncomplete();
@DefaultMessage("Remaining hours")
String columnHeaderRemaining();
@DefaultMessage("Last Upload")
String columnHeaderLastUpload();
@DefaultMessage("Last Translated")
String columnHeaderLastTranslated();
@DefaultMessage("Actions")
String columnHeaderAction();
@DefaultMessage("No document selected")
String noDocumentSelected();
@DefaultMessage("Project-wide Search & Replace")
String projectWideSearchAndReplace();
@DefaultMessage("Document List")
String documentListTitle();
@DefaultMessage("{0} has quit workspace")
String hasQuitWorkspace(String user);
@DefaultMessage("{0} has joined workspace")
String hasJoinedWorkspace(String user);
@DefaultMessage("Searching")
String searching();
@DefaultMessage("Search found results in {0} documents")
@AlternateMessage({ "one", "Search found results in 1 document" })
String searchFoundResultsInDocuments(@PluralCount int numDocs);
@DefaultMessage("Showing results for search \"{0}\" ({1} text flows in {2} documents)")
@AlternateMessage({
"one|one", "Showing results for search \"{0}\" (1 text flow in 1 document)",
"other|one", "Showing results for search \"{0}\" ({1} text flows in 1 document)"})
String showingResultsForProjectWideSearch(String searchString, @PluralCount int textFlows, @PluralCount int documents);
@DefaultMessage("Search \"{0}\" returned no results")
String searchForPhraseReturnedNoResults(String searchString);
@DefaultMessage("There are no search results to display")
String noSearchResults();
@DefaultMessage("Search failed")
String searchFailed();
@DefaultMessage("Preview")
String fetchPreview();
@DefaultMessage("Hide preview")
String hidePreview();
@DefaultMessage("Preview replacement in all selected text flows.")
String previewSelectedDescription();
@DefaultMessage("Select text flows to enable preview.")
String previewSelectedDisabledDescription();
@DefaultMessage("Previewing")
String fetchingPreview();
@DefaultMessage("Fetched preview")
String fetchedPreview();
@DefaultMessage("Failed to fetch preview")
String previewFailed();
@DefaultMessage("Replace")
String replace();
@DefaultMessage("Replace text in all selected text flows.")
String replaceSelectedDescription();
@DefaultMessage("Select text flows and view preview to enable replace.")
String replaceSelectedDisabledDescription();
@DefaultMessage("Preview is required before replacing text")
String previewRequiredBeforeReplace();
@DefaultMessage("Replacing")
String replacing();
@DefaultMessage("Replaced")
String replaced();
@DefaultMessage("Replaced \"{0}\" with \"{1}\" in {2} row {3} (\"{4}...\")")
String replacedTextInOneTextFlow(String searchText, String replacement, String docName, int oneBasedRowIndex, String truncatedText);
@DefaultMessage("Replaced \"{0}\" with \"{1}\" in {2} text flows")
@AlternateMessage({ "one", "Replaced \"{0}\" with \"{1}\" in 1 text flow" })
String replacedTextInMultipleTextFlows(String searchText, String replacement, @PluralCount int numFlows);
@DefaultMessage("Successfully replaced text")
String replacedTextSuccess();
@DefaultMessage("Replace text failed")
String replaceTextFailure();
@DefaultMessage("No replacement text has been entered")
String noReplacementPhraseEntered();
@DefaultMessage("No replacements to make")
String noReplacementsToMake();
@DefaultMessage("You have no access to modify translations")
String youAreNotAllowedToModifyTranslations();
@DefaultMessage("View in editor")
String viewDocInEditor();
@DefaultMessage("Show this document in editor view")
String viewDocInEditorDetailed();
@DefaultMessage("Search document in editor")
String searchDocInEditor();
@DefaultMessage("Show this document in the editor with the current search active")
String searchDocInEditorDetailed();
@DefaultMessage("Index")
String rowIndex();
@DefaultMessage("Source")
String source();
@DefaultMessage("Target")
String target();
@DefaultMessage("Actions")
String actions();
@DefaultMessage("Undo")
String undo();
@DefaultMessage("Undoing")
String undoInProgress();
@DefaultMessage("Undo replacement failed")
String undoReplacementFailure();
@DefaultMessage("Undo successful")
String undoSuccess();
// @formatter:off
@Description("Message for unsuccessful undo")
@DefaultMessage("{0} items can not be undone. {1} items are reverted")
@AlternateMessage({
"one|=0", "Item can not be undone",
"other|=0", "Items can not be undone"
})
String undoUnsuccessful(@PluralCount int unsuccessfulCount, @PluralCount int successfulCount);
// @formatter:on
@DefaultMessage("Undo failed")
String undoFailure();
@DefaultMessage("Undo not possible in read-only workspace")
String cannotUndoInReadOnlyMode();
@DefaultMessage("Select entire document")
String selectAllInDocument();
@DefaultMessage("Select or deselect all matching text flows in this document")
String selectAllInDocumentDetailed();
@DefaultMessage("No text flows selected")
String noTextFlowsSelected();
@DefaultMessage("{0} text flows selected")
@AlternateMessage({ "one", "1 text flow selected" })
String numTextFlowsSelected(@PluralCount int selectedFlows);
@DefaultMessage("Notification")
String notification();
@DefaultMessage("Available Keyboard Shortcuts")
String availableKeyShortcutsTitle();
@DefaultMessage("Select text flows in all documents")
String selectAllTextFlowsKeyShortcut();
@DefaultMessage("Focus search phrase")
String focusSearchPhraseKeyShortcut();
@DefaultMessage("Focus replacement phrase")
String focusReplacementPhraseKeyShortcut();
@DefaultMessage("Show available shortcuts")
String showAvailableKeyShortcuts();
@DefaultMessage("Application")
String applicationScope();
@DefaultMessage("Editing text")
String editScope();
@DefaultMessage("Editor navigation")
String navigationScope();
@DefaultMessage("Translation memory")
String tmScope();
@DefaultMessage("Glossary")
String glossaryScope();
@DefaultMessage("Toggle individual row action buttons (changes for next search)")
String toggleRowActionButtons();
@DefaultMessage("Replace text in selected rows")
String replaceSelectedKeyShortcut();
@DefaultMessage("Show document list")
String showDocumentListKeyShortcut();
@DefaultMessage("Show editor view")
String showEditorKeyShortcut();
@DefaultMessage("Show project-wide search view")
String showProjectWideSearch();
@DefaultMessage("Warning! This is a public channel")
String thisIsAPublicChannel();
@DefaultMessage("Only show documents that contain the search text with matching case")
String docListFilterCaseSensitiveDescription();
@DefaultMessage("Only show documents with full path and name in the search text")
String docListFilterExactMatchDescription();
@DefaultMessage("Enter text to filter the document list. Use commas (,) to separate multiple searches")
String docListFilterDescription();
@DefaultMessage("Disable 'Replace' button until previews have been generated for all selected text flows")
String requirePreviewDescription();
@DefaultMessage("Navigate to next row")
String navigateToNextRow();
@DefaultMessage("Navigate to previous row")
String navigateToPreviousRow();
@DefaultMessage("Open editor in selected row")
String openEditorInSelectedRow();
@DefaultMessage("Close keyboard shortcuts list")
String closeShortcutView();
@DefaultMessage("Search translation memory")
String searchTM();
@DefaultMessage("Search glossary")
String searchGlossary();
@DefaultMessage("Chat")
String chatScope();
@DefaultMessage("Publish chat content")
String publishChatContent();
@DefaultMessage("Version")
String versionNumber();
@DefaultMessage("User")
String modifiedBy();
@DefaultMessage("Date")
String modifiedDate();
@DefaultMessage("Paste into Editor")
String pasteIntoEditor();
@DefaultMessage("Translation History")
String translationHistory();
@Description("Tab text for translation history comparison")
@DefaultMessage("Compare ver. {0} and {1}")
String translationHistoryComparison(String versionOne, String versionTwo);
@DefaultMessage("Select 2 entries to compare")
String translationHistoryComparisonTitle();
@Description("latest version in translation history")
@DefaultMessage("Latest")
String latest();
@Description("current unsaved value in editor for translation history display")
@DefaultMessage("Unsaved")
String unsaved();
@DefaultMessage("Flip entries")
String flipComparingEntries();
@DefaultMessage("Workspace is set to read only")
String notifyReadOnlyWorkspace();
@DefaultMessage("Workspace is set to edit mode")
String notifyEditableWorkspace();
@DefaultMessage("Close")
String close();
@DefaultMessage("Options")
String options();
@DefaultMessage("Editor options")
String editorOptions();
@DefaultMessage("Validation options")
String validationOptions();
@DefaultMessage("Run validation")
String runValidation();
@DefaultMessage("Navigation key/button")
String navOption();
@DefaultMessage("Page size")
String pageSize();
@DefaultMessage("Read only")
String readOnly();
@DefaultMessage("Advanced user configuration")
String otherConfiguration();
@DefaultMessage("When unexpected error happens, a popup window will display and show it")
String showErrorsTooltip();
@DefaultMessage("Switch between syntax highlightable Editor and plain textarea (no syntax highlight but support spell check in all browser)")
String useCodeMirrorEditorTooltip();
@DefaultMessage("Show warning when 'Save as Approved' triggered via keyboard shortcut")
String showSaveApprovedWarningTooltip();
@DefaultMessage("Go to this entry")
String goToThisEntry();
@DefaultMessage("Style")
String style();
@DefaultMessage("Description")
String description();
@DefaultMessage("Blue color")
String blueColor();
@DefaultMessage("Red color + crossed out")
String redColorCrossedOut();
@DefaultMessage("Plain text")
String plainText();
@DefaultMessage("Text contain in result but not in search term")
String tmInsertTagDesc();
@DefaultMessage("Text contain in search term but not in result")
String tmDelTagDesc();
@DefaultMessage("Text contain in both search term and result")
String tmPlainTextDesc();
@DefaultMessage("New replacement text ")
String searchReplaceInsertTagDesc();
@DefaultMessage("Old text to be replaced")
String searchReplaceDelTagDesc();
@DefaultMessage("No changes")
String searchReplacePlainTextDesc();
@DefaultMessage("Color legend")
String colorLegend();
@DefaultMessage("Concurrent edit detected. Reset value for current row.")
String concurrentEdit();
@DefaultMessage("Other user has saved a newer version (Latest) while you are editing (Unsaved). Please resolve conflicts.")
String concurrentEditTitle();
@DefaultMessage("Editor")
String editor();
@DefaultMessage("Words")
String byWords();
@DefaultMessage("Message")
String byMessage();
@DefaultMessage("Refresh current page")
String refreshCurrentPage();
@DefaultMessage("Enable spell check in editor (Firefox only)")
String spellCheckTooltip();
@DefaultMessage("Translation Memory (TM) options")
String transMemoryOption();
@DefaultMessage("Display configuration")
String displayConfiguration();
@DefaultMessage("Configure how you want your editor to look like")
String displayConfigurationTooltip();
@DefaultMessage("Display optional Trans Unit Details")
String showTransUnitDetails();
@DefaultMessage("Only display Translation Unit Details when there is meta data otherwise hide it")
String showTransUnitDetailsTooltip();
@DefaultMessage("Download All Files")
String downloadAllFiles();
@DefaultMessage("Your download will be prepared and may take a few minutes to complete. Is this ok?")
String prepareDownloadConfirmation();
@DefaultMessage("Download files (zip)")
String downloadAllAsZip();
@DefaultMessage("Download all translated files.")
String downloadAllAsZipDescription();
@DefaultMessage("Download files (offline po zip)")
String downloadAllAsOfflinePoZip();
@DefaultMessage("Download all translated files in po format for offline translation.")
String downloadAllAsOfflinePoZipDescription();
@DefaultMessage("The project type for this iteration has not been set. Contact the project maintainer.")
String projectTypeNotSet();
@DefaultMessage("Run validation on documents in this page")
String documentValidationTitle();
@DefaultMessage("Has validation errors - {0}")
String hasValidationErrors(String docName);
@DefaultMessage("Last run: {0}")
String lastValidationRun(String completeTime);
@DefaultMessage("Upload document to merge/override translation")
String uploadButtonTitle();
@DefaultMessage("Download document with extension {0}")
String downloadFileTitle(String key);
@DefaultMessage("Comment")
String reviewComment();
@DefaultMessage("You")
String you();
@DefaultMessage("Compare")
String compare();
@DefaultMessage("Remove from comparison")
String removeFromComparison();
}