Skip to content

Commit

Permalink
initial support for italian
Browse files Browse the repository at this point in the history
  • Loading branch information
dax committed Jun 2, 2024
1 parent 394ff88 commit 57205c6
Showing 1 changed file with 216 additions and 0 deletions.
216 changes: 216 additions & 0 deletions warp/static/i18n/it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@

warpGlobals.i18n = { locale: 'it' }

warpGlobals.i18n.weekdaysShort = [ 'Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab' ];

warpGlobals.i18n.datePicker = {
firstDay: 1, //first day of week
i18n_object: {
cancel: 'Cancel',
clear: 'Clear',
done: 'Ok',
previousMonth: '‹',
nextMonth: '›',
months: ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
monthsShort: ['Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic'],
weekdays: ['Domenica', 'Lunedi', 'Martedi', 'Mercoledi', 'Giovedi', 'Venerdi', 'Sabato'],
weekdaysShort: warpGlobals.i18n.weekdaysShort,
weekdaysAbbrev:['D','L','M','M','G','V','S'],
},
};

warpGlobals.i18n.tabulatorLangs = {
"default": { //keep default, so setting locale is not needed
"groups":{
"item":"item",
"items":"items",
},
"columns":{
},
"data":{
"loading":"", //just spinner is shown
"error":"Error",
},
"pagination":{
"page_size":"Page Size",
"page_title":"Show Page",
"first":"|«",
"first_title":"First Page",
"last":"»|",
"last_title":"Last Page",
"prev":"«",
"prev_title":"Prev Page",
"next":"»",
"next_title":"Next Page",
"all":"All",
},
"headerFilters":{
"default":"filter",
"columns":{}
}
}
};

