From deed7f4d207f36cc6596fa564a04c31702968fd8 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Mon, 12 Sep 2022 12:27:31 +0200 Subject: [PATCH 1/3] Add language param --- packages/web-app-external/src/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web-app-external/src/App.vue b/packages/web-app-external/src/App.vue index 19f221356d5..aa6994e945e 100644 --- a/packages/web-app-external/src/App.vue +++ b/packages/web-app-external/src/App.vue @@ -99,7 +99,8 @@ export default defineComponent({ configUrl + appOpenUrl + `?file_id=${fileId}` + - (this.applicationName ? `&app_name=${this.applicationName}` : '') + `&lang=${this.$language.current}` + + (this.applicationName ? `&app_name=${this.applicationName}` : '') const response = await this.makeRequest('POST', url) From 2467714f8a6c6cf605017ac754a15e622a753284 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Mon, 12 Sep 2022 12:31:00 +0200 Subject: [PATCH 2/3] Add changelog --- .../unreleased/bugfix-add-language-param-open-external-app | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/bugfix-add-language-param-open-external-app diff --git a/changelog/unreleased/bugfix-add-language-param-open-external-app b/changelog/unreleased/bugfix-add-language-param-open-external-app new file mode 100644 index 00000000000..f2bd3ac56a0 --- /dev/null +++ b/changelog/unreleased/bugfix-add-language-param-open-external-app @@ -0,0 +1,6 @@ +Bugfix: Add language param opening external app + +We've added the language param when opening an external app + +https://github.com/owncloud/web/issues/7419 +https://github.com/owncloud/web/pull/7631 \ No newline at end of file From 15c43e7941acee6ed4f6d92b9f9ed5c105631815 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Mon, 12 Sep 2022 12:39:48 +0200 Subject: [PATCH 3/3] Fix linting --- packages/web-app-external/src/App.vue | 2 +- .../src/components/Users/SideBar/EditPanel.vue | 2 +- .../src/components/Users/SideBar/GroupAssignmentsPanel.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web-app-external/src/App.vue b/packages/web-app-external/src/App.vue index aa6994e945e..65e512a9e96 100644 --- a/packages/web-app-external/src/App.vue +++ b/packages/web-app-external/src/App.vue @@ -100,7 +100,7 @@ export default defineComponent({ appOpenUrl + `?file_id=${fileId}` + `&lang=${this.$language.current}` + - (this.applicationName ? `&app_name=${this.applicationName}` : '') + (this.applicationName ? `&app_name=${this.applicationName}` : '') const response = await this.makeRequest('POST', url) diff --git a/packages/web-app-user-management/src/components/Users/SideBar/EditPanel.vue b/packages/web-app-user-management/src/components/Users/SideBar/EditPanel.vue index dd1c88da66d..a461d4ab704 100644 --- a/packages/web-app-user-management/src/components/Users/SideBar/EditPanel.vue +++ b/packages/web-app-user-management/src/components/Users/SideBar/EditPanel.vue @@ -40,8 +40,8 @@