feat: implement internationalization with multi-language support and runtime language selection
This commit is contained in:
1 parent
2de09383b9
commit
9c9114879d
26 files changed
+826
-159
No files matched your search
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"locale": "en-GB",
|
||||
"app": {
|
||||
"title": "vac-optimizer",
|
||||
"description": "Optimize your vacation days based on holidays and weekends!"
|
||||
},
|
||||
"userInput": {
|
||||
"addVacationDay": "Add a vacation day",
|
||||
"calculate": "Calculate",
|
||||
"remainingDaysWarning": "{count} vacation day{plural} not placed:",
|
||||
"remainingDaysManualPlace": "Please place them manually.",
|
||||
"chooseDate": "Choose a date",
|
||||
"daySuffix": "day",
|
||||
"daysSuffix": "days",
|
||||
"expires": "exp."
|
||||
},
|
||||
"dayTypes": {
|
||||
"weekend": "Weekend",
|
||||
"closedDay": "Public Holiday",
|
||||
"rtt": "RTT",
|
||||
"cp": "Paid Leave",
|
||||
"other": "Other",
|
||||
"today": "Today",
|
||||
"any": "Any"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Calendar Settings",
|
||||
"description": "Configure your calendar settings here.",
|
||||
"showWeekNumbers": "Show week numbers",
|
||||
"close": "Close",
|
||||
"selectLanguage": "Language"
|
||||
},
|
||||
"rules": {
|
||||
"title": "Custom Rules",
|
||||
"subtitle": "Manage optimization rules",
|
||||
"priorityInfo": "The order of rules defines their execution priority (from top to bottom). Drag and drop to reorder.",
|
||||
"ifThenTemplate": "If a holiday falls on a <strong>{day}</strong>, place <strong>{placeDays}</strong> day(s) <strong>{placeType}</strong> <strong>{placement}</strong> and get <strong>{rewardDays}</strong> day(s) <strong>{rewardType}</strong> as a bonus.",
|
||||
"timeWindowTemplate": "Place <strong>{placeDays}</strong> day(s) <strong>{placeType}</strong> between <strong>{startDate}</strong> and <strong>{endDate}</strong>.",
|
||||
"editRule": "Edit rule",
|
||||
"addRule": "Add a rule",
|
||||
"place": "Place",
|
||||
"ruleName": "Rule name",
|
||||
"holidayFalls": "Holiday falls on a",
|
||||
"days": "Days",
|
||||
"type": "Type",
|
||||
"position": "Position",
|
||||
"getBonus": "Get as bonus",
|
||||
"startDate": "Start date",
|
||||
"endDate": "End date",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save",
|
||||
"add": "Add",
|
||||
"addRuleButton": "Add Rule",
|
||||
"newIfThenRule": "New \"If ... Then\" Rule",
|
||||
"newTimeWindowRule": "New Imposed Period",
|
||||
"defaultNewRuleName": "New Rule",
|
||||
"defaultNewPeriodName": "New Period",
|
||||
"daysOfWeek": {
|
||||
"1": "Monday",
|
||||
"2": "Tuesday",
|
||||
"3": "Wednesday",
|
||||
"4": "Thursday",
|
||||
"5": "Friday",
|
||||
"6": "Saturday",
|
||||
"0": "Sunday"
|
||||
},
|
||||
"placement": {
|
||||
"before": "Before",
|
||||
"after": "After",
|
||||
"around": "Around",
|
||||
"auto": "Auto (Best choice)"
|
||||
}
|
||||
},
|
||||
"loading": "Calculating...",
|
||||
"weekdaysShort": ["M", "T", "W", "T", "F", "S", "S"]
|
||||
}
|
||||
Reference in new issue
Block a user