From 6a2b21520e82c5cd185f2bd1a23e1fb98e9d5f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 6 May 2024 12:28:45 +0200 Subject: [PATCH 1/7] MOBILE-4470 lang: Update langpacks --- moodle.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moodle.config.json b/moodle.config.json index 33aeb6439..fc2e939e3 100644 --- a/moodle.config.json +++ b/moodle.config.json @@ -48,7 +48,7 @@ "nl": "Nederlands", "no": "Norsk", "pl": "Polski", - "ps": "پښتو", + "ps": "لیسي", "pt": "Português - Portugal", "pt-br": "Português - Brasil", "ro": "Română", From a8b250b6e03fa84a422f3d7c63aa147bda3405c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 6 May 2024 15:20:42 +0200 Subject: [PATCH 2/7] MOBILE-4470 style: Remove lines that didn't appear on 4.3 --- .../blog/pages/edit-entry/edit-entry.html | 8 ++--- src/addons/blog/pages/index/index.html | 2 +- .../calendar/components/filter/filter.html | 2 +- .../calendar/components/filter/filter.scss | 12 ++++--- .../airnotifier/pages/devices/devices.html | 4 +-- .../messages/pages/settings/settings.html | 8 ++--- .../addon-mod-assign-submission.html | 4 +-- .../submission-list/submission-list.html | 4 +-- .../mod/chat/pages/sessions/sessions.html | 2 +- .../mod/data/components/search/search.html | 4 +-- .../mod/forum/components/post/post.scss | 2 +- .../forum/pages/discussion/discussion.scss | 7 ++-- .../pages/new-discussion/new-discussion.html | 13 ++++---- ...-forum-activity-in-app-reply-a-post_14.png | Bin 25173 -> 24428 bytes src/addons/mod/glossary/pages/edit/edit.html | 6 ++-- .../workshop/pages/submission/submission.html | 30 +++++++++--------- .../pages/settings/settings.html | 10 +++--- .../core-context-menu-popover.html | 2 +- .../components/rate/core-rating-rate.html | 2 +- src/core/features/settings/pages/dev/dev.html | 8 ++--- .../settings/pages/general/general.html | 16 +++++----- .../features/settings/pages/index/index.html | 4 ++- .../features/settings/pages/site/site.html | 2 +- .../synchronization/synchronization.html | 2 +- src/theme/components/ion-item.scss | 22 +++++++------ 25 files changed, 92 insertions(+), 84 deletions(-) diff --git a/src/addons/blog/pages/edit-entry/edit-entry.html b/src/addons/blog/pages/edit-entry/edit-entry.html index 2c516a75a..5ab20704f 100644 --- a/src/addons/blog/pages/edit-entry/edit-entry.html +++ b/src/addons/blog/pages/edit-entry/edit-entry.html @@ -14,9 +14,7 @@
-

{{ 'addon.blog.entrytitle' | translate }}

