Skip to content

Commit

Permalink
MOBILE-4676: Change lang strings to use LMS strings when available
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva authored and crazyserver committed Nov 26, 2024
1 parent 476a179 commit b8efd9b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
24 changes: 12 additions & 12 deletions scripts/langindex.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"addon.block_myoverview.hiddencourses": "block_myoverview",
"addon.block_myoverview.inprogress": "block_myoverview",
"addon.block_myoverview.lastaccessed": "block_myoverview",
"addon.block_myoverview.nocoursesenrolled": "local_moodlemobileapp",
"addon.block_myoverview.nocoursesenrolled": "grades/notenrolled",
"addon.block_myoverview.nocoursesenrolleddescription": "local_moodlemobileapp",
"addon.block_myoverview.noresult": "local_moodlemobileapp",
"addon.block_myoverview.noresultdescription": "local_moodlemobileapp",
Expand Down Expand Up @@ -312,7 +312,7 @@
"addon.messages.noindividualconversations": "message",
"addon.messages.nomessagesfound": "message",
"addon.messages.noncontacts": "message",
"addon.messages.nousersfound": "local_moodlemobileapp",
"addon.messages.nousersfound": "moodle",
"addon.messages.numparticipants": "message",
"addon.messages.pendingcontactrequests": "message",
"addon.messages.removecontact": "message",
Expand All @@ -326,10 +326,10 @@
"addon.messages.selfconversationdefaultmessage": "message",
"addon.messages.sendcontactrequest": "message",
"addon.messages.showdeletemessages": "local_moodlemobileapp",
"addon.messages.type_blocked": "local_moodlemobileapp",
"addon.messages.type_offline": "local_moodlemobileapp",
"addon.messages.type_online": "local_moodlemobileapp",
"addon.messages.type_search": "local_moodlemobileapp",
"addon.messages.type_blocked": "message/blockedusers",
"addon.messages.type_offline": "message/offline",
"addon.messages.type_online": "message/online",
"addon.messages.type_search": "moodle/searchresults",
"addon.messages.type_strangers": "local_moodlemobileapp",
"addon.messages.unabletomessage": "message",
"addon.messages.unblockuser": "message",
Expand Down Expand Up @@ -677,7 +677,7 @@
"addon.mod_forum.favourites": "forum",
"addon.mod_forum.favouriteupdated": "forum",
"addon.mod_forum.forumnodiscussionsyet": "local_moodlemobileapp",
"addon.mod_forum.group": "local_moodlemobileapp",
"addon.mod_forum.group": "moodle",
"addon.mod_forum.lastpost": "forum",
"addon.mod_forum.lockdiscussion": "forum",
"addon.mod_forum.lockupdated": "forum",
Expand Down Expand Up @@ -744,7 +744,7 @@
"addon.mod_glossary.linking": "glossary",
"addon.mod_glossary.modulenameplural": "glossary",
"addon.mod_glossary.noentriesfound": "local_moodlemobileapp",
"addon.mod_glossary.searchquery": "local_moodlemobileapp",
"addon.mod_glossary.searchquery": "search/enteryoursearchquery",
"addon.mod_glossary.tagarea_glossary_entries": "glossary",
"addon.mod_h5pactivity.all_attempts": "h5pactivity",
"addon.mod_h5pactivity.answer_checked": "h5pactivity",
Expand Down Expand Up @@ -1022,7 +1022,7 @@
"addon.mod_survey.ipreferthat": "survey",
"addon.mod_survey.modulenameplural": "survey",
"addon.mod_survey.responses": "survey",
"addon.mod_survey.results": "local_moodlemobileapp",
"addon.mod_survey.results": "choice",
"addon.mod_survey.surveycompletednograph": "survey",
"addon.mod_url.accessurl": "local_moodlemobileapp",
"addon.mod_url.modulenameplural": "url",
Expand Down Expand Up @@ -1141,7 +1141,7 @@
"addon.notifications.errorgetnotifications": "local_moodlemobileapp",
"addon.notifications.markallread": "moodle",
"addon.notifications.notificationpreferences": "message",
"addon.notifications.notifications": "local_moodlemobileapp",
"addon.notifications.notifications": "moodle",
"addon.notifications.playsound": "local_moodlemobileapp",
"addon.notifications.therearentnotificationsyet": "local_moodlemobileapp",
"addon.notifications.typeofnotification": "local_moodlemobileapp",
Expand Down Expand Up @@ -1668,7 +1668,7 @@
"core.courses.completeenrolmentbrowser": "local_moodlemobileapp",
"core.courses.courses": "moodle",
"core.courses.downloadcourses": "local_moodlemobileapp",
"core.courses.enrolme": "local_moodlemobileapp",
"core.courses.enrolme": "enrol",
"core.courses.errorloadcategories": "local_moodlemobileapp",
"core.courses.errorloadcourses": "local_moodlemobileapp",
"core.courses.errorloadplugins": "local_moodlemobileapp",
Expand Down Expand Up @@ -1821,7 +1821,7 @@
"core.filenotfound": "resource",
"core.fileuploader.addfiletext": "repository",
"core.fileuploader.attachedfiles": "repository",
"core.fileuploader.audio": "local_moodlemobileapp",
"core.fileuploader.audio": "tiny_media",
"core.fileuploader.audiotitle": "tiny_recordrtc",
"core.fileuploader.camera": "local_moodlemobileapp",
"core.fileuploader.confirmuploadfile": "local_moodlemobileapp",
Expand Down
2 changes: 1 addition & 1 deletion src/addons/block/myoverview/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"hiddencourses": "Removed from view",
"inprogress": "In progress",
"lastaccessed": "Last accessed",
"nocoursesenrolled": "You're not enrolled in any courses yet.",
"nocoursesenrolled": "You are currently not enrolled in any courses.",
"nocoursesenrolleddescription": "Browse all available courses below and start learning.",
"noresult": "Your search didn't match any courses.",
"noresultdescription": "Try adjusting your filters or browse all courses below.",
Expand Down
2 changes: 1 addition & 1 deletion src/addons/messages/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"selfconversationdefaultmessage": "Save draft messages, links, notes etc. to access later.",
"sendcontactrequest": "Send contact request",
"showdeletemessages": "Show delete messages",
"type_blocked": "Blocked",
"type_blocked": "Blocked users",
"type_offline": "Offline",
"type_online": "Online",
"type_search": "Search results",
Expand Down
2 changes: 1 addition & 1 deletion src/addons/mod/glossary/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"linking": "Auto-linking",
"modulenameplural": "Glossaries",
"noentriesfound": "No entries were found.",
"searchquery": "Search query",
"searchquery": "Enter your search query",
"tagarea_glossary_entries": "Glossary entries"
}
8 changes: 4 additions & 4 deletions src/addons/mod/glossary/tests/behat/navigation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ Feature: Test glossary navigation
When I go back in the app
And I scroll to "Acerola" in the app
And I press "Search" in the app
And I set the field "Search query" to "something" in the app
And I set the field "Enter your search query" to "something" in the app
And I press enter
Then I should find "No entries were found." in the app

When I set the field "Search query" to "melon" in the app
When I set the field "Enter your search query" to "melon" in the app
And I press enter
Then I should find "Honeydew Melon" in the app
And I should find "Watermelon" in the app
Expand Down Expand Up @@ -265,11 +265,11 @@ Feature: Test glossary navigation

# Search
When I press "Search" in the app
And I set the field "Search query" to "something" in the app
And I set the field "Enter your search query" to "something" in the app
And I press enter
Then I should find "No entries were found." in the app

When I set the field "Search query" to "melon" in the app
When I set the field "Enter your search query" to "melon" in the app
And I press enter
Then I should find "Honeydew Melon" in the app
And I should find "Watermelon" in the app
Expand Down

0 comments on commit b8efd9b

Please sign in to comment.