[ADF-5247] always enabled language picker (via extensions) (#1730)

* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
This commit is contained in:
Denys Vuika
2020-10-15 08:57:04 +01:00
committed by GitHub
parent cfffde603c
commit 20f1752b48
25 changed files with 49 additions and 238 deletions

View File

@@ -166,7 +166,6 @@ The button will be visible only when the linked rule evaluates to `true`.
| 1.8.0 | canManagePermissions | Checks if user can manage permissions for the selected node. |
| 1.8.0 | canToggleEditOffline | Checks if user can toggle **Edit Offline** mode for selected node. |
| 1.8.0 | user.isAdmin | Checks if user is admin. |
| 1.9.0 | app.canShowLanguagePicker | Whether language picker menu should be present or not. |
| 1.9.0 | app.canShowLogout | Whether logout action should be present or not. |
| 1.12.0 | app.isLibraryManager | Checks if user is library manager. |

View File

@@ -123,19 +123,3 @@ Now, if you run the application and click the "New > Create Folder" menu,
the title of the dialog should look like the following:
![](../images/aca-i18n-01.png)
## Language picker
You can enable internal language picker in the `app.config.json` file:
```json
{
...,
"languagePicker": true,
...
}
```
![](../images/aca-i18n-02.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

View File

@@ -124,19 +124,3 @@ ADF リソースの翻訳を提供することもできます。
ダイアログのタイトルは次のようになります:
![](../images/aca-i18n-01.png)
## 言語ピッカー
`app.config.json` ファイルで内部言語ピッカーを有効にできます:
```json
{
...,
"languagePicker": true,
...
}
```
![](../images/aca-i18n-02.png)