Skip to content
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

feat: add library tree modal translations #61

Merged
merged 2 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const MY_APP_NAME = {
};
```

- Create a file for each supported language in `src/langs/language_initials/your_app_name.ts` with the following content:
- Create a file for each supported language in `src/langs/<language-initials>/your_app_name.ts` with the following content:
```ts
import { MY_APP_NAME } from "../../constants/your_app_name";

Expand Down
2 changes: 2 additions & 0 deletions src/constants/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ export const LIBRARY = {
SIGN_IN_MODAL_CLOSE_BUTTON_ARIA_LABEL:
'SIGN_IN_MODAL_CLOSE_BUTTON_ARIA_LABEL',
VIEW_BUTTON_TOOLTIP: 'VIEW_BUTTON_TOOLTIP',
OWN_ITEMS_LABEL: 'OWN_ITEMS_LABEL',
SHARED_ITEMS_LABEL: 'SHARED_ITEMS_LABEL',
};
4 changes: 3 additions & 1 deletion src/langs/de/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@
"COLLECTION_EMPTY_DESCRIPTION_TEXT": "Dieses Element hat keine Beschreibung.",
"COLLECTION_INFO_BUTTON": "Information",
"SIGN_IN_MODAL_CLOSE_BUTTON_ARIA_LABEL": "Anmelden Modal schliessen",
"VIEW_BUTTON_TOOLTIP": "Element ansehen"
"VIEW_BUTTON_TOOLTIP": "Element ansehen",
"SHARED_ITEMS_LABEL": "Geteilte Elemente",
"OWN_ITEMS_LABEL": "Meine Gegenstände"
}
4 changes: 3 additions & 1 deletion src/langs/en/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@
"COLLECTION_EMPTY_DESCRIPTION_TEXT": "This item has no description.",
"COLLECTION_INFO_BUTTON": "Information",
"SIGN_IN_MODAL_CLOSE_BUTTON_ARIA_LABEL": "Close Sign In Modal",
"VIEW_BUTTON_TOOLTIP": "View item"
"VIEW_BUTTON_TOOLTIP": "View item",
"SHARED_ITEMS_LABEL": "Shared Items",
"OWN_ITEMS_LABEL": "Owned Items"
}
4 changes: 3 additions & 1 deletion src/langs/fr/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@
"SEARCH_RANGE_LABEL": "Champ de recherche",
"SEARCH_RANGES_ALL": "Tous",
"SEARCH_RANGES_TITLE": "Titre",
"SEARCH_RANGES_TAGS": "Tag"
"SEARCH_RANGES_TAGS": "Tag",
"SHARED_ITEMS_LABEL": "Eléments Partagés",
"OWN_ITEMS_LABEL": "Mes Eléments"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idéalement avec des majuscules sur les E (à ajouter sur tous les autres mais déjà ceux-là).

}