Skip to content

Commit

Permalink
Merge pull request #1743 from bozana/9707
Browse files Browse the repository at this point in the history
pkp/pkp-lib#9707 use weblate locales for ui
  • Loading branch information
bozana authored Dec 11, 2024
2 parents 0f917d7 + 69820c7 commit 43894cd
Show file tree
Hide file tree
Showing 97 changed files with 679 additions and 679 deletions.
12 changes: 6 additions & 6 deletions cypress/tests/integration/Z_MonographViewDCMetadata.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('Monograph View Metadata - DC Plugin', function() {
]
},
{
locale: 'fr',
locale: 'fr-CA',
contents: [
submission.localeMetadata
.find(element => element.locale == 'fr_CA')
Expand All @@ -212,7 +212,7 @@ describe('Monograph View Metadata - DC Plugin', function() {
]
},
{
locale: 'fr',
locale: 'fr-CA',
contents: [
submission.localeTitles.fr_CA.abstract
]
Expand All @@ -223,7 +223,7 @@ describe('Monograph View Metadata - DC Plugin', function() {
element: 'DC.Title.Alternative',
values: [
{
locale: 'fr',
locale: 'fr-CA',
contents: [
submission.localeTitles.fr_CA.prefix + ' ' + submission.localeTitles.fr_CA.title + ': ' + submission.localeTitles.fr_CA.subtitle
]
Expand All @@ -246,7 +246,7 @@ describe('Monograph View Metadata - DC Plugin', function() {

},
{
locale: 'fr',
locale: 'fr-CA',
contents: [
submission.localeMetadata
.find(element => element.locale == 'fr_CA')
Expand Down Expand Up @@ -276,7 +276,7 @@ describe('Monograph View Metadata - DC Plugin', function() {
)
},
{
locale: 'fr',
locale: 'fr-CA',
contents: submission.localeMetadata
.find(element => element.locale == 'fr_CA')
.manyValues
Expand Down Expand Up @@ -345,7 +345,7 @@ describe('Monograph View Metadata - DC Plugin', function() {
withScheme: [
{
element: 'DC.Language',
scheme: 'ISO639-1',
scheme: 'rfc5646',
content: 'en'
},
{
Expand Down
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<migration class="PKP\migration\upgrade\v3_5_0\COA75_AddUserRoleEndEmail"/>
<migration class="APP\migration\upgrade\v3_5_0\I10561_OnixFilter"/>
<migration class="APP\migration\upgrade\v3_5_0\I10511_RemoveSeriesMenuItems"/>
<migration class="PKP\migration\upgrade\v3_5_0\I9707_WeblateUILocales"/>
</upgrade>

<!-- Update plugin configuration - should be done as the final upgrade task -->
Expand Down
2 changes: 1 addition & 1 deletion lib/pkp
Submodule pkp updated 123 files
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 43894cd

Please sign in to comment.