Skip to content

Commit

Permalink
N21-1369 fix locales (#3329)
Browse files Browse the repository at this point in the history
* change tools (new) to tools
* remove duplicate language key "oldTools" and use "tools" everywhere
  • Loading branch information
IgorCapCoder authored Oct 12, 2023
1 parent c727d25 commit 3f0f5e9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,7 @@
"tab_label": {
"groups": "Gruppen",
"tasks": "Aufgaben",
"tools": "Tools (neu)",
"oldTools": "Tools",
"tools": "Tools",
"oldTopics": "Themen",
"topics": "Lerninhalte"
},
Expand Down
3 changes: 1 addition & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,7 @@
"tab_label": {
"groups": "Groups",
"tasks": "Tasks",
"tools": "Tools (new)",
"oldTools": "Tools",
"tools": "Tools",
"oldTopics": "Topics",
"topics": "Learning content"
},
Expand Down
3 changes: 1 addition & 2 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,7 @@
"tab_label": {
"groups": "Grupos",
"tasks": "Tareas",
"tools": "Herramientas (nuevo)",
"oldTools": "Herramientas",
"tools": "Herramientas",
"oldTopics": "Temas",
"topics": "Contenidos de aprendizaje"
},
Expand Down
3 changes: 1 addition & 2 deletions locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,7 @@
"tab_label": {
"groups": "Групи",
"tasks": "Завдання",
"tools": "Інструменти (новий)",
"oldTools": "Інструменти",
"tools": "Інструменти",
"oldTopics": "Теми",
"topics": "Зміст навчання"
},
Expand Down
2 changes: 1 addition & 1 deletion views/courses/course.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{{#if (getConfig "FEATURE_LTI_TOOLS_TAB_ENABLED")}}
<button class="tab" data-testid="tools" data-tab="js-tools" type="button">
<i class="mdi mdi-puzzle-outline" aria-hidden="true"></i>
<span class="text">{{$t "courses._course.tab_label.oldTools"}}</span>
<span class="text">{{$t "courses._course.tab_label.tools"}}</span>
</button>
{{/if}}
<button class="tab" data-testid="groups" data-tab="js-groups" type="button">
Expand Down

0 comments on commit 3f0f5e9

Please sign in to comment.