More i18n maintenance (stray markers, hard-coded constants)

This commit is contained in:
Matthias Mees 2014-03-07 13:29:28 +01:00
parent ec3ebca433
commit b70a4dd41c
3 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@
<option value="">{$CONST.COMMENTS_FILTER_ALL}</option> <option value="">{$CONST.COMMENTS_FILTER_ALL}</option>
<option value="NORMAL"{if $c_type == 'NORMAL'} selected{/if}>{$CONST.COMMENTS}</option> <option value="NORMAL"{if $c_type == 'NORMAL'} selected{/if}>{$CONST.COMMENTS}</option>
<option value="TRACKBACK"{if $c_type == 'TRACKBACK'} selected{/if}>{$CONST.TRACKBACKS}</option> <option value="TRACKBACK"{if $c_type == 'TRACKBACK'} selected{/if}>{$CONST.TRACKBACKS}</option>
<option value="PINGBACK"{if $c_type == 'PINGBACK'} selected{/if}>{$CONST.PINGBACKS}</option> {* l18n *} <option value="PINGBACK"{if $c_type == 'PINGBACK'} selected{/if}>{$CONST.PINGBACKS}</option> {* i18n *}
</select> </select>
</div> </div>
</div> </div>
@ -95,13 +95,13 @@
{if $c_type == 'TRACKBACK'} {if $c_type == 'TRACKBACK'}
{$CONST.NO_TRACKBACKS} {$CONST.NO_TRACKBACKS}
{else if $c_type == 'PINGBACK'} {else if $c_type == 'PINGBACK'}
{$CONST.NO_PINGBACKS} {* l18n *} {$CONST.NO_PINGBACKS} {* i18n *}
{else} {else}
{$CONST.NO_COMMENTS} {$CONST.NO_COMMENTS}
{/if} {/if}
</span> </span>
<a class="block_level" href="serendipity_admin.php?serendipity[adminModule]=comments">Return to default comment list</a> {* l18n *} <a class="block_level" href="serendipity_admin.php?serendipity[adminModule]=comments">Return to default comment list</a> {* i18n *}
{else} {else}
<form id="formMultiDelete" action="" method="POST" name="formMultiDelete"> <form id="formMultiDelete" action="" method="POST" name="formMultiDelete">
{$formtoken} {$formtoken}

View File

@ -36,9 +36,9 @@
<input name="serendipity[group]" type="hidden" value="{$from.id}"> <input name="serendipity[group]" type="hidden" value="{$from.id}">
{/if} {/if}
<div class="clearfix odd form_field"> <div class="clearfix odd form_field">
<label for="group_name">{$CONST.NAME} <button class="toggle_info button_link" type="button" data-href="#groupName_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> More</span></button></label> <label for="group_name">{$CONST.NAME} <button class="toggle_info button_link" type="button" data-href="#groupName_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> {$CONST.MORE}</span></button></label>
<input id="group_name" name="serendipity[name]" type="text" value="{$from.name|escape}"> <input id="group_name" name="serendipity[name]" type="text" value="{$from.name|escape}">
<span id="groupName_info" class="field_info additional_info">Use as uppercased eg. 'EXAMPLE_GROUP' name, but not as a constant 'USERLEVEL_XYZ' group name.</span> <span id="groupName_info" class="field_info additional_info">Use as uppercased eg. 'EXAMPLE_GROUP' name, but not as a constant 'USERLEVEL_XYZ' group name.</span> {* i18n *}
</div> </div>
<div class="clearfix even form_select"> <div class="clearfix even form_select">

View File

@ -13,7 +13,7 @@
{if $media.is_edit} {if $media.is_edit}
<div class="form_buttons"> <div class="form_buttons">
{if NOT $media.case_add} {if NOT $media.case_add}
<a class="button_link" href="?serendipity[adminModule]=media">Back</a> <a class="button_link" href="?serendipity[adminModule]=media">{$CONST.BACK}</a>
{/if} {/if}
<input name="submit" type="submit" value="{$CONST.GO}"> <input name="submit" type="submit" value="{$CONST.GO}">
</div> </div>