[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Wizards: Rename start buttons for better translation context
"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <690515ef77caa_2c427674567ce@gitlab-sidekiq-low-urgency-cpu-bound-v2-66dbb487d8-5ww95.mail> |
luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
59576c7e by Moïse Nturubika at 2025-10-31T19:55:07+00:00
[ENH] Wizards: Rename start buttons for better translation context
---
* [ENH] Wizards: Implement contextual translations for Start buttons
* [ENH] Wizards: Implement contextual translations for Start buttons
* [ENH] Wizards: Rename start buttons for better translation context
See merge request tikiwiki/tiki!7604
- - - - -
6 changed files:
- lang/de/language.php
- lang/en/language.php
- templates/wizard/admin_wizard.tpl
- templates/wizard/user_wizard.tpl
- templates/wizard/wizard_bar_admin.tpl
- templates/wizard/wizard_bar_user.tpl
Changes:
=====================================
lang/de/language.php
=====================================
@@ -6900,6 +6900,8 @@ $lang_current = array(
// "Set the default for the table of contents (default \"no\" and can be overridden per page)" => "Set the default for the table of contents (default \"no\" and can be overridden per page)",
"On_C(on-off)" => "Ein",
"Off_C(on-off)" => "Aus",
+"Start_C(imperative)" => "Starten",
+"Finish_C(imperative)" => "Beenden",
// "Add an option to hide the page title per wiki page" => "Add an option to hide the page title per wiki page",
// "Enable the page title to not be displayed, on a per-page basis" => "Enable the page title to not be displayed, on a per-page basis",
// "Multilevel style numbering for ordered lists" => "Multilevel style numbering for ordered lists",
=====================================
lang/en/language.php
=====================================
@@ -6894,6 +6894,8 @@ $lang = array(
// "Set the default for the table of contents (default \"no\" and can be overridden per page)" => "Set the default for the table of contents (default \"no\" and can be overridden per page)",
"On_C(on-off)" => "On",
"Off_C(on-off)" => "Off",
+"Start_C(imperative)" => "Start",
+"Finish_C(imperative)" => "Finish",
// "Add an option to hide the page title per wiki page" => "Add an option to hide the page title per wiki page",
// "Enable the page title to not be displayed, on a per-page basis" => "Enable the page title to not be displayed, on a per-page basis",
// "Multilevel style numbering for ordered lists" => "Multilevel style numbering for ordered lists",
=====================================
templates/wizard/admin_wizard.tpl
=====================================
@@ -84,7 +84,7 @@
</a>
</p>
- <input type="submit" class="btn btn-success" name="use-changes-wizard" value="{tr}Start Changes Wizard{/tr}" />
+ <input type="submit" class="btn btn-success" name="use-changes-wizard" value="{tr}Start Changes Wizard{/tr}" />
</div>
</div>
<hr>
=====================================
templates/wizard/user_wizard.tpl
=====================================
@@ -7,7 +7,7 @@
<fieldset>
<legend>{tr}User Wizard{/tr}</legend>
<p class="wizard_page_title">
- {tr}Click at the "Start" button above to launch it{/tr}
+ {tr}Click at the "Start" button above to begin the wizard{/tr}
</p>
<p>
<b>Tiki version {$tiki_version}</b>. {tr}To learn more about this Tiki release, go to <a href="https://doc.tiki.org/Tiki{$tikiMajorVersion}">Tiki {$tikiMajorVersion}</a>{/tr}.<br/><br/>
=====================================
templates/wizard/wizard_bar_admin.tpl
=====================================
@@ -51,7 +51,7 @@
{if !isset($firstWizardPage)}
<input type="submit" class="btn btn-outline-dark" name="back" value="{tr}Back{/tr}" />
{/if}
- <input type="submit" class="btn btn-primary" style="{if $useDefaultPrefs}display:none{/if}" name="{if isset($firstWizardPage)}use-default-prefs{else}continue{/if}" value="{if isset($lastWizardPage)}{tr}Finish{/tr}{elseif isset($firstWizardPage)}{tr}Start the Wizardry{/tr}{else}{if $isEditable eq true}{tr}Save and Continue{/tr}{else}{tr}Next{/tr}{/if}{/if}"/>
+ <input type="submit" class="btn btn-primary" style="{if $useDefaultPrefs}display:none{/if}" name="{if isset($firstWizardPage)}use-default-prefs{else}continue{/if}" value="{if isset($lastWizardPage)}{tr}Finish_C(imperative){/tr}{elseif isset($firstWizardPage)}{tr}Start the Wizardry{/tr}{else}{if $isEditable eq true}{tr}Save and Continue{/tr}{else}{tr}Next{/tr}{/if}{/if}"/>
<input type="submit" class="btn btn-outline-danger" name="close" value="{tr}Close{/tr}"/>
</div>
</div>
=====================================
templates/wizard/wizard_bar_user.tpl
=====================================
@@ -12,7 +12,7 @@
<input type="hidden" name="url" value="{$homepageUrl}">
<input type="hidden" name="wizard_step" value="{$wizard_step}">
<input type="hidden" name="itemId" value="{$itemId}">
- <input type="submit" class="btn btn-primary" name="continue" value="{if isset($lastWizardPage)}{tr}Finish{/tr}{elseif isset($firstWizardPage)}{tr}Start{/tr}{else}{if $isEditable eq true}{tr}Save and Continue{/tr}{else}{tr}Next{/tr}{/if}{/if}" />
+ <input type="submit" class="btn btn-primary" name="continue" value="{if isset($lastWizardPage)}{tr}Finish_C(imperative){/tr}{elseif isset($firstWizardPage)}{tr}Start_C(imperative){/tr}{else}{if $isEditable eq true}{tr}Save and Continue{/tr}{else}{tr}Next{/tr}{/if}{/if}" />
</td>
</tr>
<tr>
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/59576c7eb5213d32cb985f6f4544459faa75d59f
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/59576c7eb5213d32cb985f6f4544459faa75d59f
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs