Skip to content

Commit

Permalink
docs: add examples of the 'crowdin string add' command usage (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jul 27, 2023
1 parent c66bba9 commit 619a41c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions website/mantemplates/crowdin-string-add.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,23 @@ include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-commands]
include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-options]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-footer]

=== Examples

Add a new string with the `app.home` key to the `src/values/strings.xml` file:

----
crowdin string add Home --file src/values/strings.xml --identifier "app.home"
----

Add a new string with the `app.download` key to the `src/values/strings.xml` file (branch `main`):

----
crowdin string add Download --file main/src/values/strings.xml --identifier "app.download"
----

Add a new string with the `app.hello` key to the `strings.xml` file, with labels `app` and `home`:

----
crowdin string add "Hello world" --file strings.xml --identifier "app.hello" --label app --label home
----

0 comments on commit 619a41c

Please sign in to comment.