-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
210 changed files
with
3,302 additions
and
5,071 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Gettext CI | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
pot: | ||
name: Create pot files | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ 18.1.0 ] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# (1) -> Preparations | ||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
# (2) -> Install dependencies | ||
- name: Install | ||
run: | | ||
npm ci | ||
cd wizard-style-builder | ||
npm install [email protected] [email protected] | ||
# (3) -> Build app and Docker image | ||
- name: Build | ||
run: | | ||
npm run pot | ||
# (4) -> Check prerelease | ||
- name: Check Prerelease | ||
id: check_prerelease | ||
run: | | ||
GITHUB_TAG=`echo $GITHUB_REF | cut -d/ -f3` | ||
if [[ $GITHUB_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
echo "::set-output name=is_prerelease::false" | ||
else | ||
echo "::set-output name=is_prerelease::true" | ||
fi | ||
# (5) -> Create release & upload artifacts | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true | ||
artifactErrorsFailBuild: true | ||
artifacts: "locale/wizard.pot,locale/registry.pot" | ||
artifactContentType: text/plain | ||
prerelease: ${{ steps.check_prerelease.outputs.is_prerelease }} | ||
replacesArtifacts: true |
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
82 changes: 1 addition & 81 deletions
82
engine-registry/elm/Registry/Common/Provisioning/DefaultLocale.elm
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,88 +1,8 @@ | ||
module Registry.Common.Provisioning.DefaultLocale exposing (locale) | ||
|
||
import Dict exposing (Dict) | ||
import Shared.Common.Provisioning.DefaultLocale as SharedLocale | ||
|
||
|
||
locale : Dict String String | ||
locale = | ||
Dict.fromList | ||
(SharedLocale.locale | ||
++ [ ( "Registry.header.brandTitle", "DSW Registry" ) | ||
, ( "Registry.header.knowledgeModels", "Knowledge Models" ) | ||
, ( "Registry.header.templates", "Document Templates" ) | ||
, ( "Registry.loggedInNavigation.logOut", "Log Out" ) | ||
, ( "Registry.loggedInNavigation.profile", "Profile" ) | ||
, ( "Registry.publicHeaderNavigation.logIn", "Log In" ) | ||
, ( "Registry.publicHeaderNavigation.signUp", "Sign Up" ) | ||
, ( "Registry.view.invalid.heading", "Configuration Error" ) | ||
, ( "Registry.view.invalid.msg", "The application is not configured correctly and cannot run." ) | ||
, ( "Registry.view.notFound.heading", "Not Found" ) | ||
, ( "Registry.view.notFound.msg", "The page you are looking for does not exist." ) | ||
, ( "Registry.view.title", "DSW Registry" ) | ||
, ( "Registry.Pages.ForgottenToken.formView.email.label", "Email" ) | ||
, ( "Registry.Pages.ForgottenToken.formView.email.help", "Enter the email you used to register your organization." ) | ||
, ( "Registry.Pages.ForgottenToken.formView.header", "Forgotten Token" ) | ||
, ( "Registry.Pages.ForgottenToken.formView.submit", "Submit" ) | ||
, ( "Registry.Pages.ForgottenToken.success.heading", "Token recovery successful!" ) | ||
, ( "Registry.Pages.ForgottenToken.success.msg", "Check your email address for the recovery link." ) | ||
, ( "Registry.Pages.ForgottenTokenConfirmation.update.putError", "Unable to recover your organization token." ) | ||
, ( "Registry.Pages.ForgottenTokenConfirmation.view.info", "You will use the following token for authentication. Save it to a safe place. You will not be able to see it again." ) | ||
, ( "Registry.Pages.ForgottenTokenConfirmation.view.text", "A new token for your organization %s has been generated!" ) | ||
, ( "Registry.Pages.ForgottenTokenConfirmation.view.title", "Recovered" ) | ||
, ( "Registry.Pages.ForgottenTokenConfirmation.view.token", "Token" ) | ||
, ( "Registry.Pages.Index.update.getError", "Unable to get the packages." ) | ||
, ( "Registry.Pages.KMDetail.update.getError", "Unable to get the package." ) | ||
, ( "Registry.Pages.KMDetail.view.forkOf", "Fork of" ) | ||
, ( "Registry.Pages.KMDetail.view.kmId", "Knowledge Model ID" ) | ||
, ( "Registry.Pages.KMDetail.view.kmId.copied", "Copied!" ) | ||
, ( "Registry.Pages.KMDetail.view.kmId.copy", "Click to copy Knowledge Model ID" ) | ||
, ( "Registry.Pages.KMDetail.view.license", "License" ) | ||
, ( "Registry.Pages.KMDetail.view.metamodelVersion", "Metamodel version" ) | ||
, ( "Registry.Pages.KMDetail.view.otherVersions", "Other versions" ) | ||
, ( "Registry.Pages.KMDetail.view.publishedBy", "Published by" ) | ||
, ( "Registry.Pages.KMDetail.view.version", "Version" ) | ||
, ( "Registry.Pages.Login.update.error", "Login failed." ) | ||
, ( "Registry.Pages.Login.view.header", "Log In" ) | ||
, ( "Registry.Pages.Login.view.organizationId", "Organization ID" ) | ||
, ( "Registry.Pages.Login.view.token", "Token" ) | ||
, ( "Registry.Pages.Login.view.logIn", "Log In" ) | ||
, ( "Registry.Pages.Login.view.forgottenToken", "Forgot your token?" ) | ||
, ( "Registry.Pages.Organization.update.getError", "Unable to get organization detail." ) | ||
, ( "Registry.Pages.Organization.update.putError", "Unable to save changes." ) | ||
, ( "Registry.Pages.Organization.update.putSuccess", "Your changes have been saved." ) | ||
, ( "Registry.Pages.Organization.view.title", "Edit Organization" ) | ||
, ( "Registry.Pages.Organization.view.organizationName", "Organization Name" ) | ||
, ( "Registry.Pages.Organization.view.description", "Organization Description" ) | ||
, ( "Registry.Pages.Organization.view.email", "Email" ) | ||
, ( "Registry.Pages.Organization.view.save", "Save" ) | ||
, ( "Registry.Pages.Signup.update.postError", "Registration was not successful." ) | ||
, ( "Registry.Pages.Signup.success.heading", "Sign up was successful!" ) | ||
, ( "Registry.Pages.Signup.success.msg", "Check your email address for the activation link." ) | ||
, ( "Registry.Pages.Signup.formView.privacyRead", "I have read %s and %s." ) | ||
, ( "Registry.Pages.Signup.formView.privacy", "Privacy" ) | ||
, ( "Registry.Pages.Signup.formView.privacyError", "You have to read Privacy and Terms of Service first." ) | ||
, ( "Registry.Pages.Signup.formView.termsOfService", "Terms of Service" ) | ||
, ( "Registry.Pages.Signup.formView.title", "Sign Up" ) | ||
, ( "Registry.Pages.Signup.formView.organizationId", "Organization ID" ) | ||
, ( "Registry.Pages.Signup.formView.name", "Organization Name" ) | ||
, ( "Registry.Pages.Signup.formView.email", "Email" ) | ||
, ( "Registry.Pages.Signup.formView.description", "Organization Description" ) | ||
, ( "Registry.Pages.Signup.formView.signUp", "Sign Up" ) | ||
, ( "Registry.Pages.SignupConfirmation.update.putError", "Unable to activate your organization account." ) | ||
, ( "Registry.Pages.SignupConfirmation.viewOrganization.title", "Activated" ) | ||
, ( "Registry.Pages.SignupConfirmation.viewOrganization.activated", "The account for your organization %s has been successfully activated!" ) | ||
, ( "Registry.Pages.SignupConfirmation.viewOrganization.tokenInfo", "You will use the following token for authentication. Save it to a safe place. You will not be able to see it again." ) | ||
, ( "Registry.Pages.SignupConfirmation.viewOrganization.token", "Token" ) | ||
, ( "Registry.Pages.TemplateDetail.update.getError", "Unable to get the template." ) | ||
, ( "Registry.Pages.TemplateDetail.view.templateId", "Template ID" ) | ||
, ( "Registry.Pages.TemplateDetail.view.templateId.copied", "Copied!" ) | ||
, ( "Registry.Pages.TemplateDetail.view.templateId.copy", "Click to copy Template ID" ) | ||
, ( "Registry.Pages.TemplateDetail.view.license", "License" ) | ||
, ( "Registry.Pages.TemplateDetail.view.metamodelVersion", "Metamodel version" ) | ||
, ( "Registry.Pages.TemplateDetail.view.otherVersions", "Other versions" ) | ||
, ( "Registry.Pages.TemplateDetail.view.publishedBy", "Published by" ) | ||
, ( "Registry.Pages.TemplateDetail.view.version", "Version" ) | ||
, ( "Registry.Pages.Templates.update.getError", "Unable to get templates." ) | ||
] | ||
) | ||
Dict.empty |
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
Oops, something went wrong.