Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
catalog.genesys-pgr.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Catalog
catalog.genesys-pgr.org
Commits
5834bf8b
Commit
5834bf8b
authored
Nov 02, 2018
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated i18n
- Support {{count, number}} format
parent
862a0c22
Pipeline
#7480
passed with stages
in 4 minutes and 19 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
i18n/options-base.ts
i18n/options-base.ts
+2
-0
locales/en/translations.json
locales/en/translations.json
+3
-2
src/datasets/translations.json
src/datasets/translations.json
+2
-1
src/datasets/ui/dataset-stepper/steps/accessions-list/ListOfAccesion.tsx
.../dataset-stepper/steps/accessions-list/ListOfAccesion.tsx
+1
-1
src/descriptorlists/translations.json
src/descriptorlists/translations.json
+1
-1
No files found.
i18n/options-base.ts
View file @
5834bf8b
...
...
@@ -25,6 +25,8 @@ const optionsBase = {
return
value
.
toUpperCase
();
}
else
if
(
format
===
'
lowercase
'
)
{
return
value
.
toLowerCase
();
}
else
if
(
format
===
'
number
'
)
{
return
value
&&
value
.
toLocaleString
();
}
return
value
;
},
...
...
locales/en/translations.json
View file @
5834bf8b
...
...
@@ -684,7 +684,8 @@
"excel"
:
"Copy and paste the table from Excel into the text field
\"
List of accessions described in the dataset
\"
."
,
"listDescribed"
:
"List of accessions described in the dataset"
,
"placeholder"
:
"Paste accessions data here (comma separated)"
,
"rowCount"
:
"Accessions {{rows, numeric}} rows"
"rowCount"
:
"{{count, number}} accession"
,
"rowCount_plural"
:
"{{count, number}} accessions"
},
"pastingTraits"
:
{
"title"
:
"Select descriptors in batch"
,
...
...
@@ -868,7 +869,7 @@
"basicInfo"
:
"Basic information"
,
"import"
:
{
"title"
:
"Upload new descriptors"
,
"uploaded"
:
"Uploaded {{count}} descriptor definitions"
,
"uploaded"
:
"Uploaded {{count
, number
}} descriptor definitions"
,
"noDescriptors"
:
"No descriptors uploaded"
,
"error"
:
"error"
,
"error_plural"
:
"errors"
,
...
...
src/datasets/translations.json
View file @
5834bf8b
...
...
@@ -104,7 +104,8 @@
"excel"
:
"Copy and paste the table from Excel into the text field
\"
List of accessions described in the dataset
\"
."
,
"listDescribed"
:
"List of accessions described in the dataset"
,
"placeholder"
:
"Paste accessions data here (comma separated)"
,
"rowCount"
:
"Accessions {{rows, numeric}} rows"
"rowCount"
:
"{{count, number}} accession"
,
"rowCount_plural"
:
"{{count, number}} accessions"
},
"pastingTraits"
:
{
"title"
:
"Select descriptors in batch"
,
...
...
src/datasets/ui/dataset-stepper/steps/accessions-list/ListOfAccesion.tsx
View file @
5834bf8b
...
...
@@ -141,7 +141,7 @@ class ListOfAccession extends React.Component<IListOfAccession, any> {
{
uploading
&&
<
Loading
message
=
{
uploadText
}
/>
}
<
h3
>
{
t
(
'
datasets.dashboard.p.stepper.listOfAccessions.rowCount
'
,
{
rows
:
accessionRefs
?
accessionRefs
.
length
:
0
})
}
</
h3
>
<
h3
>
{
t
(
'
datasets.dashboard.p.stepper.listOfAccessions.rowCount
'
,
{
count
:
accessionRefs
?
accessionRefs
.
length
:
0
})
}
</
h3
>
<
AccessionRefsTable
accessionRefs
=
{
accessionRefs
}
/>
</
div
>
);
...
...
src/descriptorlists/translations.json
View file @
5834bf8b
...
...
@@ -77,7 +77,7 @@
"basicInfo"
:
"Basic information"
,
"import"
:
{
"title"
:
"Upload new descriptors"
,
"uploaded"
:
"Uploaded {{count}} descriptor definitions"
,
"uploaded"
:
"Uploaded {{count
, number
}} descriptor definitions"
,
"noDescriptors"
:
"No descriptors uploaded"
,
"error"
:
"error"
,
"error_plural"
:
"errors"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment