-
Notifications
You must be signed in to change notification settings - Fork 88
/
CommonStrings.cs
529 lines (423 loc) · 21.2 KB
/
CommonStrings.cs
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
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
namespace osu.Game.Resources.Localisation.Web
{
public static class CommonStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.Web.Common";
/// <summary>
/// "Are you sure?"
/// </summary>
public static LocalisableString Confirmation => new TranslatableString(getKey(@"confirmation"), @"Are you sure?");
/// <summary>
/// "Unsaved changes will be lost. Are you sure?"
/// </summary>
public static LocalisableString ConfirmationUnsaved => new TranslatableString(getKey(@"confirmation_unsaved"), @"Unsaved changes will be lost. Are you sure?");
/// <summary>
/// "Saved"
/// </summary>
public static LocalisableString Saved => new TranslatableString(getKey(@"saved"), @"Saved");
/// <summary>
/// ", "
/// </summary>
public static LocalisableString ArrayAndWordsConnector => new TranslatableString(getKey(@"array_and.words_connector"), @", ");
/// <summary>
/// " and "
/// </summary>
public static LocalisableString ArrayAndTwoWordsConnector => new TranslatableString(getKey(@"array_and.two_words_connector"), @" and ");
/// <summary>
/// ", and "
/// </summary>
public static LocalisableString ArrayAndLastWordConnector => new TranslatableString(getKey(@"array_and.last_word_connector"), @", and ");
/// <summary>
/// "NEW"
/// </summary>
public static LocalisableString BadgesNew => new TranslatableString(getKey(@"badges.new"), @"NEW");
/// <summary>
/// "Admin"
/// </summary>
public static LocalisableString ButtonsAdmin => new TranslatableString(getKey(@"buttons.admin"), @"Admin");
/// <summary>
/// "Authorise"
/// </summary>
public static LocalisableString ButtonsAuthorise => new TranslatableString(getKey(@"buttons.authorise"), @"Authorise");
/// <summary>
/// "Authorising..."
/// </summary>
public static LocalisableString ButtonsAuthorising => new TranslatableString(getKey(@"buttons.authorising"), @"Authorising...");
/// <summary>
/// "Return to previous position"
/// </summary>
public static LocalisableString ButtonsBackToPrevious => new TranslatableString(getKey(@"buttons.back_to_previous"), @"Return to previous position");
/// <summary>
/// "Back to top"
/// </summary>
public static LocalisableString ButtonsBackToTop => new TranslatableString(getKey(@"buttons.back_to_top"), @"Back to top");
/// <summary>
/// "Cancel"
/// </summary>
public static LocalisableString ButtonsCancel => new TranslatableString(getKey(@"buttons.cancel"), @"Cancel");
/// <summary>
/// "change"
/// </summary>
public static LocalisableString ButtonsChange => new TranslatableString(getKey(@"buttons.change"), @"change");
/// <summary>
/// "Clear"
/// </summary>
public static LocalisableString ButtonsClear => new TranslatableString(getKey(@"buttons.clear"), @"Clear");
/// <summary>
/// "click to copy to clipboard"
/// </summary>
public static LocalisableString ButtonsClickToCopy => new TranslatableString(getKey(@"buttons.click_to_copy"), @"click to copy to clipboard");
/// <summary>
/// "copied to clipboard!"
/// </summary>
public static LocalisableString ButtonsClickToCopyCopied => new TranslatableString(getKey(@"buttons.click_to_copy_copied"), @"copied to clipboard!");
/// <summary>
/// "Close"
/// </summary>
public static LocalisableString ButtonsClose => new TranslatableString(getKey(@"buttons.close"), @"Close");
/// <summary>
/// "collapse"
/// </summary>
public static LocalisableString ButtonsCollapse => new TranslatableString(getKey(@"buttons.collapse"), @"collapse");
/// <summary>
/// "Delete"
/// </summary>
public static LocalisableString ButtonsDelete => new TranslatableString(getKey(@"buttons.delete"), @"Delete");
/// <summary>
/// "Edit"
/// </summary>
public static LocalisableString ButtonsEdit => new TranslatableString(getKey(@"buttons.edit"), @"Edit");
/// <summary>
/// "expand"
/// </summary>
public static LocalisableString ButtonsExpand => new TranslatableString(getKey(@"buttons.expand"), @"expand");
/// <summary>
/// "hide"
/// </summary>
public static LocalisableString ButtonsHide => new TranslatableString(getKey(@"buttons.hide"), @"hide");
/// <summary>
/// "permalink"
/// </summary>
public static LocalisableString ButtonsPermalink => new TranslatableString(getKey(@"buttons.permalink"), @"permalink");
/// <summary>
/// "pin"
/// </summary>
public static LocalisableString ButtonsPin => new TranslatableString(getKey(@"buttons.pin"), @"pin");
/// <summary>
/// "Post"
/// </summary>
public static LocalisableString ButtonsPost => new TranslatableString(getKey(@"buttons.post"), @"Post");
/// <summary>
/// "read more"
/// </summary>
public static LocalisableString ButtonsReadMore => new TranslatableString(getKey(@"buttons.read_more"), @"read more");
/// <summary>
/// "Reply"
/// </summary>
public static LocalisableString ButtonsReply => new TranslatableString(getKey(@"buttons.reply"), @"Reply");
/// <summary>
/// "Reply and Reopen"
/// </summary>
public static LocalisableString ButtonsReplyReopen => new TranslatableString(getKey(@"buttons.reply_reopen"), @"Reply and Reopen");
/// <summary>
/// "Reply and Resolve"
/// </summary>
public static LocalisableString ButtonsReplyResolve => new TranslatableString(getKey(@"buttons.reply_resolve"), @"Reply and Resolve");
/// <summary>
/// "Reset"
/// </summary>
public static LocalisableString ButtonsReset => new TranslatableString(getKey(@"buttons.reset"), @"Reset");
/// <summary>
/// "Restore"
/// </summary>
public static LocalisableString ButtonsRestore => new TranslatableString(getKey(@"buttons.restore"), @"Restore");
/// <summary>
/// "Save"
/// </summary>
public static LocalisableString ButtonsSave => new TranslatableString(getKey(@"buttons.save"), @"Save");
/// <summary>
/// "Saving..."
/// </summary>
public static LocalisableString ButtonsSaving => new TranslatableString(getKey(@"buttons.saving"), @"Saving...");
/// <summary>
/// "Search"
/// </summary>
public static LocalisableString ButtonsSearch => new TranslatableString(getKey(@"buttons.search"), @"Search");
/// <summary>
/// "see more"
/// </summary>
public static LocalisableString ButtonsSeeMore => new TranslatableString(getKey(@"buttons.see_more"), @"see more");
/// <summary>
/// "show"
/// </summary>
public static LocalisableString ButtonsShow => new TranslatableString(getKey(@"buttons.show"), @"show");
/// <summary>
/// "Show deleted"
/// </summary>
public static LocalisableString ButtonsShowDeleted => new TranslatableString(getKey(@"buttons.show_deleted"), @"Show deleted");
/// <summary>
/// "show less"
/// </summary>
public static LocalisableString ButtonsShowLess => new TranslatableString(getKey(@"buttons.show_less"), @"show less");
/// <summary>
/// "show more"
/// </summary>
public static LocalisableString ButtonsShowMore => new TranslatableString(getKey(@"buttons.show_more"), @"show more");
/// <summary>
/// "show more options"
/// </summary>
public static LocalisableString ButtonsShowMoreOptions => new TranslatableString(getKey(@"buttons.show_more_options"), @"show more options");
/// <summary>
/// "Submit"
/// </summary>
public static LocalisableString ButtonsSubmit => new TranslatableString(getKey(@"buttons.submit"), @"Submit");
/// <summary>
/// "unpin"
/// </summary>
public static LocalisableString ButtonsUnpin => new TranslatableString(getKey(@"buttons.unpin"), @"unpin");
/// <summary>
/// "Update"
/// </summary>
public static LocalisableString ButtonsUpdate => new TranslatableString(getKey(@"buttons.update"), @"Update");
/// <summary>
/// "upload image"
/// </summary>
public static LocalisableString ButtonsUploadImage => new TranslatableString(getKey(@"buttons.upload_image"), @"upload image");
/// <summary>
/// "Unwatch"
/// </summary>
public static LocalisableString ButtonsWatchTo0 => new TranslatableString(getKey(@"buttons.watch.to_0"), @"Unwatch");
/// <summary>
/// "Watch"
/// </summary>
public static LocalisableString ButtonsWatchTo1 => new TranslatableString(getKey(@"buttons.watch.to_1"), @"Watch");
/// <summary>
/// "{0} badge|{0} badges"
/// </summary>
public static LocalisableString CountBadges(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.badges"), @"{0} badge|{0} badges", countDelimited);
/// <summary>
/// "{0} day|{0} days"
/// </summary>
public static LocalisableString CountDays(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.days"), @"{0} day|{0} days", countDelimited);
/// <summary>
/// "hr|hrs"
/// </summary>
public static LocalisableString CountHourShortUnit => new TranslatableString(getKey(@"count.hour_short_unit"), @"hr|hrs");
/// <summary>
/// "{0} hour|{0} hours"
/// </summary>
public static LocalisableString CountHours(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.hours"), @"{0} hour|{0} hours", countDelimited);
/// <summary>
/// "{0} unit|{0} units"
/// </summary>
public static LocalisableString CountItem(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.item"), @"{0} unit|{0} units", countDelimited);
/// <summary>
/// "min|mins"
/// </summary>
public static LocalisableString CountMinuteShortUnit => new TranslatableString(getKey(@"count.minute_short_unit"), @"min|mins");
/// <summary>
/// "{0} minute|{0} minutes"
/// </summary>
public static LocalisableString CountMinutes(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.minutes"), @"{0} minute|{0} minutes", countDelimited);
/// <summary>
/// "{0} month|{0} months"
/// </summary>
public static LocalisableString CountMonths(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.months"), @"{0} month|{0} months", countDelimited);
/// <summary>
/// "{0} notification|{0} notifications"
/// </summary>
public static LocalisableString CountNotifications(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.notifications"), @"{0} notification|{0} notifications", countDelimited);
/// <summary>
/// "+ {0} other!|+ {0} others!"
/// </summary>
public static LocalisableString CountPlusOthers(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.plus_others"), @"+ {0} other!|+ {0} others!", countDelimited);
/// <summary>
/// "{0} post|{0} posts"
/// </summary>
public static LocalisableString CountPost(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.post"), @"{0} post|{0} posts", countDelimited);
/// <summary>
/// "sec|secs"
/// </summary>
public static LocalisableString CountSecondShortUnit => new TranslatableString(getKey(@"count.second_short_unit"), @"sec|secs");
/// <summary>
/// "{0} star priority|{0} star priorities"
/// </summary>
public static LocalisableString CountStarPriority(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.star_priority"), @"{0} star priority|{0} star priorities", countDelimited);
/// <summary>
/// "{0} update|{0} updates"
/// </summary>
public static LocalisableString CountUpdate(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.update"), @"{0} update|{0} updates", countDelimited);
/// <summary>
/// "{0} view|{0} views"
/// </summary>
public static LocalisableString CountView(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.view"), @"{0} view|{0} views", countDelimited);
/// <summary>
/// "{0} year|{0} years"
/// </summary>
public static LocalisableString CountYears(LocalisableString countDelimited) => new TranslatableString(getKey(@"count.years"), @"{0} year|{0} years", countDelimited);
/// <summary>
/// "days"
/// </summary>
public static LocalisableString CountdownDays => new TranslatableString(getKey(@"countdown.days"), @"days");
/// <summary>
/// "hours"
/// </summary>
public static LocalisableString CountdownHours => new TranslatableString(getKey(@"countdown.hours"), @"hours");
/// <summary>
/// "minutes"
/// </summary>
public static LocalisableString CountdownMinutes => new TranslatableString(getKey(@"countdown.minutes"), @"minutes");
/// <summary>
/// "seconds"
/// </summary>
public static LocalisableString CountdownSeconds => new TranslatableString(getKey(@"countdown.seconds"), @"seconds");
/// <summary>
/// "MMMM YYYY"
/// </summary>
public static LocalisableString DatetimeYearMonthMoment => new TranslatableString(getKey(@"datetime.year_month.moment"), @"MMMM YYYY");
/// <summary>
/// "MMMM y"
/// </summary>
public static LocalisableString DatetimeYearMonthPhp => new TranslatableString(getKey(@"datetime.year_month.php"), @"MMMM y");
/// <summary>
/// "MMM YYYY"
/// </summary>
public static LocalisableString DatetimeYearMonthShortMoment => new TranslatableString(getKey(@"datetime.year_month_short.moment"), @"MMM YYYY");
/// <summary>
/// "Keyboard"
/// </summary>
public static LocalisableString DeviceKeyboard => new TranslatableString(getKey(@"device.keyboard"), @"Keyboard");
/// <summary>
/// "Mouse"
/// </summary>
public static LocalisableString DeviceMouse => new TranslatableString(getKey(@"device.mouse"), @"Mouse");
/// <summary>
/// "Tablet"
/// </summary>
public static LocalisableString DeviceTablet => new TranslatableString(getKey(@"device.tablet"), @"Tablet");
/// <summary>
/// "Touch Screen"
/// </summary>
public static LocalisableString DeviceTouch => new TranslatableString(getKey(@"device.touch"), @"Touch Screen");
/// <summary>
/// "drop here to upload"
/// </summary>
public static LocalisableString DropzoneTarget => new TranslatableString(getKey(@"dropzone.target"), @"drop here to upload");
/// <summary>
/// "search..."
/// </summary>
public static LocalisableString InputSearch => new TranslatableString(getKey(@"input.search"), @"search...");
/// <summary>
/// "prev"
/// </summary>
public static LocalisableString PaginationPrevious => new TranslatableString(getKey(@"pagination.previous"), @"prev");
/// <summary>
/// "next"
/// </summary>
public static LocalisableString PaginationNext => new TranslatableString(getKey(@"pagination.next"), @"next");
/// <summary>
/// "100"
/// </summary>
public static LocalisableString ScoreCountCount100 => new TranslatableString(getKey(@"score_count.count_100"), @"100");
/// <summary>
/// "300"
/// </summary>
public static LocalisableString ScoreCountCount300 => new TranslatableString(getKey(@"score_count.count_300"), @"300");
/// <summary>
/// "50"
/// </summary>
public static LocalisableString ScoreCountCount50 => new TranslatableString(getKey(@"score_count.count_50"), @"50");
/// <summary>
/// "MAX"
/// </summary>
public static LocalisableString ScoreCountCountGeki => new TranslatableString(getKey(@"score_count.count_geki"), @"MAX");
/// <summary>
/// "200"
/// </summary>
public static LocalisableString ScoreCountCountKatu => new TranslatableString(getKey(@"score_count.count_katu"), @"200");
/// <summary>
/// "Miss"
/// </summary>
public static LocalisableString ScoreCountCountMiss => new TranslatableString(getKey(@"score_count.count_miss"), @"Miss");
/// <summary>
/// "%dd"
/// </summary>
public static LocalisableString ScoreboardTimed => new TranslatableString(getKey(@"scoreboard_time.d"), @"%dd");
/// <summary>
/// "%dd"
/// </summary>
public static LocalisableString ScoreboardTimedd => new TranslatableString(getKey(@"scoreboard_time.dd"), @"%dd");
/// <summary>
/// "%dh"
/// </summary>
public static LocalisableString ScoreboardTimeh => new TranslatableString(getKey(@"scoreboard_time.h"), @"%dh");
/// <summary>
/// "%dh"
/// </summary>
public static LocalisableString ScoreboardTimehh => new TranslatableString(getKey(@"scoreboard_time.hh"), @"%dh");
/// <summary>
/// "now"
/// </summary>
public static LocalisableString ScoreboardTimem => new TranslatableString(getKey(@"scoreboard_time.m"), @"now");
/// <summary>
/// "now"
/// </summary>
public static LocalisableString ScoreboardTimemm => new TranslatableString(getKey(@"scoreboard_time.mm"), @"now");
/// <summary>
/// "%dm"
/// </summary>
public static LocalisableString ScoreboardTimeMonth => new TranslatableString(getKey(@"scoreboard_time.month"), @"%dm");
/// <summary>
/// "%dm"
/// </summary>
public static LocalisableString ScoreboardTimeMonths => new TranslatableString(getKey(@"scoreboard_time.months"), @"%dm");
/// <summary>
/// "%s"
/// </summary>
public static LocalisableString ScoreboardTimePast => new TranslatableString(getKey(@"scoreboard_time.past"), @"%s");
/// <summary>
/// "now"
/// </summary>
public static LocalisableString ScoreboardTimes => new TranslatableString(getKey(@"scoreboard_time.s"), @"now");
/// <summary>
/// "%dy"
/// </summary>
public static LocalisableString ScoreboardTimey => new TranslatableString(getKey(@"scoreboard_time.y"), @"%dy");
/// <summary>
/// "%dy"
/// </summary>
public static LocalisableString ScoreboardTimeyy => new TranslatableString(getKey(@"scoreboard_time.yy"), @"%dy");
/// <summary>
/// "{0} day ago|{0} days ago"
/// </summary>
public static LocalisableString TimeDaysAgo(LocalisableString countDelimited) => new TranslatableString(getKey(@"time.days_ago"), @"{0} day ago|{0} days ago", countDelimited);
/// <summary>
/// "{0} hour ago|{0} hours ago"
/// </summary>
public static LocalisableString TimeHoursAgo(LocalisableString countDelimited) => new TranslatableString(getKey(@"time.hours_ago"), @"{0} hour ago|{0} hours ago", countDelimited);
/// <summary>
/// "now"
/// </summary>
public static LocalisableString TimeNow => new TranslatableString(getKey(@"time.now"), @"now");
/// <summary>
/// "Time Remaining"
/// </summary>
public static LocalisableString TimeRemaining => new TranslatableString(getKey(@"time.remaining"), @"Time Remaining");
/// <summary>
/// "Notice"
/// </summary>
public static LocalisableString TitleNotice => new TranslatableString(getKey(@"title.notice"), @"Notice");
/// <summary>
/// "You're signed in as {0}. {1}."
/// </summary>
public static LocalisableString WrongUserDefault(LocalisableString user, LocalisableString logoutLink) => new TranslatableString(getKey(@"wrong_user._"), @"You're signed in as {0}. {1}.", user, logoutLink);
/// <summary>
/// "Click here to sign in as different user"
/// </summary>
public static LocalisableString WrongUserLogoutLink => new TranslatableString(getKey(@"wrong_user.logout_link"), @"Click here to sign in as different user");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}