Merge pull request #5343 from astifter/fix_relocate_button
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 9 Jul 2018 12:09:00 +0000 (14:09 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Jul 2018 12:09:00 +0000 (14:09 +0200)
Fix relocate button label.

mod/admin.php
view/templates/admin/site.tpl

index f12ec5e..4d4c065 100644 (file)
@@ -1465,7 +1465,8 @@ function admin_page_site(App $a)
                '$relay_server_tags'    => ['relay_server_tags', L10n::t("Server tags"), Config::get('system','relay_server_tags'), L10n::t("Comma separated list of tags for the 'tags' subscription.")],
                '$relay_user_tags'      => ['relay_user_tags', L10n::t("Allow user tags"), Config::get('system', 'relay_user_tags', true), L10n::t("If enabled, the tags from the saved searches will used for the 'tags' subscription in addition to the 'relay_server_tags'.")],
 
-               '$form_security_token'  => get_form_security_token("admin_site")
+               '$form_security_token'  => get_form_security_token("admin_site"),
+               '$relocate_button'      => L10n::t('Start Relocation'),
        ]);
 }
 
index 31b3b68..ad5f42e 100644 (file)
        <h3>{{$relocate}}</h3>
        {{include file="field_input.tpl" field=$relocate_url}}
        <input type="hidden" name="page_site" value="{{$submit|escape:'html'}}">
-       <div class="submit"><input type="submit" name="relocate" value="{{$submit|escape:'html'}}" /></div>
+       <div class="submit"><input type="submit" name="relocate" value="{{$relocate_button|escape:'html'}}" /></div>
        </form>
 
 </div>