Browse Source

Move the txt strings to a better place

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
b859a6672e

+ 2 - 2
Sources/ManageSettings.php

@@ -1264,10 +1264,10 @@ function ShowCustomProfiles()
 						$return = \'<p class="centertext bold_text">\'. $rowData[\'field_order\'] .\'<br />\';
 
 						if ($rowData[\'field_order\'] > 1)
-							$return .= \'<a href="\' . $scripturl . \'?action=admin;area=featuresettings;sa=profileedit;fid=\' . $rowData[\'id_field\'] . \';move=up"><span class="toggle_up" title="\'. $txt[\'move_cust_fields\'] .\' \'. $txt[\'move_cust_fields_up\'] .\'"></span></a>\';
+							$return .= \'<a href="\' . $scripturl . \'?action=admin;area=featuresettings;sa=profileedit;fid=\' . $rowData[\'id_field\'] . \';move=up"><span class="toggle_up" title="\'. $txt[\'custom_edit_order_move\'] .\' \'. $txt[\'custom_edit_order_up\'] .\'"></span></a>\';
 
 						if ($rowData[\'field_order\'] < $context[\'custFieldsMaxOrder\'])
-							$return .= \'<a href="\' . $scripturl . \'?action=admin;area=featuresettings;sa=profileedit;fid=\' . $rowData[\'id_field\'] . \';move=down"><span class="toggle_down" title="\'. $txt[\'move_cust_fields\'] .\' \'. $txt[\'move_cust_fields_down\'] .\'"></span></a>\';
+							$return .= \'<a href="\' . $scripturl . \'?action=admin;area=featuresettings;sa=profileedit;fid=\' . $rowData[\'id_field\'] . \';move=down"><span class="toggle_down" title="\'. $txt[\'custom_edit_order_move\'] .\' \'. $txt[\'custom_edit_order_down\'] .\'"></span></a>\';
 
 						$return .= \'</p>\';
 

+ 0 - 5
Themes/default/languages/Admin.english.php

@@ -717,9 +717,4 @@ $txt['board_perms_ignore'] = 'Ignore';
 $txt['board_perms_deny'] = 'Deny';
 $txt['all_boards_in_cat'] = 'All boards in this category';
 
-// Mainly (or only) used for ordering custom profile fields
-$txt['move_cust_fields'] = 'Move ';
-$txt['move_cust_fields_up'] = 'Up';
-$txt['move_cust_fields_down'] = 'Down';
-
 ?>

+ 3 - 0
Themes/default/languages/ManageSettings.english.php

@@ -269,6 +269,9 @@ $txt['custom_edit_mask_regex'] = 'Regex (Advanced)';
 $txt['custom_edit_enclose'] = 'Show Enclosed Within Text (Optional)';
 $txt['custom_edit_enclose_desc'] = 'We <strong>strongly</strong> recommend to use an input mask to validate the input supplied by the user.';
 
+$txt['custom_edit_order_move'] = 'Move ';
+$txt['custom_edit_order_up'] = 'Up';
+$txt['custom_edit_order_down'] = 'Down';
 $txt['custom_edit_placement'] = 'Choose Placement';
 $txt['custom_edit_placement_standard'] = 'Standard (with title)';
 $txt['custom_edit_placement_withicons'] = 'With Icons';