-
+ [placeholder]="'addon.blog.entrytitle' | translate" name="title" [label]="'addon.blog.entrytitle' | translate" />
@@ -27,7 +25,7 @@ [elementId]="entry?.id ?? 'new_entry'" /> - + {{ 'addon.blog.publishtonoone' | translate }} @@ -54,7 +52,7 @@
@if (associationsExpanded) { - + @if (associatedModule) { @if (showMyEntriesToggle) { - + {{ 'addon.blog.showonlyyourentries' | translate }} diff --git a/src/addons/calendar/components/filter/filter.html b/src/addons/calendar/components/filter/filter.html index dcd796e44..b2a1e326c 100644 --- a/src/addons/calendar/components/filter/filter.html +++ b/src/addons/calendar/components/filter/filter.html @@ -9,7 +9,7 @@ - + - +

Enable remote styles {{remoteStylesCount}}

- +

Enable site plugin styles {{pluginStylesCount}}

diff --git a/src/core/features/settings/pages/general/general.html b/src/core/features/settings/pages/general/general.html index bd5fc3828..b9e388bea 100644 --- a/src/core/features/settings/pages/general/general.html +++ b/src/core/features/settings/pages/general/general.html @@ -11,14 +11,14 @@ - +
{{ 'core.settings.language' | translate }}
{{ entry.name }}
- +

{{ 'core.settings.fontsize' | translate }}

@@ -33,7 +33,7 @@
- + @@ -45,18 +45,18 @@ {{ 'core.settings.colorscheme-' + scheme | translate }} - +

{{ 'core.settings.colorscheme-system-notice' | translate }}

- +

{{ 'core.settings.enablerichtexteditor' | translate }}

{{ 'core.settings.enablerichtexteditordescription' | translate }}

- +

{{ 'core.settings.ioscookies' | translate }}

{{ 'core.settings.ioscookiesdescription' | translate }}

@@ -65,13 +65,13 @@
- +

{{ 'core.settings.debugdisplay' | translate }}

{{ 'core.settings.debugdisplaydescription' | translate }}

- +

{{ 'core.settings.enableanalytics' | translate }}

{{ 'core.settings.enableanalyticsdescription' | translate }}

diff --git a/src/core/features/settings/pages/index/index.html b/src/core/features/settings/pages/index/index.html index 7b6374247..ec1f4111d 100644 --- a/src/core/features/settings/pages/index/index.html +++ b/src/core/features/settings/pages/index/index.html @@ -15,7 +15,9 @@
diff --git a/src/core/features/settings/pages/site/site.html b/src/core/features/settings/pages/site/site.html index 100d21a13..c0a20a3a2 100644 --- a/src/core/features/settings/pages/site/site.html +++ b/src/core/features/settings/pages/site/site.html @@ -16,7 +16,7 @@ -
diff --git a/src/addons/mod/data/fields/latlong/component/addon-mod-data-field-latlong.html b/src/addons/mod/data/fields/latlong/component/addon-mod-data-field-latlong.html index 69cc66907..61459ed08 100644 --- a/src/addons/mod/data/fields/latlong/component/addon-mod-data-field-latlong.html +++ b/src/addons/mod/data/fields/latlong/component/addon-mod-data-field-latlong.html @@ -3,13 +3,15 @@ -
- -
°N
+
+ +
°N
+
-
- -
°E
+
+ +
°E
+
diff --git a/src/addons/mod/data/fields/menu/component/addon-mod-data-field-menu.html b/src/addons/mod/data/fields/menu/component/addon-mod-data-field-menu.html index 76391c5e2..8a0f114b2 100644 --- a/src/addons/mod/data/fields/menu/component/addon-mod-data-field-menu.html +++ b/src/addons/mod/data/fields/menu/component/addon-mod-data-field-menu.html @@ -2,7 +2,7 @@ - {{ 'addon.mod_data.menuchoose' | translate }} + {{ 'addon.mod_data.menuchoose' | translate }} diff --git a/src/addons/mod/data/fields/menu/component/menu.ts b/src/addons/mod/data/fields/menu/component/menu.ts index 9f01568a4..013ea344d 100644 --- a/src/addons/mod/data/fields/menu/component/menu.ts +++ b/src/addons/mod/data/fields/menu/component/menu.ts @@ -35,6 +35,7 @@ export class AddonModDataFieldMenuComponent extends AddonModDataFieldPluginBaseC } this.options = this.field.param1.split('\n'); + this.options = this.options.filter((option) => option !== ''); let val: string | undefined; if (this.editMode && this.value) { diff --git a/src/addons/mod/data/fields/picture/component/addon-mod-data-field-picture.html b/src/addons/mod/data/fields/picture/component/addon-mod-data-field-picture.html index 52291469f..2d198dac0 100644 --- a/src/addons/mod/data/fields/picture/component/addon-mod-data-field-picture.html +++ b/src/addons/mod/data/fields/picture/component/addon-mod-data-field-picture.html @@ -1,16 +1,15 @@ - - + + [allowOffline]="true" acceptedTypes="image" [courseId]="database?.course" [required]="field.required" /> - + - + - +