-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user interface: translations #211
Conversation
@@ -118,13 +121,13 @@ | |||
"Street": "Street", | |||
"City": "City", | |||
"No result found.": "No result found.", | |||
"monday": "monday", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that the translation mechanism should be used to apply an uppercase. (this has been probably already used at other places). We can use CSS rules for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in some place the CSS rule is a good method, but we already encounters issues with facets. It's then difficult to find the right selector to use ::first-letter
, because we want only the first letter of the string to be uppercased, not each first letter of each words.
ui/admin/src/assets/i18n/en.json
Outdated
@@ -99,17 +99,20 @@ | |||
"has 1 patron attached": "has 1 patron attached", | |||
"has # patrons attached": "has # patrons attached", | |||
"The default record cannot be deleted": "The default record cannot be deleted", | |||
"The recording contains settings": "The recording contains settings", | |||
"The recording contains settings": "The record contains settings", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be changed in the original string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
ui/admin/src/assets/i18n/fr.json
Outdated
"Closed": "Fermé", | ||
"locations": "dépôt", | ||
"no location": "pas de dépôt", | ||
"{{ 'no location' | translate }}": "{{ 'no location' | translate }}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected.
ui/admin/src/assets/i18n/en.json
Outdated
@@ -10,13 +10,13 @@ | |||
"ITEM_ON_LOAN": "ITEM_ON_LOAN", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Item in circulation or Item checked-out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
ui/admin/src/assets/i18n/en.json
Outdated
@@ -10,13 +10,13 @@ | |||
"ITEM_ON_LOAN": "ITEM_ON_LOAN", | |||
"ITEM_RETURNED": "ITEM_RETURNED", | |||
"ITEM_IN_TRANSIT_FOR_PICKUP": "ITEM_IN_TRANSIT_FOR_PICKUP", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Item in transit for pick-up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
ui/admin/src/assets/i18n/en.json
Outdated
@@ -10,13 +10,13 @@ | |||
"ITEM_ON_LOAN": "ITEM_ON_LOAN", | |||
"ITEM_RETURNED": "ITEM_RETURNED", | |||
"ITEM_IN_TRANSIT_FOR_PICKUP": "ITEM_IN_TRANSIT_FOR_PICKUP", | |||
"ITEM_IN_TRANSIT_TO_HOUSE": "ITEM_IN_TRANSIT_TO_HOUSE", | |||
"ITEM_IN_TRANSIT_TO_HOUSE": "Item in transit to owning library", | |||
"ITEM_AT_DESK": "ITEM_AT_DESK", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Item at desk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
ui/admin/src/assets/i18n/en.json
Outdated
@@ -10,13 +10,13 @@ | |||
"ITEM_ON_LOAN": "ITEM_ON_LOAN", | |||
"ITEM_RETURNED": "ITEM_RETURNED", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Item returned or checked-in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* NEW Updates the translations. * FIX Corrects some source strings. * FIX Corrects template code for translations. * FIX Ignores the angular builds when extracting messages to translate. * FIX Adds a favicon for apple touche devices. Signed-off-by: Igor Milhit <[email protected]>
Signed-off-by: Igor Milhit [email protected]
How to test
pipenv run invenio collect
(for the apple favicon), but you'll need to build the angluar app, so./scripts/bootstrap
is the way...