Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 526358e

Browse files
author
Barry de Graaff
committed
pass language parameter from the Zimbra UI to OnlyOffice
1 parent ce5da2c commit 526358e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ https://github.com/Zimbra-Community/owncloud-zimlet/wiki/Troubleshooting#example
202202

203203
### License
204204

205-
Copyright (C) 2015-2021 Barry de Graaff A [Zeta Alliance](https://zetalliance.org/) Zimlet, Michele Olivo [ZeXtras](https://www.zextras.com/)
205+
Copyright (C) 2015-2022 Barry de Graaff A [Zeta Alliance](https://zetalliance.org/) Zimlet, Michele Olivo [ZeXtras](https://www.zextras.com/)
206206

207207
This program is free software: you can redistribute it and/or modify
208208
it under the terms of the GNU General Public License as published by

zimlet/OwnCloudListView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ OwnCloudListView.prototype.preview = function(davResource, token) {
949949
"width": (zimletInstance.appWidth/2+zimletInstance.appWidthCorrection)+'px',
950950
"token": zimletInstance.onlyOfficeToken,
951951
"editorConfig": {
952+
"lang": appCtxt.getActiveAccount().settings.get('LOCALE_NAME').split("_")[0],
952953
"callbackUrl": zimbraUrl,
953954
"customization": {
954955
"chat": false,

zimlet/tk_barrydegraaff_owncloud_zimlet.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Zimbra Nextcloud Client
44
55
https://github.com/barrydegraaff/owncloud-zimlet
66
7-
Copyright (C) 2015-2021 Barry de Graaff, Michele Olivo
7+
Copyright (C) 2015-2022 Barry de Graaff, Michele Olivo
88
99
Bugs and feedback: https://github.com/barrydegraaff/owncloud-zimlet/issues
1010
@@ -23,7 +23,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
2323
2424
-->
2525
<zimlet name="tk_barrydegraaff_owncloud_zimlet"
26-
version="1.4.3"
26+
version="1.4.4"
2727
target="main compose-window view-window"
2828
label="Nextcloud"
2929
description="Attach from and save to Nextcloud">

0 commit comments

Comments
 (0)