Content
View differences
Updated by Swikriti Tripathi about 3 years ago
The first part of the string is translated and not the second part after the line break break
https://github.com/nextcloud/integration\_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/src/components/AdminSettings.vue#LL508C7-L508C7
```js
this.openProjectNotReachableErrorMessageDetails = t(
'integration_openproject',
'To be able to use an OpenProject server with a local address, '
+ 'enable the `allow_local_remote_servers` setting. {htmlLink}.',
{ htmlLink },
null,
{ escape: false, sanitize: false }
)
```
Example here
[https://github.com/nextcloud/integration\_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/l10n/de.json#L46](https://github.com/nextcloud/integration_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/l10n/de.json#L46)
#
# Steps To Reproduce
1. disallow local remote servers(if it's allowed). Can be done by occ command `occ config:system:delete allow_local_remote_servers`
2. Change the language to German (or not English)
3. Go to administrative settings and try to add an open project server with a local address
4. You should be presented with the error message that you need to allow local remote servers like so
5. <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53223/content">
6. If you click on the details, it gives you something like this
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53224/content">
This Part is not translated. https://github.com/nextcloud/integration\_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/l10n/de.json#L46
https://github.com/nextcloud/integration\_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/src/components/AdminSettings.vue#LL508C7-L508C7
```js
this.openProjectNotReachableErrorMessageDetails = t(
'integration_openproject',
'To be able to use an OpenProject server with a local address, '
+ 'enable the `allow_local_remote_servers` setting. {htmlLink}.',
{ htmlLink },
null,
{ escape: false, sanitize: false }
)
```
Example here
[https://github.com/nextcloud/integration\_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/l10n/de.json#L46](https://github.com/nextcloud/integration_openproject/blob/216d6ca4d9d513392b0dd2e5c2d1f155fbff3b7a/l10n/de.json#L46)
#
# Steps To Reproduce
1. disallow local remote servers(if it's allowed). Can be done by occ command `occ config:system:delete allow_local_remote_servers`
2. Change the language to German (or not English)
3. Go to administrative settings and try to add an open project server with a local address
4. You should be presented with the error message that you need to allow local remote servers like so
5. <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53223/content">
6. If you click on the details, it gives you something like this
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53224/content">
This Part is not translated.