warpGlobals.i18n.phrases = {
btn: {
"Login": "Login",
"Add": "Add",
"Cancel": "Cancel",
"Delete": "Delete",
"Save": "Save",
'Yes': 'Yes',
'No': 'No',
'Ok': 'Ok',
'Set': 'Set',
"YES, I'M SURE": "YES, I'M SURE",
"Generate password": "Generate password",
"Book": "Book",
"Update": "Update",
"Remove": "Remove",
"Assign": "Assign",
"Enable": "Enable",
"Disable": "Disable",
"Upload map": "Upload map",
"Add seats": "Add seats",
"Done adding": "Done adding",
"Restore": "Restore",
"Align all": "Align all",
"Finish alignment": "Finish",
},
'Password': 'Password',
'Bookings': 'Bookings',
'Report': 'Report',
'Users': 'Users',
'Groups': 'Groups',
'User name': 'User name',
'Zone': 'Zone',
'Seat': 'Seat',
'Time': 'Time',
'Login': 'Login',
'From': 'From',
'To': 'To',
'Type': 'Type',
'Group id': 'Group id',
'Group name': 'Group name',
"Group name cannot be empty.": "Group name cannot be empty.",
"Are you sure to delete group: %{group}": "Are you sure to delete group: %{group}",
"Select user": "Select user",
'Members of: %{group}': 'Members of: %{group}',
"Are you sure to remove %{user} from group %{group}?": "Are you sure to remove %{user} from group %{group}?",
"Add to group %{group}": "Add to group %{group}",
'Action successfull.': 'Action successfull.',
'Error': 'Error',
'Something went wrong (status=%{status}).': 'Something went wrong (status=%{status}).',
'Other error.': 'Inny błąd',
'Are you sure to delete this booking?': 'Are you sure to delete this booking?',
"Are you sure?": "Are you sure?",
"Account type": "Account type",
"Retype password": "Retype password",
accountTypes: {
"Admin": "Admin",
"User": "User",
"BLOCKED": "BLOCKED",
},
"Passwords don't match": "Hasła się nie zgadzają",
"Name cannot be empty.": "Nazwisko nie może być puste",
"All fields are mandatory": "Wszystkie pola są wymagane",
"ARE YOU SURE TO DELETE USER: %{user}?": "CZY JESTEŚ PEWIEN, ŻE CHCESZ USUNĄĆ UŻYTKOWNIKA: %{user}?",
"User has XXX bookin(s) ... ":
"User has a booking in the past. Deleting the user will delete the past booking from the report.||||"+
"User has %{smart_count} bookings in the past. Deleting the user will delete past bookings from the report.",
"You will delete the log of user's past bookings. It is usually a better idea to BLOCK the user.":
"You will delete the log of user's past bookings. It is usually a better idea to BLOCK the user.",
"Are you sure to delete user: %{user}": "Are you sure to delete user: %{user}",
"Select users to which the seat will be assigned:": "Select users to which the seat will be assigned:",
"The seat is available to be booked on the selected dates and time.":
"The seat is available to be booked on the selected dates and time.",
"The seat is available to be booked on the selected dates and time. However, you have other bookings at that time which will be automatically updated.":
"The seat is available to be booked on the selected dates and time. However, you have other bookings at that time which will be automatically updated.",
"The seat is booked by another person or not available.":
"The seat is booked by another person or not available.",
"The seat is booked by you on the selected date and time.":
"The seat is booked by you on the selected date and time.",
"The seat is booked by you, but not exactly on the selected date or time. You can update booking, all your other reservations at that time will be automatically updated.":
"The seat is booked by you, but not exactly on the selected date or time. You can update booking, all your other reservations at that time will be automatically updated.",
"The seat is booked by you, but not exactly on the selected date or time. You CANNOT update the booking as it is conflicting with another user booking.":
"The seat is booked by you, but not exactly on the selected date or time. You CANNOT update the booking as it is conflicting with another user booking.",
"The same meaning as the green type icon, but the seat is assigned to you, not assigned people cannot book it. Note that assignment isn't necessarily exclusive, the seat can be assigned to more than one person.":
"The same meaning as the green type icon, but the seat is assigned to you, not assigned people cannot book it. Note that assignment isn't necessarily exclusive, the seat can be assigned to more than one person.",
"The same meaning as the green type icon, but the seat is assigned to you, not assigned people cannot book it. Note that assignment isn't necessarily exclusive, the seat can be assigned to more than one person.":
"The same meaning as the green type icon, but the seat is assigned to you, not assigned people cannot book it. Note that assignment isn't necessarily exclusive, the seat can be assigned to more than one person.",
"The seat is disabled, cannot be booked, and is not visible to non-admins.":
"The seat is disabled, cannot be booked, and is not visible to non-admins.",
"The seat is assigned to some people. This status is visible only to admins. Note that you won't see this icon if the seat is assigned to you.":
"The seat is assigned to some people. This status is visible only to admins. Note that you won't see this icon if the seat is assigned to you.",
"Book as": "Book as",
"Seat %{seat_name}": "Seat %{seat_name}",
"Assigned to:": "Assigned to:",
"Bookings:": "Bookings:",
"Seat %{seat_name} to be booked:": "Seat %{seat_name} to be booked:",
"To be removed:": "To be removed:",
"Seat is successfully disabled.<br>However there are existing reservations in the the next few weeks. Existing reservations are not automatically removed, it has to be done manually.<br><br>":
"Seat is successfully disabled.<br>However there are existing reservations in the the next few weeks. Existing reservations are not automatically removed, it has to be done manually.<br><br>",
"Seat is successfully assigned.<br>However there are non-assignees' existing reservations in the the next few weeks. Existing reservations are not automatically removed, it has to be done manually.<br><br>":
"Seat is successfully assigned.<br>However there are non-assignees' existing reservations in the the next few weeks. Existing reservations are not automatically removed, it has to be done manually.<br><br>",
"Warning": "Warning",
"Change unsuccessfull": "Change unsuccessfull",
"Zones": "Zones",
"Zone name": "Name",
"Zone group": "Group",
"Num of admins": "Admins",
"Num of users": "Users",
"Num of viewers": "Viewers",
"Manage users": "Manage users",
'Edit zone': "Edit",
'Edit map': "Edit map",
"You will delete the log of all past bookings in this zone. It is usually a better idea to unassign all users from the zone to make it inaccessible.":
"You will delete the log of all past bookings in this zone. It is usually a better idea to unassign all users from the zone to make it inaccessible.",
"Are you sure to delete zone: %{zone_name}": "Are you sure to delete zone: %{zone_name}",
"Zone name and zone group cannot be empty.":
"Zone name and zone group cannot be empty.",
'Users assigned to: %{zone_name}': 'Users assigned to: %{zone_name}',
"Zone role": "Role",
zoneRoles: {
"ZoneAdmin": "Admin",
"User": "User",
"Viewer": "Viewer",
},
"Assign to zone: %{zone_name}": "Assign to zone: %{zone_name}",
"Are you sure to unassign %{user} from the zone?": "Are you sure to unassign %{user} from the zone?",
'User/group name': 'Name',
errorCode: {
"Forbidden (%{code})": "Forbidden (%{code})",
"Other error. (status=%{status} code=%{code})": "Other error. (status=%{status} code=%{code})",
"Other error. (status=%{status})": "Other error. (status=%{status})",
"213": "Group with this id already exists. (%{code})",
"155": 'User/group with this login already exists. (%{code})',
"102": "You don't have required permissions in the zone. (%{code})",
"103": "Wrong date. (%{code})",
"104": "You don't have required permissions in the zone. (%{code})",
"105": "You don't have required permissions in the zone. (%{code})",
"106": "Seat is not assigned to you. (%{code})",
"109": "Cannot book, the seat was already booked by someone else. (%{code})",
},
"Are you sure to update the zone?": "Are you sure to update the zone?",
"The following changes will be applied:<br>": "The following changes will be applied:<br>",
"- updated zone map<br>": "- updated zone map<br>",
"- added %{smart_count} seat(s)<br>":
"- added one seat<br>||||"+
"- added %{smart_count} seats<br>",
"- updated data of %{smart_count} seat(s)<br>":
"- updated data of a seat<br>||||"+
"- updated data of %{smart_count} seats<br>",
"- deleted %{smart_count} seat(s)<br>":
"- deleted a seat<br>||||"+
"- deleted %{smart_count} seats<br>",
seatEdit: {
"Seat name": "Seat name",
"X": "X",
"Y": "Y",
},
"All unsaved changes will be lost.": "All unsaved changes will be lost.",
"More than %{smart_count} rows are selected. Report will be limited to that number of rows.":
"More than one row is selected. Report will be limited to that number of rows.||||"+
"More than %{smart_count} rows are selected. Report will be limited to that number of rows.",
"Add to group": "Add to group",
};

0 comments on commit 57205c6

Please sign in to comment.