Skip to content

Commit

Permalink
feat: update the Translations section (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrablaj authored Dec 17, 2024
1 parent 54790cd commit 79b73af
Show file tree
Hide file tree
Showing 30 changed files with 419 additions and 423 deletions.
2 changes: 1 addition & 1 deletion content/en/building/forms/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ The meta information in the `{form_name}.properties.json` file defines the form'

| property | description | required |
|---|---|---|
| `title`| The form's title seen in the app. Uses a localization array using the 2-letter code, not the translation keys discussed in the [Localization section]({{< relref "building/translations/localizing-translations" >}}). | yes |
| `title`| The form's title seen in the app. Uses a localization array using the 2-letter code, not the translation keys discussed in the [Localization section]({{< relref "building/translations/localizing" >}}). | yes |
| `icon` | Icon associated with the form. The value is the image's key in the `resources.json` file, as described in the [Icons section]({{< relref "building/reference/resources#icons" >}}) | yes |
| `subject_key` | Override the default report list title with a custom translation key. The translation uses a summary of the report as the evaluation context so you can include report fields in your value, for example: `Case registration {{case_id}}`. Useful properties available in the summary include: `from` (the phone number of the sender), `phone` (the phone number of the report contact), `form` (the form code), `subject.name` (the name of the subject), and `case_id` (the generated case id). Defaults to the name of the report subject. | no |
| `hidden_fields` | Array of Strings of form fields to hide in the view report UI in the app. This is only applied to future reports and will not change how existing reports are displayed. | no |
Expand Down
2 changes: 1 addition & 1 deletion content/en/building/targets/target-widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ targets.assessments.percentage.cough.title = % Population with cough
targets.households.with.assessments.title = Total households with assessments
targets.households.with.gt2.assessments.title = % Household with >=2 assessments
```
To upload *[translations]({{< ref "building/translations/localizing-translations#translations" >}})* to your local instance, run the following command:
To upload *[translations]({{< ref "building/translations/localizing" >}})* to your local instance, run the following command:

```zsh
cht --url=https://<username>:<password>@localhost --accept-self-signed-certs upload-custom-translations
Expand Down
337 changes: 0 additions & 337 deletions content/en/building/translations/configuring-translations.md

This file was deleted.

Loading

0 comments on commit 79b73af

Please sign in to comment.