mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
ask.fr text in french
This commit is contained in:
parent
59d461ccab
commit
ffde0e3cef
1 changed files with 23 additions and 23 deletions
|
@ -24,9 +24,9 @@ The general format for an argument looks like this in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "one_of_the_available_type"
|
type = "one_of_the_available_type"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
help.en = "some help text in english" # optional
|
help.en = "some help text in english" # optional
|
||||||
help.fr = "some help text in french" # optional
|
help.fr = "un peu d aide en français" # optional
|
||||||
example = "an example value" # optional
|
example = "an example value" # optional
|
||||||
default = "some stuff" # optional, not available for all types
|
default = "some stuff" # optional, not available for all types
|
||||||
optional = true # optional, will skip if not answered
|
optional = true # optional, will skip if not answered
|
||||||
|
@ -40,11 +40,11 @@ And in json:
|
||||||
"type": "one_of_the_available_type", // "sting" is not specified
|
"type": "one_of_the_available_type", // "sting" is not specified
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"en": "some help text in english",
|
"en": "some help text in english",
|
||||||
"fr": "some help text in french"
|
"fr": "un peu d aide en français"
|
||||||
},
|
},
|
||||||
"example": "an example value", // optional
|
"example": "an example value", // optional
|
||||||
"default", "some stuff", // optional, not available for all types
|
"default", "some stuff", // optional, not available for all types
|
||||||
|
@ -64,7 +64,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "string" # optional
|
type = "string" # optional
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
example = "an example value" # optional
|
example = "an example value" # optional
|
||||||
default = "some stuff" # optional
|
default = "some stuff" # optional
|
||||||
```
|
```
|
||||||
|
@ -77,7 +77,7 @@ And in json:
|
||||||
"type": "string", // optional
|
"type": "string", // optional
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"default": "some stuff", // optional
|
"default": "some stuff", // optional
|
||||||
"example": "an example value"
|
"example": "an example value"
|
||||||
|
@ -108,7 +108,7 @@ And in json:
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"example": "an example value",
|
"example": "an example value",
|
||||||
"choices": ["fr", "en"],
|
"choices": ["fr", "en"],
|
||||||
|
@ -126,7 +126,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "domain"
|
type = "domain"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in json:
|
And in json:
|
||||||
|
@ -137,7 +137,7 @@ And in json:
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
@ -153,7 +153,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "path"
|
type = "path"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
default = "/my_app"
|
default = "/my_app"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ And in json:
|
||||||
"type": "path",
|
"type": "path",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"default": "/my_app"
|
"default": "/my_app"
|
||||||
},
|
},
|
||||||
|
@ -183,7 +183,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "user"
|
type = "user"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in json:
|
And in json:
|
||||||
|
@ -194,7 +194,7 @@ And in json:
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
@ -213,7 +213,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "password"
|
type = "password"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in json:
|
And in json:
|
||||||
|
@ -224,7 +224,7 @@ And in json:
|
||||||
"type": "password",
|
"type": "password",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
@ -239,7 +239,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "boolean"
|
type = "boolean"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
default = true
|
default = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ And in json:
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
@ -267,7 +267,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "number"
|
type = "number"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
default = 0
|
default = 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ And in json:
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
},
|
},
|
||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
|
@ -296,7 +296,7 @@ Example in toml:
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "app"
|
type = "app"
|
||||||
ask.en = "the question in english"
|
ask.en = "the question in english"
|
||||||
ask.fr = "the question in french"
|
ask.fr = "la question en français"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in json:
|
And in json:
|
||||||
|
@ -307,7 +307,7 @@ And in json:
|
||||||
"type": "app",
|
"type": "app",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the question in english",
|
"en": "the question in english",
|
||||||
"fr": "the question in french"
|
"fr": "la question en français"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
@ -321,7 +321,7 @@ that will be simply displayed. This is useful to provide more context.
|
||||||
[maybe.some.stuff.before.the_name]
|
[maybe.some.stuff.before.the_name]
|
||||||
type = "display_text"
|
type = "display_text"
|
||||||
ask.en = "the text in english"
|
ask.en = "the text in english"
|
||||||
ask.fr = "the text in french"
|
ask.fr = "le text en français"
|
||||||
```
|
```
|
||||||
|
|
||||||
And in json:
|
And in json:
|
||||||
|
@ -332,7 +332,7 @@ And in json:
|
||||||
"type": "display_text",
|
"type": "display_text",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "the text in english",
|
"en": "the text in english",
|
||||||
"fr": "the text in french"
|
"fr": "le text en français"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue