feat(options): scope-dependent translatable help text under the upload widget
Row 141: the help text under the upload facility in the Top-of-page tab now
depends on where the options page is shown (bInherit = sid/gsid present):
- global theme settings: "Upload here the files for logos and background. You
are in global settings now, so files that you upload here are available for
all surveys. If you want a file to be available only for your specific
survey, upload it at the theme settings options page for that specific
survey."
- survey / survey-group settings: "Upload here the files for logos and
background. You are in the settings for your specific survey now, so files
that you upload here are available for this survey only. If you want a file
to be available for all surveys, upload it at the global theme settings
options page."
Both variants go through gT() (translatable via the message catalogs / DB
message tables). Typos in the request were corrected ("Your are" -> "You are",
"you specific" -> "your specific", "only for surveys" -> "for all surveys").
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
33f359f12c
commit
53a11e14e1
1 changed files with 4 additions and 2 deletions
|
|
@ -512,10 +512,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{# row 140: translatable help text under the upload option #}
|
||||
{# row 140/141: translatable help text under the upload option,
|
||||
depending on where this page is shown: bInherit is true on
|
||||
survey / survey-group level, false on the global page #}
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="form-text mt-1">{{ gT("Here you can upload logo images for use in your surveys.") }}</div>
|
||||
<div class="form-text mt-1">{% if bInherit %}{{ gT("Upload here the files for logos and background. You are in the settings for your specific survey now, so files that you upload here are available for this survey only. If you want a file to be available for all surveys, upload it at the global theme settings options page.") }}{% else %}{{ gT("Upload here the files for logos and background. You are in global settings now, so files that you upload here are available for all surveys. If you want a file to be available only for your specific survey, upload it at the theme settings options page for that specific survey.") }}{% endif %}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue