Skip to content

Commit

Permalink
add necessary welsh language files for translating the application (#…
Browse files Browse the repository at this point in the history
…7851)

* add necessary welsh language files for translating the application

* update loc-wel-default.sql with the welsh translations

* include welsh string translations
  • Loading branch information
alexarobu authored Mar 13, 2024
1 parent 1be84ac commit 392e12c
Show file tree
Hide file tree
Showing 11 changed files with 4,097 additions and 2 deletions.
1 change: 1 addition & 0 deletions web-ui/download-from-transifex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ l=(
'nl::nl'
'cs::cs_CZ'
'ca::ca'
'cy::cy'
'pt::pt_BR'
'fi::fi'
'is::is'
Expand Down
6 changes: 4 additions & 2 deletions web-ui/src/main/resources/catalog/js/CatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
rus: "ru",
slo: "sk",
fin: "fi",
swe: "sv"
swe: "sv",
wel: "cy"
},
isLogoInHeader: false,
logoInHeaderPosition: "left",
Expand Down Expand Up @@ -1672,7 +1673,8 @@
chi: "中文",
slo: "Slovenčina",
swe: "Svenska",
dan: "Dansk"
dan: "Dansk",
wel: "Cymraeg"
};
$scope.url = "";
$scope.gnUrl = gnGlobalSettings.gnUrl;
Expand Down
1,494 changes: 1,494 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-admin.json

Large diffs are not rendered by default.

588 changes: 588 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-core.json

Large diffs are not rendered by default.

450 changes: 450 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-editor.json

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-gnui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"dropFile": "",
"facets.block.title.OrgForResource": "Organisation",
"facets.block.title.availableInServices": "Available for",
"facets.block.title.cl_hierarchyLevel.key": "Resource type",
"facets.block.title.cl_maintenanceAndUpdateFrequency.key": "Update frequency",
"facets.block.title.cl_spatialRepresentationType.key": "Spatial representation",
"facets.block.title.cl_status.key": "Status",
"facets.block.title.creationYearForResource": "Creation year",
"facets.block.title.resolutionScaleDenominator": "Scale",
"facets.block.title.tag": "Keywords",
"facets.block.title.tag.default": "Tag",
"facets.block.title.th_regions_tree.default": "Regions",
"nav.back": "Back",
"record.action.download": "Download",
"record.action.view": "View",
"record.more.details": "Read more",
"records": "records",
"results.layout.selectOne": "Results layout",
"results.records.hits.found": "{hits, plural, =0{No documents match the specified search.} one{} other{{hits} records found.}}",
"results.records.hits.found=0.help": "Suggestions: <ul class='list-disc list-inside'><li>Try other words</li><li>Specify fewer words</li></ul>",
"results.sortBy.dateStamp": "Last updates",
"results.sortBy.popularity": "Popularity",
"results.sortBy.relevancy": "Relevancy",
"search.field.any.placeholder": "Search datasets, services and maps ...",
"search.field.sortBy": "Sort by",
"search.loading": "Loading ..."
}
556 changes: 556 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-search.json

Large diffs are not rendered by default.

426 changes: 426 additions & 0 deletions web-ui/src/main/resources/catalog/locales/cy-v4.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions web/src/main/webResources/WEB-INF/config-db/initial_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
<constructor-arg value="WEB-INF/classes/setup/sql/data"/>
<constructor-arg value="loc-swe-"/>
</bean>
<bean class="org.fao.geonet.domain.Pair" factory-method="read">
<constructor-arg value="WEB-INF/classes/setup/sql/data"/>
<constructor-arg value="loc-wel-"/>
</bean>
<bean class="org.fao.geonet.domain.Pair" factory-method="read">
<constructor-arg value="WEB-INF/classes/setup/sql/data"/>
<constructor-arg value="custom-data-db-"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
<value>spa</value>
<value>swe</value>
<value>tur</value>
<value>wel</value>
</util:set>

<util:map id="jpaPropertyMap">
Expand Down
545 changes: 545 additions & 0 deletions web/src/main/webapp/WEB-INF/classes/setup/sql/data/loc-wel-default.sql

Large diffs are not rendered by default.

0 comments on commit 392e12c

Please sign in to comment.