-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add golden test * Small changes as per review
- Loading branch information
Showing
5 changed files
with
174 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"@@locale": "en", | ||
"appName": "Demo app", | ||
"pageLog{inUsername": "Your username", | ||
^^^^^^^^^^^^^^^^^^[Error]:"Key "pageLog{inUsername" is not a valid message key." | ||
"@pageLoginUsername": {}, | ||
^^^^^^^^^^^^^^^^^^[Error]:"Metadata for an undefined key. Add a message key with the name "pageLoginUsername"." | ||
"pageLoginPassword": "Your password", | ||
"@pageLoginPassword": {}, | ||
"pageHomeTitle": "Welcome {firstName}", | ||
^^^^^^^^^[decoration]argument | ||
"@pageHomeTitle": { | ||
"description": "Welcome message on the Home screen", | ||
"placeholders": { | ||
"firstName": {} | ||
^^^^^^^^^[decoration]argument | ||
} | ||
}, | ||
"pageHomeInboxCount": "{count, plural, zero{I have {vehicleType, select, sedn{Sedan} cabrolet{Solid roof cabriolet} tuck{16 wheel truck} oter{Other}} no new messages} one{You have 1 new message} other{You have {count} new messages}}", | ||
^^^^^[decoration]argument | ||
^^^^^^^^^^^[decoration]argument | ||
^^^^^[decoration]argument | ||
^^^^^[decoration]select | ||
^^^^^^^^[decoration]select | ||
^^^^[decoration]select | ||
^^^^[decoration]select | ||
^^^^^[decoration]plural | ||
^^^[decoration]plural | ||
^^^^^[decoration]plural | ||
"@pageHomeInboxCount": { | ||
"description": "New messages count on the Home screen", | ||
"placeholders": { | ||
"count": {}, | ||
^^^^^[decoration]argument | ||
"vehicleType": {} | ||
^^^^^^^^^^^[decoration]argument | ||
} | ||
}, | ||
"pageHomeBirthday": "Today is {sex, select, male{his b'{irthday} female{her birthday} other{their birthday}}.", | ||
^^^[decoration]argument | ||
^^^^^[decoration]select | ||
^^^^^^[decoration]select | ||
^^^^^[decoration]select | ||
"@pageHomeBirthday": { | ||
"description": "Birthday message on the Home screen", | ||
"placeholders": { | ||
"sex": {} | ||
^^^[decoration]argument | ||
} | ||
}, | ||
"commonVehicleType": "{vehicleType, s{elect, sedan{Sedan} cabriolet{Solid roof cabriolet} truck{16 wheel truck} other{Other}}", | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[Error]:"Unbalanced curly bracket found. Try escaping the bracket using a single quote ' ." | ||
"@commonVeshicleType": { | ||
^^^^^^^^^^^^^^^^^^^[Error]:"Metadata for an undefined key. Add a message key with the name "commonVeshicleType"." | ||
"description": "Vehicle type", | ||
"placeholders": { | ||
"vehicleType": {} | ||
^^^^^^^^^^^[decoration]argument | ||
^^^^^^^^^^^[Warning]:"Placeholder "vehicleType" is being declared, but not used in message." | ||
} | ||
}, | ||
"pageHomeBalance": "Your balance is {am[ount} on {date2}", | ||
^^^^^[decoration]argument | ||
^^^^^^^[Error]:""am[ount" is not a valid argument name." | ||
^^^^^[Warning]:"Placeholder "date2" not defined in the message metadata." | ||
"@pageHomeBalance": { | ||
"placeholders": { | ||
"amount": { | ||
^^^^^^[decoration]argument | ||
^^^^^^[Warning]:"Placeholder "amount" is being declared, but not used in message." | ||
"type": "double", | ||
"format": "currency", | ||
"example": "$1000.00", | ||
"description": "Account balance", | ||
"optionalParameters": { | ||
"decimalDigits": 2, | ||
"name": "USD", | ||
"symbol": "$", | ||
"customPattern": "¤#0.00" | ||
} | ||
}, | ||
"date": { | ||
^^^^[decoration]argument | ||
^^^^[Warning]:"Placeholder "date" is being declared, but not used in message." | ||
"type": "DateTime", | ||
"format": "yMd", | ||
"example": "11/10/2021", | ||
"description": "Balance date" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.