Skip to content

Commit

Permalink
Merge pull request #20 from newfold-labs/add-php/press11-176
Browse files Browse the repository at this point in the history
Add PHP Translation files
  • Loading branch information
circlecube authored Feb 25, 2025
2 parents 1763ae2 + 2136946 commit 62bee57
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 76 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/crowdin-download.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/crowdin-upload.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/i18n-crowdin-download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Crowdin Download Action

on:
workflow_dispatch:
inputs:
base_branch:
description: 'Base branch for the pull request'
required: false
default: 'main'

jobs:
call-crowdin-workflow:
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-download.yml@main
with:
base_branch: ${{ inputs.base_branch }}
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
vars:
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
13 changes: 13 additions & 0 deletions .github/workflows/i18n-crowdin-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Crowdin Upload Action

on:
workflow_dispatch:

jobs:
call-crowdin-upload-workflow:
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-upload.yml@main
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
vars:
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-module-sso.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-sso/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}'",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-module-sso.pot ./languages",
"i18n-mo": "vendor/bin/wp i18n make-mo ./languages",
"i18n-php": "vendor/bin/wp i18n make-php ./languages",
"i18n-json": "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
"@i18n-mo",
"@i18n-php",
"@i18n-json"
],
"lint": "vendor/bin/phpcs --standard=phpcs.xml -s ."
Expand Down
2 changes: 2 additions & 0 deletions languages/wp-module-sso-de_DE.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'de_DE','project-id-version'=>'newfold-labswp-module-staging','pot-creation-date'=>'2025-02-13T09:55:55+00:00','po-revision-date'=>'2025-02-19 14:21','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SSO','Sorry, you are not allowed to access this endpoint.'=>'Sie sind leider nicht berechtigt, auf diesen Endpunkt zuzugreifen.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-en_AU.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'en_AU','project-id-version'=>'','pot-creation-date'=>'2025-02-13T10:59:28+00:00','po-revision-date'=>'2025-02-13 19:38+0530','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SSO','Sorry, you are not allowed to access this endpoint.'=>'Sorry, you are not allowed to access this endpoint.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-en_GB.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'en_GB','project-id-version'=>'','pot-creation-date'=>'2025-02-13T10:59:28+00:00','po-revision-date'=>'2025-02-13 19:38+0530','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SSO','Sorry, you are not allowed to access this endpoint.'=>'Sorry, you are not allowed to access this endpoint.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-es_ES.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'es_ES','project-id-version'=>'newfold-labswp-module-staging','pot-creation-date'=>'2025-02-13T09:55:55+00:00','po-revision-date'=>'2025-02-19 14:21','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SO','Sorry, you are not allowed to access this endpoint.'=>'Lo sentimos, no puedes acceder a este extremo.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-fr_FR.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n > 1);','language'=>'fr_FR','project-id-version'=>'newfold-labswp-module-staging','pot-creation-date'=>'2025-02-13T09:55:55+00:00','po-revision-date'=>'2025-02-19 14:21','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SSO','Sorry, you are not allowed to access this endpoint.'=>'Désolé, vous n\'êtes pas autorisé à accéder à ce terminal.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-it_IT.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'it_IT','project-id-version'=>'newfold-labswp-module-staging','pot-creation-date'=>'2025-02-13T09:55:55+00:00','po-revision-date'=>'2025-02-19 14:21','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'SSO','Sorry, you are not allowed to access this endpoint.'=>'Siamo spiacenti, non sei autorizzato ad accedere a questo endpoint.']];
2 changes: 2 additions & 0 deletions languages/wp-module-sso-nl_NL.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>'wp-module-sso','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'nl_NL','project-id-version'=>'newfold-labswp-module-staging','pot-creation-date'=>'2025-02-13T09:55:55+00:00','po-revision-date'=>'2025-02-19 14:21','x-generator'=>'WP-CLI 2.11.0','messages'=>['SSO'=>'ZSO','Sorry, you are not allowed to access this endpoint.'=>'Sorry, je hebt geen toegang tot dit eindpunt.']];

0 comments on commit 62bee57

Please sign in to comment.