Skip to content

Commit

Permalink
(BREAKING) Update i18next interpolation syntax (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasharma05 authored Oct 27, 2023
1 parent 5720e85 commit f1308e8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const EditableValue: React.FC<EditableValueProps> = ({ elementType, id, value, o
kind="ghost"
size="sm"
enterDelayMs={300}
iconDescription={t('editButton', 'Edit {elementType}', {
iconDescription={t('editButton', 'Edit {{elementType}}', {
elementType: elementType,
})}
onClick={() => setEditing(true)}
Expand Down
2 changes: 1 addition & 1 deletion translations/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down
2 changes: 1 addition & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down
2 changes: 1 addition & 1 deletion translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down
2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down
2 changes: 1 addition & 1 deletion translations/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down
2 changes: 1 addition & 1 deletion translations/km.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"downloadSchema": "Download schema",
"duplicated": "Duplicated",
"duplicateQuestion": "Duplicate question",
"editButton": "Edit {elementType}",
"editButton": "Edit {{elementType}}",
"editQuestion": "Edit question",
"editSchema": "Edit schema",
"encounterType": "Encounter Type",
Expand Down

0 comments on commit f1308e8

Please sign in to comment.