-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: nabim777 <[email protected]>
- Loading branch information
Showing
4 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { translate as t } from '@nextcloud/l10n' | ||
import APP_ID from './appID.js' | ||
import { loadState } from '@nextcloud/initial-state' | ||
const state = loadState('integration_openproject', 'admin-config') | ||
|
||
export const error = { | ||
featureNotAvailable: t(APP_ID, 'This feature is not available for this user account'), | ||
opConnectionUnauthorized: t(APP_ID, 'Unauthorized to connect to OpenProject'), | ||
oidcUnspported: t(APP_ID, 'Oidc not supported'), | ||
oidcUnspported: t(APP_ID, 'Oidc not supported so required OIDC ' + state.user_oidc_info.minimum_version_Oidc), | ||
} |