Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

replace bulk of lang_get calls with _(gettext) call

  • Loading branch information...
commit d5add729d24e41ba3e5853c67f1795130118f77b 1 parent c30bfb8
@grangeway grangeway authored
Showing with 1,730 additions and 1,729 deletions.
  1. +4 −4 account_delete.php
  2. +1 −1  account_manage_columns_page.php
  3. +18 −18 account_page.php
  4. +42 −42 account_prefs_inc.php
  5. +1 −1  account_prefs_page.php
  6. +6 −6 account_prof_edit_page.php
  7. +13 −13 account_prof_menu_page.php
  8. +31 −31 account_sponsor_page.php
  9. +1 −1  account_sponsor_update.php
  10. +3 −3 account_update.php
  11. +1 −1  admin/db_stats.php
  12. +1 −1  admin/email_queue.php
  13. +8 −8 admin/index.php
  14. +14 −14 billing_inc.php
  15. +1 −1  billing_page.php
  16. +21 −21 bug_actiongroup.php
  17. +7 −7 bug_actiongroup_add_note_inc.php
  18. +6 −6 bug_actiongroup_attach_tags_inc.php
  19. +3 −3 bug_actiongroup_ext.php
  20. +31 −31 bug_actiongroup_page.php
  21. +5 −5 bug_actiongroup_update_product_build_inc.php
  22. +5 −5 bug_actiongroup_update_severity_inc.php
  23. +8 −8 bug_change_status_page.php
  24. +1 −1  bug_file_delete.php
  25. +5 −5 bug_file_upload_inc.php
  26. +7 −7 bug_monitor_list_view_inc.php
  27. +1 −1  bug_relationship_add.php
  28. +1 −1  bug_relationship_delete.php
  29. +10 −10 bug_relationship_graph.php
  30. +7 −7 bug_reminder_page.php
  31. +4 −4 bug_report.php
  32. +33 −33 bug_report_page.php
  33. +1 −1  bug_revision_drop.php
  34. +14 −14 bug_revision_view_page.php
  35. +2 −2 bug_set_sponsorship.php
  36. +13 −13 bug_sponsorship_list_view_inc.php
  37. +4 −4 bug_update.php
  38. +34 −34 bug_update_page.php
  39. +36 −36 bug_view_inc.php
  40. +1 −1  bugnote_add.php
  41. +9 −9 bugnote_add_inc.php
  42. +2 −2 bugnote_delete.php
  43. +4 −4 bugnote_edit_page.php
  44. +6 −6 bugnote_stats_inc.php
  45. +13 −13 bugnote_view_inc.php
  46. +9 −9 changelog_page.php
  47. +9 −9 core/authentication_api.php
  48. +21 −20 core/bug_group_action_api.php
  49. +4 −4 core/bug_revision_api.php
  50. +2 −2 core/bugnote_api.php
  51. +3 −3 core/category_api.php
  52. +2 −2 core/classes/Exception/Database/FieldNotFound.class.php
  53. +2 −2 core/classes/Exception/PHP/TimezoneUpdateFailed.class.php
  54. +3 −3 core/classes/MantisBug.class.php
  55. +1 −1  core/classes/MantisError.class.php
  56. +44 −44 core/columns_api.php
  57. +17 −17 core/email_api.php
  58. +2 −2 core/email_queue_api.php
  59. +154 −154 core/filter_api.php
  60. +59 −59 core/history_api.php
  61. +42 −42 core/html_api.php
  62. +7 −7 core/logging_api.php
  63. +4 −4 core/news_api.php
  64. +29 −29 core/print_api.php
  65. +6 −6 core/profile_api.php
  66. +1 −1  core/project_api.php
  67. +11 −11 core/relationship_api.php
  68. +1 −1  core/string_api.php
  69. +2 −2 core/tag_api.php
  70. +2 −2 core/twitter_api.php
  71. +1 −1  core/user_api.php
  72. +6 −6 history_inc.php
  73. +2 −2 issues_rss.php
  74. +13 −13 login_page.php
  75. +4 −4 login_select_proj_page.php
  76. +2 −2 lost_pwd.php
  77. +6 −6 lost_pwd_page.php
  78. +8 −8 main_page.php
  79. +1 −1  manage/adm_config_delete.php
  80. +21 −21 manage/adm_config_report.php
  81. +40 −40 manage/adm_permissions_report.php
  82. +11 −11 manage/columns_inc.php
  83. +1 −1  manage/config_columns_page.php
  84. +26 −26 manage/config_email_page.php
  85. +3 −3 manage/config_revert.php
  86. +46 −46 manage/config_work_threshold_page.php
  87. +3 −3 manage/config_workflow_graph_page.php
  88. +29 −29 manage/config_workflow_page.php
  89. +1 −1  manage/config_workflow_set.php
  90. +6 −6 manage/custom_field_delete.php
  91. +25 −25 manage/custom_field_edit_page.php
  92. +8 −8 manage/custom_field_page.php
  93. +7 −7 manage/overview_page.php
  94. +30 −30 manage/plugin_page.php
  95. +1 −1  manage/plugin_uninstall.php
  96. +1 −1  manage/proj_cat_add.php
  97. +1 −1  manage/proj_cat_delete.php
  98. +5 −5 manage/proj_cat_edit_page.php
  99. +10 −10 manage/proj_create_page.php
  100. +3 −3 manage/proj_custom_field_remove.php
  101. +3 −3 manage/proj_delete.php
  102. +67 −67 manage/proj_edit_page.php
  103. +14 −14 manage/proj_page.php
  104. +4 −4 manage/proj_user_remove.php
  105. +3 −3 manage/proj_ver_delete.php
  106. +8 −8 manage/proj_ver_edit_page.php
  107. +13 −13 manage/tags_page.php
  108. +3 −3 manage/user_create.php
  109. +8 −8 manage/user_create_page.php
  110. +3 −3 manage/user_delete.php
  111. +20 −20 manage/user_edit_page.php
  112. +19 −19 manage/user_page.php
  113. +3 −3 manage/user_proj_delete.php
  114. +1 −1  manage/user_prune.php
  115. +2 −2 manage/user_reset.php
  116. +7 −7 manage/user_update.php
  117. +5 −5 my_view_inc.php
  118. +1 −1  my_view_page.php
  119. +2 −2 news_add.php
  120. +10 −10 news_edit_page.php
  121. +2 −2 news_list_page.php
  122. +12 −12 news_menu_page.php
  123. +1 −1  news_rss.php
  124. +3 −3 news_update.php
  125. +1 −1  news_view_page.php
  126. +2 −2 permalink_page.php
  127. +1 −1  plugins/MantisCoreFormatting/pages/config.php
  128. +2 −2 plugins/MantisGraph/core/Period.php
  129. +6 −6 plugins/MantisGraph/core/graph_api.php
  130. +2 −2 plugins/MantisGraph/pages/bug_graph_bycategory.php
  131. +3 −3 plugins/MantisGraph/pages/bug_graph_bystatus.php
  132. +6 −6 plugins/MantisGraph/pages/config.php
  133. +1 −1  plugins/MantisGraph/pages/summary_graph_bycategory.php
  134. +1 −1  plugins/MantisGraph/pages/summary_graph_bydeveloper.php
  135. +1 −1  plugins/MantisGraph/pages/summary_graph_bypriority.php
  136. +1 −1  plugins/MantisGraph/pages/summary_graph_byreporter.php
  137. +1 −1  plugins/MantisGraph/pages/summary_graph_byresolution.php
  138. +1 −1  plugins/MantisGraph/pages/summary_graph_byseverity.php
  139. +1 −1  plugins/MantisGraph/pages/summary_graph_bystatus.php
  140. +1 −1  plugins/MantisGraph/pages/summary_jpgraph_page.php
  141. +2 −2 plugins/XmlImportExport/XmlImportExport.php
  142. +4 −4 plugins/XmlImportExport/pages/import.php
  143. +3 −3 print_all_bug_options_inc.php
  144. +5 −5 print_all_bug_page.php
  145. +59 −59 print_all_bug_page_word.php
  146. +36 −36 print_bug_page.php
  147. +4 −4 print_bugnote_inc.php
  148. +1 −1  proj_doc_add.php
  149. +7 −7 proj_doc_add_page.php
  150. +3 −3 proj_doc_delete.php
  151. +9 −9 proj_doc_edit_page.php
  152. +6 −6 proj_doc_page.php
  153. +1 −1  proj_doc_update.php
  154. +9 −9 project_page.php
  155. +2 −2 query_delete.php
  156. +3 −3 query_delete_page.php
  157. +4 −4 query_store.php
  158. +6 −6 query_store_page.php
  159. +2 −2 query_view_page.php
  160. +6 −6 roadmap_page.php
  161. +2 −2 set_project.php
  162. +2 −2 signup.php
  163. +8 −8 signup_page.php
  164. +31 −31 summary_page.php
  165. +5 −5 tag_attach.php
  166. +1 −1  tag_delete.php
  167. +11 −11 tag_update_page.php
  168. +13 −13 tag_view_page.php
  169. +1 −1  themes/default/common_config.php
  170. +1 −1  view_all_bug_page.php
  171. +6 −6 view_all_inc.php
  172. +27 −27 view_filters_page.php
  173. +8 −8 view_user_page.php
View
8 account_delete.php
@@ -83,8 +83,8 @@
throw new MantisBT\Exception\User\ProtectedLastAdministrator();
}
-helper_ensure_confirmed( lang_get( 'confirm_delete_msg' ),
- lang_get( 'delete_account_button' ) );
+helper_ensure_confirmed( _( 'Are you sure you wish to delete your account?' ),
+ _( 'Delete Account' ) );
form_security_purge('account_delete');
@@ -102,8 +102,8 @@
<br />
<div>
<?php
-echo lang_get( 'account_removed_msg' ) . '<br />';
-print_bracket_link( config_get( 'logout_redirect_page' ), lang_get( 'proceed' ) );
+echo _( 'Your account has been removed...' ) . '<br />';
+print_bracket_link( config_get( 'logout_redirect_page' ), _( 'Proceed' ) );
?>
</div>
View
2  account_manage_columns_page.php
@@ -46,7 +46,7 @@
require_api( 'html_api.php' );
require_api( 'lang_api.php' );
-html_page_top( lang_get( 'manage_columns_config' ) );
+html_page_top( _( 'Manage Columns' ) );
current_user_ensure_unprotected();
View
36 account_page.php
@@ -97,14 +97,14 @@
# Only show the update button if there is something to update.
$t_show_update_button = false;
-html_page_top( lang_get( 'account_link' ) );
+html_page_top( _( 'My Account' ) );
if ( $t_force_pw_reset ) {
echo '<div id="reset-passwd-msg" class="important-msg">';
echo '<ul>';
- echo '<li>' . lang_get( 'verify_warning' ) . '</li>';
+ echo '<li>' . _( 'Your account information has been verified. The account confirmation message you have received is now invalid.' ) . '</li>';
if ( helper_call_custom_function( 'auth_can_change_password', array() ) ) {
- echo '<li>' . lang_get( 'verify_change_password' ) . '</li>';
+ echo '<li>' . _( 'You must set a password here to allow you to log in again.' ) . '</li>';
}
echo '</ul>';
echo '</div>';
@@ -114,20 +114,20 @@
<div id="account-update-div" class="form-container">
<form id="account-update-form" method="post" action="account_update.php">
<fieldset <?php if ( $t_force_pw_reset ) { ?> class="has-required"<?php } ?>>
- <legend><span><?php echo lang_get( 'edit_account_title' ); ?></span></legend>
+ <legend><span><?php echo _( 'Edit Account' ); ?></span></legend>
<?php echo form_security_field( 'account_update' );
print_account_menu( 'account_page.php' );
if ( !helper_call_custom_function( 'auth_can_change_password', array() ) ) {
# With LDAP --> ?>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'username' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'Username' ) ?></span></span>
<span class="input"><span class="field-value"><?php echo string_display_line( $u_username ) ?></span></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'password' ) ?></span></span>
- <span class="input"><span class="field-value"><?php echo lang_get( 'no_password_change' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'Password' ) ?></span></span>
+ <span class="input"><span class="field-value"><?php echo _( 'The password is controlled by another system, hence cannot be edited here.' ) ?></span></span>
<span class="label-style"></span>
</div><?php
} else {
@@ -135,23 +135,23 @@
$t_show_update_button = true;
?>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'username' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'Username' ) ?></span></span>
<span class="input"><span class="field-value"><?php echo string_display_line( $u_username ) ?></span></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="password" <?php if ( $t_force_pw_reset ) { ?> class="required" <?php } ?>><span><?php echo lang_get( 'password' ) ?></span></label>
+ <label for="password" <?php if ( $t_force_pw_reset ) { ?> class="required" <?php } ?>><span><?php echo _( 'Password' ) ?></span></label>
<span class="input"><input id="password" type="password" name="password" size="32" maxlength="<?php echo PASSLEN; ?>" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="password-confirm" <?php if ( $t_force_pw_reset ) { ?> class="required" <?php } ?>><span><?php echo lang_get( 'confirm_password' ) ?></span></label>
+ <label for="password-confirm" <?php if ( $t_force_pw_reset ) { ?> class="required" <?php } ?>><span><?php echo _( 'Confirm Password' ) ?></span></label>
<span class="input"><input id="password-confirm" type="password" name="password_confirm" size="32" maxlength="<?php echo PASSLEN; ?>" /></span>
<span class="label-style"></span>
</div><?php
} ?>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'email' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'E-mail' ) ?></span></span>
<span class="input"><?php
if ( $t_ldap && ON == config_get( 'use_ldap_email' ) ) {
// With LDAP
@@ -167,7 +167,7 @@
<div class="field-container"><?php
if ( $t_ldap && ON == config_get( 'use_ldap_realname' ) ) {
# With LDAP
- echo '<span class="display-label"><span>' . lang_get( 'realname' ) . '</span></span>';
+ echo '<span class="display-label"><span>' . _( 'Real Name' ) . '</span></span>';
echo '<span class="input">';
echo '<span class="field-value">';
echo string_display_line( ldap_realname( $u_user_id ) );
@@ -176,7 +176,7 @@
} else {
# Without LDAP
$t_show_update_button = true;
- echo '<label for="realname"><span>' . lang_get( 'realname' ) . '</span></label>';
+ echo '<label for="realname"><span>' . _( 'Real Name' ) . '</span></label>';
echo '<span class="input">';
echo '<input id="realname" type="text" size="32" maxlength="' . REALLEN . '" name="realname" value="' . string_attribute( $u_realname ) . '" />';
echo '</span>';
@@ -184,12 +184,12 @@
<span class="label-style"></span>
</div>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'access_level' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'Access Level' ) ?></span></span>
<span class="input"><span class="field-value"><?php echo get_enum_element( 'access_levels', $u_access_level ); ?></span></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <span class="display-label"><span><?php echo lang_get( 'access_level_project' ) ?></span></span>
+ <span class="display-label"><span><?php echo _( 'Project Access Level' ) ?></span></span>
<span class="input"><span class="field-value"><?php echo get_enum_element( 'access_levels', current_user_get_access_level() ); ?></span></span>
<span class="label-style"></span>
</div>
@@ -197,7 +197,7 @@
$t_projects = user_get_assigned_projects( auth_get_current_user_id() );
if( count( $t_projects ) > 0 ) {
echo '<div class="field-container">';
- echo '<span class="display-label"><span>' . lang_get( 'assigned_projects' ) . '</span></span>';
+ echo '<span class="display-label"><span>' . _( 'Assigned Projects' ) . '</span></span>';
echo '<div class="input">';
echo '<ul class="project-list">';
foreach( $t_projects AS $t_project_id=>$t_project ) {
@@ -216,7 +216,7 @@
}
?>
<?php if ( $t_show_update_button ) { ?>
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'update_user_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Update User' ) ?>" /></span>
<?php } ?>
</fieldset>
</form>
@@ -229,7 +229,7 @@
<form method="post" action="account_delete.php">
<fieldset>
<?php echo form_security_field( 'account_delete' ) ?>
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'delete_account_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Delete Account' ) ?>" /></span>
</fieldset>
</form>
</div>
View
84 account_prefs_inc.php
@@ -90,7 +90,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<div id="account-prefs-update-div" class="form-container">
<form id="account-prefs-update-form" method="post" action="account_prefs_update.php">
<fieldset>
- <legend><span><?php echo lang_get( 'default_account_preferences_title' ) ?></span></legend>
+ <legend><span><?php echo _( 'Account Preferences' ) ?></span></legend>
<?php echo form_security_field( 'account_prefs_update' ) ?>
<input type="hidden" name="user_id" value="<?php echo $p_user_id ?>" />
<input type="hidden" name="redirect_url" value="<?php echo $t_redirect_url ?>" />
@@ -100,7 +100,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
}
?>
<div class="field-container">
- <label for="default-project-id"><span><?php echo lang_get( 'default_project' ) ?></span></label>
+ <label for="default-project-id"><span><?php echo _( 'Default Project' ) ?></span></label>
<span class="select">
<select id="default-project-id" name="default_project">
<?php print_project_option_list( $t_pref->default_project ) ?>
@@ -109,31 +109,31 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="refresh-delay"><span><?php echo lang_get( 'refresh_delay' ) ?></span></label>
- <span class="input"><input id="refresh-delay" type="text" name="refresh_delay" size="4" maxlength="4" value="<?php echo $t_pref->refresh_delay ?>" /> <?php echo lang_get( 'minutes' ) ?></span>
+ <label for="refresh-delay"><span><?php echo _( 'Refresh Delay' ) ?></span></label>
+ <span class="input"><input id="refresh-delay" type="text" name="refresh_delay" size="4" maxlength="4" value="<?php echo $t_pref->refresh_delay ?>" /> <?php echo _( 'minutes' ) ?></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="redirect-delay"><span><?php echo lang_get( 'redirect_delay' ) ?></span></label>
- <span class="input"><input id="redirect-delay" type="text" name="redirect_delay" size="4" maxlength="3" value="<?php echo $t_pref->redirect_delay ?>" /> <?php echo lang_get( 'seconds' ) ?></span>
+ <label for="redirect-delay"><span><?php echo _( 'Redirect Delay' ) ?></span></label>
+ <span class="input"><input id="redirect-delay" type="text" name="redirect_delay" size="4" maxlength="3" value="<?php echo $t_pref->redirect_delay ?>" /> <?php echo _( 'seconds' ) ?></span>
<span class="label-style"></span>
</div>
<fieldset class="field-container">
- <legend><span><?php echo lang_get( 'bugnote_order' ) ?></span></legend>
+ <legend><span><?php echo _( 'Notes Sort Order' ) ?></span></legend>
<span class="radio"><input id="bugnote-order-desc" type="radio" name="bugnote_order" value="DESC" <?php check_checked( $t_pref->bugnote_order, 'DESC' ); ?> /></span>
- <label for="bugnote-order-desc"><span><?php echo lang_get( 'bugnote_order_desc' ) ?></span></label>
+ <label for="bugnote-order-desc"><span><?php echo _( 'Descending' ) ?></span></label>
<span class="radio"><input id="bugnote-order-asc" type="radio" name="bugnote_order" value="ASC" <?php check_checked( $t_pref->bugnote_order, 'ASC' ); ?> /></span>
- <label for="bugnote-order-asc"><span><?php echo lang_get( 'bugnote_order_asc' ) ?></span></label>
+ <label for="bugnote-order-asc"><span><?php echo _( 'Ascending' ) ?></span></label>
<span class="label-style"></span>
</fieldset>
<?php if ( ON == config_get( 'enable_email_notification' ) ) { ?>
<fieldset class="field-container">
- <legend><label for="email-on-new"><?php echo lang_get( 'email_on_new' ) ?></label></legend>
+ <legend><label for="email-on-new"><?php echo _( 'E-mail on New' ) ?></label></legend>
<span class="checkbox"><input id="email-on-new" type="checkbox" name="email_on_new" <?php check_checked( $t_pref->email_on_new, ON ); ?> /></span>
- <label for="email-on-new-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-new-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-new-min-severity" name="email_on_new_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_new_min_severity ) ?>
</select>
@@ -141,12 +141,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-assigned"><?php echo lang_get( 'email_on_assigned' ) ?></label></legend>
+ <legend><label for="email-on-assigned"><?php echo _( 'E-mail on Change of Handler' ) ?></label></legend>
<span class="checkbox"><input id="email-on-assigned" type="checkbox" name="email_on_assigned" <?php check_checked( $t_pref->email_on_assigned, ON ); ?> /></span>
- <label for="email-on-assigned-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-assigned-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-assigned-min-severity" name="email_on_assigned_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_assigned_min_severity ) ?>
</select>
@@ -154,12 +154,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-feedback"><?php echo lang_get( 'email_on_feedback' ) ?></label></legend>
+ <legend><label for="email-on-feedback"><?php echo _( 'E-mail on Feedback' ) ?></label></legend>
<span class="checkbox"><input id="email-on-feedback" type="checkbox" name="email_on_feedback" <?php check_checked( $t_pref->email_on_feedback, ON ); ?> /></span>
- <label for="email-on-feedback-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-feedback-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-feedback-min-severity" name="email_on_feedback_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_feedback_min_severity ) ?>
</select>
@@ -167,12 +167,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-resolved"><?php echo lang_get( 'email_on_resolved' ) ?></label></legend>
+ <legend><label for="email-on-resolved"><?php echo _( 'E-mail on Resolved' ) ?></label></legend>
<span class="checkbox"><input id="email-on-resolved" type="checkbox" name="email_on_resolved" <?php check_checked( $t_pref->email_on_resolved, ON ); ?> /></span>
- <label for="email-on-resolved-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-resolved-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-resolved-min-severity" name="email_on_resolved_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_resolved_min_severity ) ?>
</select>
@@ -180,12 +180,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-closed"><?php echo lang_get( 'email_on_closed' ) ?></label></legend>
+ <legend><label for="email-on-closed"><?php echo _( 'E-mail on Closed' ) ?></label></legend>
<span class="checkbox"><input id="email-on-closed" type="checkbox" name="email_on_closed" <?php check_checked( $t_pref->email_on_closed, ON ); ?> /></span>
- <label for="email-on-closed-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-closed-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-closed-min-severity" name="email_on_closed_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_closed_min_severity ) ?>
</select>
@@ -193,12 +193,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-reopened"><?php echo lang_get( 'email_on_reopened' ) ?></label></legend>
+ <legend><label for="email-on-reopened"><?php echo _( 'E-mail on Reopened' ) ?></label></legend>
<span class="checkbox"><input id="email-on-reopened" type="checkbox" name="email_on_reopened" <?php check_checked( $t_pref->email_on_reopened, ON ); ?> /></span>
- <label for="email-on-reopened-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-reopened-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-reopened-min-severity" name="email_on_reopened_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_reopened_min_severity ) ?>
</select>
@@ -206,12 +206,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-bugnote-added"><?php echo lang_get( 'email_on_bugnote_added' ) ?></label></legend>
+ <legend><label for="email-on-bugnote-added"><?php echo _( 'E-mail on Note Added' ) ?></label></legend>
<span class="checkbox"><input id="email-on-bugnote-added" type="checkbox" name="email_on_bugnote" <?php check_checked( $t_pref->email_on_bugnote, ON ); ?> /></span>
- <label for="email-on-bugnote-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-bugnote-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-bugnote-min-severity" name="email_on_bugnote_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_bugnote_min_severity ) ?>
</select>
@@ -219,12 +219,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-status"><?php echo lang_get( 'email_on_status_change' ) ?></label></legend>
+ <legend><label for="email-on-status"><?php echo _( 'E-mail on Status Change' ) ?></label></legend>
<span class="checkbox"><input id="email-on-status" type="checkbox" name="email_on_status" <?php check_checked( $t_pref->email_on_status, ON ); ?> /></span>
- <label for="email-on-status-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-status-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-status-min-severity" name="email_on_status_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_status_min_severity ) ?>
</select>
@@ -232,12 +232,12 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<fieldset class="field-container">
- <legend><label for="email-on-priority-change"><?php echo lang_get( 'email_on_priority_change' ) ?></label></legend>
+ <legend><label for="email-on-priority-change"><?php echo _( 'E-mail on Priority Change' ) ?></label></legend>
<span class="checkbox"><input id="email-on-priority-change" type="checkbox" name="email_on_priority" <?php check_checked( $t_pref->email_on_priority , ON); ?> /></span>
- <label for="email-on-priority-min-severity" class="email-on-severity-label"><span><?php echo lang_get( 'with_minimum_severity' ) ?></span></label>
+ <label for="email-on-priority-min-severity" class="email-on-severity-label"><span><?php echo _( 'With Minimum Severity of' ) ?></span></label>
<span class="select email-on-severity">
<select id="email-on-priority-min-severity" name="email_on_priority_min_severity">
- <option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
+ <option value="<?php echo OFF ?>"><?php echo _( 'any' ) ?></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_priority_min_severity ) ?>
</select>
@@ -245,7 +245,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</fieldset>
<div class="field-container">
- <label for="email-bugnote-limit"><span><?php echo lang_get( 'email_bugnote_limit' ) ?></span></label>
+ <label for="email-bugnote-limit"><span><?php echo _( 'E-mail Notes Limit' ) ?></span></label>
<span class="input"><input id="email-bugnote-limit" type="text" name="email_bugnote_limit" maxlength="2" size="2" value="<?php echo $t_pref->email_bugnote_limit ?>" /></span>
<span class="label-style"></span>
</div>
@@ -271,7 +271,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<input type="hidden" name="email_bugnote_limit" value="<?php echo $t_pref->email_bugnote_limit ?>" />
<?php } ?>
<div class="field-container">
- <label for="timezone"><span><?php echo lang_get( 'timezone' ) ?></span></label>
+ <label for="timezone"><span><?php echo _( 'Time Zone' ) ?></span></label>
<span class="select">
<select id="timezone" name="timezone">
<?php print_timezone_option_list( $t_pref->timezone ? $t_pref->timezone : config_get_global( 'default_timezone' ) ) ?>
@@ -280,7 +280,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="language"><span><?php echo lang_get( 'language' ) ?></span></label>
+ <label for="language"><span><?php echo _( 'Language' ) ?></span></label>
<span class="select">
<select id="language" name="language">
<?php print_language_option_list( $t_pref->language ) ?>
@@ -289,7 +289,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="theme"><span><?php echo lang_get( 'theme' ) ?></span></label>
+ <label for="theme"><span><?php echo _( 'Theme' ) ?></span></label>
<span class="select">
<select id="theme" name="theme">
<?php print_theme_option_list( $t_pref->theme ) ?>
@@ -298,7 +298,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<span class="label-style"></span>
</div>
<?php event_signal( 'EVENT_ACCOUNT_PREF_UPDATE_FORM', array( $p_user_id ) ); ?>
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'update_prefs_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Update Prefs' ) ?>" /></span>
</fieldset>
</form>
</div>
@@ -309,7 +309,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo form_security_field( 'account_prefs_reset' ) ?>
<input type="hidden" name="user_id" value="<?php echo $p_user_id ?>" />
<input type="hidden" name="redirect_url" value="<?php echo $t_redirect_url ?>" />
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'reset_prefs_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Reset Prefs' ) ?>" /></span>
</fieldset>
</form>
</div>
View
2  account_prefs_page.php
@@ -63,7 +63,7 @@
define( 'ACCOUNT_PREFS_INC_ALLOW', true );
include( dirname( __FILE__ ) . '/account_prefs_inc.php' );
-html_page_top( lang_get( 'change_preferences_link' ) );
+html_page_top( _( 'Preferences' ) );
edit_account_prefs();
View
12 account_prof_edit_page.php
@@ -87,7 +87,7 @@
<tr>
<td class="form-title">
<input type="hidden" name="profile_id" value="<?php echo $v_id ?>" />
- <?php echo lang_get( 'edit_profile_title' ) ?>
+ <?php echo _( 'Edit Profile' ) ?>
</td>
<td class="right">
<?php
@@ -99,7 +99,7 @@
</tr>
<tr class="row-1">
<th class="category" width="25%">
- <span class="required">*</span><?php echo lang_get( 'platform' ) ?>
+ <span class="required">*</span><?php echo _( 'platform' ) ?>
</th>
<td width="75%">
<input type="text" name="platform" size="32" maxlength="32" value="<?php echo string_attribute( $v_platform ) ?>" />
@@ -107,7 +107,7 @@
</tr>
<tr class="row-2">
<th class="category">
- <span class="required">*</span><?php echo lang_get( 'operating_system' ) ?>
+ <span class="required">*</span><?php echo _( 'Operating System' ) ?>
</th>
<td>
<input type="text" name="os" size="32" maxlength="32" value="<?php echo string_attribute( $v_os ) ?>" />
@@ -115,7 +115,7 @@
</tr>
<tr class="row-1">
<th class="category">
- <span class="required">*</span><?php echo lang_get( 'os_version' ) ?>
+ <span class="required">*</span><?php echo _( 'OS Version' ) ?>
</th>
<td>
<input type="text" name="os_build" size="16" maxlength="16" value="<?php echo string_attribute( $v_os_build ) ?>" />
@@ -123,7 +123,7 @@
</tr>
<tr class="row-2">
<th class="category">
- <?php echo lang_get( 'additional_description' ) ?>
+ <?php echo _( 'Additional Description' ) ?>
</th>
<td>
<textarea name="description" cols="60" rows="8"><?php echo string_textarea( $v_description ) ?></textarea>
@@ -131,7 +131,7 @@
</tr>
<tr>
<td class="center" colspan="2">
- <input type="submit" class="button" value="<?php echo lang_get( 'update_profile_button' ) ?>" />
+ <input type="submit" class="button" value="<?php echo _( 'Update Profile' ) ?>" />
</td>
</tr>
</table>
View
26 account_prof_menu_page.php
@@ -70,7 +70,7 @@
access_ensure_global_level( config_get( 'add_profile_threshold' ) );
}
-html_page_top( lang_get( 'manage_profiles_link' ) );
+html_page_top( _( 'Profiles' ) );
if ( $g_global_profiles ) {
print_manage_menu( 'prof_menu_page.php' );
@@ -87,7 +87,7 @@
<div id="account-profile-div" class="form-container">
<form id="account-profile-form" method="post" action="account_prof_update.php">
<fieldset class="has-required">
- <legend><span><?php echo lang_get( 'add_profile_title' ) ?></span></legend>
+ <legend><span><?php echo _( 'Add Profile' ) ?></span></legend>
<?php echo form_security_field( 'profile_update' )?>
<input type="hidden" name="action" value="add" />
<input type="hidden" name="user_id" value="<?php echo $t_user_id ?>" />
@@ -97,26 +97,26 @@
}
?>
<div class="field-container">
- <label for="platform" class="required"><span><?php echo lang_get( 'platform' ) ?></span></label>
+ <label for="platform" class="required"><span><?php echo _( 'platform' ) ?></span></label>
<span class="input"><input id="platform" type="text" name="platform" size="32" maxlength="32" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="os" class="required"><span><?php echo lang_get( 'operating_system' ) ?></span></label>
+ <label for="os" class="required"><span><?php echo _( 'Operating System' ) ?></span></label>
<span class="input"><input id="os" type="text" name="os" size="32" maxlength="32" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="os-version" class="required"><span><?php echo lang_get( 'os_version' ) ?></span></label>
+ <label for="os-version" class="required"><span><?php echo _( 'OS Version' ) ?></span></label>
<span class="input"><input id="os-version" type="text" name="os_build" size="16" maxlength="16" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="description"><span><?php echo lang_get( 'additional_description' ) ?></span></label>
+ <label for="description"><span><?php echo _( 'Additional Description' ) ?></span></label>
<span class="textarea"><textarea id="description" name="description" cols="80" rows="8"></textarea></span>
<span class="label-style"></span>
</div>
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'add_profile_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Add Profile' ) ?>" /></span>
</fieldset>
</form>
</div>
@@ -131,27 +131,27 @@
<div id="account-profile-update-div" class="form-container">
<form id="account-profile-update-form" method="post" action="account_prof_update.php">
<fieldset>
- <legend><span><?php echo lang_get( 'edit_or_delete_profiles_title' ) ?></span></legend>
+ <legend><span><?php echo _( 'Edit or Delete Profiles' ) ?></span></legend>
<?php echo form_security_field( 'profile_update' )?>
<div class="field-container">
- <label for="action-edit"><span><?php echo lang_get( 'edit_profile' ) ?></span></label>
+ <label for="action-edit"><span><?php echo _( 'Edit Profile' ) ?></span></label>
<span class="input"><input id="action-edit" type="radio" name="action" value="edit" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
<?php if ( !$g_global_profiles ) { ?>
- <label for="action-default"><span><?php echo lang_get( 'make_default' ) ?></span></label>
+ <label for="action-default"><span><?php echo _( 'Make Default' ) ?></span></label>
<span class="input"><input id="action-default" type="radio" name="action" value="make_default" /></span>
<?php } ?>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="action-delete"><span><?php echo lang_get( 'delete_profile' ) ?></span></label>
+ <label for="action-delete"><span><?php echo _( 'Delete Profile' ) ?></span></label>
<span class="input"><input id="action-delete" type="radio" name="action" value="delete" /></span>
<span class="label-style"></span>
</div>
<div class="field-container">
- <label for="select-profile"><span><?php echo lang_get( 'select_profile' ) ?></span></label>
+ <label for="select-profile"><span><?php echo _( 'Select Profile' ) ?></span></label>
<span class="input">
<select id="select-profile" name="profile_id">
<?php print_profile_option_list( $t_user_id, '', $t_profiles ) ?>
@@ -159,7 +159,7 @@
</span>
<span class="label-style"></span>
</div>
- <span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'submit_button' ) ?>" /></span>
+ <span class="submit-button"><input type="submit" class="button" value="<?php echo _( 'Submit' ) ?>" /></span>
</fieldset>
</form>
</div>
View
62 account_sponsor_page.php
@@ -89,7 +89,7 @@
$t_show_all = gpc_get_bool( 'show_all', false );
# start the page
-html_page_top( lang_get( 'my_sponsorship' ) );
+html_page_top( _( 'My Sponsorships' ) );
$t_project = helper_get_current_project();
?>
@@ -97,7 +97,7 @@
<table class="width100" cellspacing="1">
<tr>
<td class="form-title">
- <?php echo lang_get( 'my_sponsorship' ) ?>
+ <?php echo _( 'My Sponsorships' ) ?>
</td>
<td class="right">
<?php print_account_menu( 'account_sponsor_page.php' ) ?>
@@ -128,7 +128,7 @@
$t_sponsor_count = count( $t_sponsors );
if ( $t_sponsor_count === 0 ) {
- echo '<p>' . lang_get( 'no_own_sponsored' ) . '</p>';
+ echo '<p>' . _( 'You have not sponsored any issues.' ) . '</p>';
} else {
?>
@@ -150,18 +150,18 @@
<!-- Headings -->
<tr>
<td class="form-title" colspan="9">
- <?php echo lang_get( 'own_sponsored' ) ?>
+ <?php echo _( 'Issues You have Sponsored:' ) ?>
</td>
</tr>
<tr>
- <td class="form-title"><?php echo lang_get( 'email_bug' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_project' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'fixed_in_version' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_status' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_handler' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_summary' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'amount' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'status' ) ?></td>
+ <td class="form-title"><?php echo _( 'Issue ID' ) ?></td>
+ <td class="form-title"><?php echo _( 'Project' ) ?></td>
+ <td class="form-title"><?php echo _( 'Fixed in Version' ) ?></td>
+ <td class="form-title"><?php echo _( 'Status' ) ?></td>
+ <td class="form-title"><?php echo _( 'Assigned To' ) ?></td>
+ <td class="form-title"><?php echo _( 'Summary' ) ?></td>
+ <td class="form-title"><?php echo _( 'Amount' ) ?></td>
+ <td class="form-title"><?php echo _( 'Status' ) ?></td>
<td class="form-title">&#160;</td>
</tr>
<?php
@@ -177,7 +177,7 @@
$t_resolution = string_attribute( get_enum_element( 'resolution', $t_bug->resolution ) );
$t_version_id = version_get_id( $t_bug->fixed_in_version, $t_bug->project_id );
if ( ( false !== $t_version_id ) && ( VERSION_RELEASED == version_get_field( $t_version_id, 'released' ) ) ) {
- $t_released_label = '<a title="' . lang_get( 'released' ) . '">' . $t_bug->fixed_in_version . '</a>';
+ $t_released_label = '<a title="' . _( 'Released' ) . '">' . $t_bug->fixed_in_version . '</a>';
} else {
$t_released_label = $t_bug->fixed_in_version;
}
@@ -194,7 +194,7 @@
# summary
echo '<td>' . string_display_line( $t_bug->summary );
if ( VS_PRIVATE == $t_bug->view_state ) {
- printf( ' <img src="%s" alt="(%s)" title="%s" />', helper_mantis_url( 'themes/' . config_get( 'theme' ) . '/images/protected.png' ), lang_get( 'private' ), lang_get( 'private' ) );
+ printf( ' <img src="%s" alt="(%s)" title="%s" />', helper_mantis_url( 'themes/' . config_get( 'theme' ) . '/images/protected.png' ), _( 'private' ), _( 'private' ) );
}
echo '</td>';
@@ -221,13 +221,13 @@
<!-- Totals -->
<tr>
<td colspan="5"></td>
- <td><?php echo lang_get( 'total_owing' ) ?></td>
+ <td><?php echo _( 'Total Owing' ) ?></td>
<td class="right"><?php echo sponsorship_format_amount( $t_total_owing ) ?></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="5"></td>
- <td><?php echo lang_get( 'total_paid' ) ?></td>
+ <td><?php echo _( 'Total Paid' ) ?></td>
<td class="right"><?php echo sponsorship_format_amount( $t_total_paid ) ?></td>
<td colspan="2"></td>
</tr>
@@ -251,7 +251,7 @@
$t_sponsor_count = count( $t_sponsors );
if ( $t_sponsor_count === 0 ) {
- echo '<p>' . lang_get( 'no_sponsored' ) . '</p>';
+ echo '<p>' . _( 'No sponsored issues Assigned To yourself were found.' ) . '</p>';
} else {
?>
@@ -275,18 +275,18 @@
<!-- Headings -->
<tr>
<td class="form-title" colspan="8">
- <?php echo lang_get( 'issues_handled' ) ?>
+ <?php echo _( 'Sponsored Issues You Have Been Assigned To:' ) ?>
</td>
</tr>
<tr>
- <td class="form-title"><?php echo lang_get( 'email_bug' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_project' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'fixed_in_version' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_status' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'email_summary' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'sponsor' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'amount' ) ?></td>
- <td class="form-title"><?php echo lang_get( 'status' ) ?></td>
+ <td class="form-title"><?php echo _( 'Issue ID' ) ?></td>
+ <td class="form-title"><?php echo _( 'Project' ) ?></td>
+ <td class="form-title"><?php echo _( 'Fixed in Version' ) ?></td>
+ <td class="form-title"><?php echo _( 'Status' ) ?></td>
+ <td class="form-title"><?php echo _( 'Summary' ) ?></td>
+ <td class="form-title"><?php echo _( 'Sponsor' ) ?></td>
+ <td class="form-title"><?php echo _( 'Amount' ) ?></td>
+ <td class="form-title"><?php echo _( 'Status' ) ?></td>
</tr>
<?php
$t_bug_list = array();
@@ -303,7 +303,7 @@
$t_resolution = string_attribute( get_enum_element( 'resolution', $t_bug->resolution ) );
$t_version_id = version_get_id( $t_bug->fixed_in_version, $t_bug->project_id );
if ( ( false !== $t_version_id ) && ( VERSION_RELEASED == version_get_field( $t_version_id, 'released' ) ) ) {
- $t_released_label = '<a title="' . lang_get( 'released' ) . '">' . $t_bug->fixed_in_version . '</a>';
+ $t_released_label = '<a title="' . _( 'Released' ) . '">' . $t_bug->fixed_in_version . '</a>';
} else {
$t_released_label = $t_bug->fixed_in_version;
}
@@ -317,7 +317,7 @@
# summary
echo '<td>' . string_display_line( $t_bug->summary );
if ( VS_PRIVATE == $t_bug->view_state ) {
- printf( ' <img src="%s" alt="(%s)" title="%s" />', helper_mantis_url( 'themes/' . config_get( 'theme' ) . '/images/protected.png' ), lang_get( 'private' ), lang_get( 'private' ) );
+ printf( ' <img src="%s" alt="(%s)" title="%s" />', helper_mantis_url( 'themes/' . config_get( 'theme' ) . '/images/protected.png' ), _( 'private' ), _( 'private' ) );
}
echo '</td>';
@@ -343,13 +343,13 @@
<!-- Totals -->
<tr>
<td colspan="5"></td>
- <td><?php echo lang_get( 'total_owing' ) ?></td>
+ <td><?php echo _( 'Total Owing' ) ?></td>
<td class="right"><?php echo sponsorship_format_amount( $t_total_owing ) ?></td>
<td></td>
</tr>
<tr>
<td colspan="5"></td>
- <td><?php echo lang_get( 'total_paid' ) ?></td>
+ <td><?php echo _( 'Total Paid' ) ?></td>
<td class="right"><?php echo sponsorship_format_amount( $t_total_paid ) ?></td>
<td></td>
</tr>
@@ -359,7 +359,7 @@
<td colspan="5">&#160;</td>
<!-- Update Button -->
<td colspan="2">
- <input type="submit" class="button" value="<?php echo lang_get( 'update_sponsorship_button' ) ?>" />
+ <input type="submit" class="button" value="<?php echo _( 'Change Payment Status' ) ?>" />
</td>
</tr>
</table>
View
2  account_sponsor_update.php
@@ -79,4 +79,4 @@
form_security_purge( 'account_sponsor_update' );
-print_successful_operation( 'account_sponsor_page.php', lang_get( 'payment_updated' ) );
+print_successful_operation( 'account_sponsor_page.php', _( 'Payment information updated.' ) );
View
6 account_update.php
@@ -118,14 +118,14 @@
form_security_purge('account_update');
if ( $t_email_updated ) {
- print_successful_operation( $t_redirect, lang_get( 'email_updated' ) );
+ print_successful_operation( $t_redirect, _( 'E-mail address successfully updated' ) );
}
if ( $t_password_updated ) {
- print_successful_operation( $t_redirect, lang_get( 'password_updated' ) );
+ print_successful_operation( $t_redirect, _( 'Password successfully updated' ) );
}
if ( $t_realname_updated ) {
- print_successful_operation( $t_redirect, lang_get( 'realname_updated' ) );
+ print_successful_operation( $t_redirect, _( 'Real name successfully updated' ) );
}
View
2  admin/db_stats.php
@@ -59,7 +59,7 @@ function helper_table_row_count( $p_table ) {
?>
<table class="width75" cellspacing="1">
<tr>
-<td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'database_statistics' ) ?></td>
+<td class="form-title" width="30%" colspan="2"><?php echo _( 'MantisBT Database Statistics' ) ?></td>
</tr>
<?php
foreach( db_get_table_list() as $t_table ) {
View
2  admin/email_queue.php
@@ -87,7 +87,7 @@
if( count( $t_ids ) > 0 ) {
- echo '<table><tr><th>' . lang_get('id') . '</th><th>' . lang_get('email') . '</th><th>' . lang_get('timestamp') . '</th><th>Send Or Delete</th></tr>';
+ echo '<table><tr><th>' . _( 'ID' ) . '</th><th>' . _( 'E-mail' ) . '</th><th>' . _( 'Timestamp' ) . '</th><th>Send Or Delete</th></tr>';
foreach( $t_ids as $t_id ) {
$row = email_queue_get( $t_id );
View
16 admin/index.php
@@ -57,26 +57,26 @@ function print_info_row( $p_description, $p_value ) {
<table class="width75" cellspacing="1">
<tr>
-<td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'install_information' ) ?></td>
+<td class="form-title" width="30%" colspan="2"><?php echo _( 'MantisBT Installation Information' ) ?></td>
</tr>
<?php
$t_version_suffix = config_get_global( 'version_suffix' );
- print_info_row( lang_get( 'mantis_version' ), MANTIS_VERSION, ( $t_version_suffix ? " $t_version_suffix" : '' ) );
+ print_info_row( _( 'MantisBT Version' ), MANTIS_VERSION, ( $t_version_suffix ? " $t_version_suffix" : '' ) );
print_info_row( 'php_version', phpversion());
?>
<tr>
-<td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'database_information' ) ?></td>
+<td class="form-title" width="30%" colspan="2"><?php echo _( 'MantisBT Database Information' ) ?></td>
</tr>
<?php
- print_info_row( lang_get( 'schema_version' ), config_get( 'database_version' ) );
+ print_info_row( _( 'Schema Version' ), config_get( 'database_version' ) );
?>
<tr>
-<td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'path_information' ) ?></td>
+<td class="form-title" width="30%" colspan="2"><?php echo _( 'MantisBT Path Information' ) ?></td>
</tr>
<?php
- print_info_row( lang_get( 'site_path' ), config_get( 'absolute_path' ) );
- print_info_row( lang_get( 'core_path' ), config_get( 'core_path' ) );
- print_info_row( lang_get( 'plugin_path' ), config_get( 'plugin_path' ) );
+ print_info_row( _( 'Site Path' ), config_get( 'absolute_path' ) );
+ print_info_row( _( 'Core Path' ), config_get( 'core_path' ) );
+ print_info_row( _( 'Plugin Path' ), config_get( 'plugin_path' ) );
?>
</table>
<?php
View
28 billing_inc.php
@@ -99,7 +99,7 @@
<?php
collapse_icon( 'bugnotestats' );
?>
- <?php echo lang_get( 'time_tracking' ) ?>
+ <?php echo _( 'Time tracking' ) ?>
</td>
</tr>
<tr class="row-2">
@@ -120,7 +120,7 @@
<tr class="row-2">
<td>
- <?php echo lang_get( 'username' ) ?>:
+ <?php echo _( 'Username' ) ?>:
<select name="reporter_id">
<option value="0" selected="selected"></option>
<?php print_reporter_option_list( $f_reporter_id, $f_project_id ) ?>
@@ -132,7 +132,7 @@
<?php if ( $t_cost_col ) { ?>
<tr class="row-2">
<td>
- <?php echo lang_get( 'time_tracking_cost_label' ) ?>
+ <?php echo _( 'Cost:' ) ?>
<input type="text" name="bugnote_cost" value="<?php echo $f_bugnote_cost ?>" />
</td>
</tr>
@@ -140,7 +140,7 @@
<tr>
<td class="center" colspan="2">
<input type="hidden" name="id" value="<?php echo isset( $f_bug_id ) ? $f_bug_id : 0 ?>" />
- <input type="submit" class="button" name="get_bugnote_stats_button" value="<?php echo lang_get( 'time_tracking_get_info_button' ) ?>" />
+ <input type="submit" class="button" name="get_bugnote_stats_button" value="<?php echo _( 'Get Time Tracking Information' ) ?>" />
</td>
</tr>
@@ -162,14 +162,14 @@
<table class="width100" cellspacing="0">
<tr class="row-category-history">
<td class="small-caption">
- <?php echo lang_get( 'username' ) ?>
+ <?php echo _( 'Username' ) ?>
</td>
<td class="small-caption">
- <?php echo lang_get( 'time_tracking' ) ?>
+ <?php echo _( 'Time tracking' ) ?>
</td>
<?php if ( $t_cost_col) { ?>
<td class="small-caption">
- <?php echo lang_get( 'time_tracking_cost' ) ?>
+ <?php echo _( 'Cost' ) ?>
</td>
<?php } ?>
@@ -188,7 +188,7 @@
$t_item['sum_time_tracking'] = db_minutes_to_hhmm( $t_item['sum_time_tracking'] );
if ( $t_item['bug_id'] != $t_prev_id) {
- $t_link = sprintf( lang_get( 'label' ), string_get_bug_view_link( $t_item['bug_id'] ) ) . lang_get( 'word_separator' ) . string_display( $t_item['summary'] );
+ $t_link = sprintf( _( '%1$s:' ), string_get_bug_view_link( $t_item['bug_id'] ) ) . _( '&#32;' ) . string_display( $t_item['summary'] );
echo '<tr class="row-category-history"><td colspan="4">' . $t_link . "</td></tr>";
$t_prev_id = $t_item['bug_id'];
}
@@ -210,7 +210,7 @@
?>
<tr>
<td class="small-caption">
- <?php echo lang_get( 'total_time' ); ?>
+ <?php echo _( 'Total time' ); ?>
</td>
<td class="small-caption">
<?php echo db_minutes_to_hhmm( $t_sum_in_minutes ); ?>
@@ -229,14 +229,14 @@
<table class="width100" cellspacing="0">
<tr class="row-category-history">
<td class="small-caption">
- <?php echo lang_get( 'username' ) ?>
+ <?php echo _( 'Username' ) ?>
</td>
<td class="small-caption">
- <?php echo lang_get( 'time_tracking' ) ?>
+ <?php echo _( 'Time Tracking' ) ?>
</td>
<?php if ( $t_cost_col) { ?>
<td class="small-caption">
- <?php echo lang_get( 'time_tracking_cost' ) ?>
+ <?php echo _( 'Cost' ) ?>
</td>
<?php } ?>
</tr>
@@ -259,7 +259,7 @@
<?php } ?>
<tr>
<td class="small-caption">
- <?php echo lang_get( 'total_time' ); ?>
+ <?php echo _( 'Total time' ); ?>
</td>
<td class="small-caption">
<?php echo db_minutes_to_hhmm( $t_sum_in_minutes ); ?>
@@ -278,7 +278,7 @@
<tr>
<td class="form-title" colspan="4">
<?php collapse_icon( 'bugnotestats' );
- echo lang_get( 'time_tracking' ) ?>
+ echo _( 'Time Tracking' ) ?>
</td>
</tr>
</table>
View
2  billing_page.php
@@ -42,7 +42,7 @@
access_ensure_global_level( config_get( 'time_tracking_reporting_threshold' ) );
-html_page_top( lang_get( 'time_tracking_billing_link' ) );
+html_page_top( _( 'Billing' ) );
?>
<br />
View
42 bug_actiongroup.php
@@ -115,9 +115,9 @@
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
if ( !access_can_close_bug( $t_bug_id ) ) {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
+ $t_failed_ids[$t_bug_id] = _( 'This issue cannot be changed to the requested status' );
}
}
break;
@@ -125,7 +125,7 @@
if ( access_has_bug_level( config_get( 'delete_bug_threshold' ), $t_bug_id ) ) {
$t_bug->delete();
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'MOVE':
@@ -135,7 +135,7 @@
bug_move( $t_bug_id, $f_project_id );
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'COPY':
@@ -144,7 +144,7 @@
if ( access_has_project_level( config_get( 'report_bug_threshold' ), $f_project_id ) ) {
bug_copy( $t_bug_id, $f_project_id, true, true, true, true, true, true );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'ASSIGN':
@@ -165,9 +165,9 @@
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
if ( bug_check_workflow($t_status, $t_assign_status ) ) {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
+ $t_failed_ids[$t_bug_id] = _( 'This issue cannot be changed to the requested status' );
}
}
break;
@@ -184,9 +184,9 @@
} else {
if ( ( $t_status < $t_resolved_status ) &&
bug_check_workflow($t_status, $t_resolved_status ) ) {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
+ $t_failed_ids[$t_bug_id] = _( 'This issue cannot be changed to the requested status' );
}
}
break;
@@ -197,7 +197,7 @@
bug_set_field( $t_bug_id, 'priority', $f_priority );
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'UP_STATUS':
@@ -215,10 +215,10 @@
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_status' );
+ $t_failed_ids[$t_bug_id] = _( 'This issue cannot be changed to the requested status' );
}
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'UP_CATEGORY':
@@ -229,10 +229,10 @@
bug_set_field( $t_bug_id, 'category_id', $f_category_id );
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_category' );
+ $t_failed_ids[$t_bug_id] = _( 'This issue cannot be changed to the requested category' );
}
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'UP_FIXED_IN_VERSION':
@@ -250,7 +250,7 @@
}
if ( !$t_success ) {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'UP_TARGET_VERSION':
@@ -268,7 +268,7 @@
}
if ( !$t_success ) {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'VIEW_STATUS':
@@ -278,7 +278,7 @@
bug_set_field( $t_bug_id, 'view_state', $f_view_status );
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'SET_STICKY':
@@ -289,7 +289,7 @@
bug_set_field( $t_bug_id, 'sticky', intval( !$f_sticky ) );
helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
} else {
- $t_failed_ids[$t_bug_id] = lang_get( 'bug_actiongroup_access' );
+ $t_failed_ids[$t_bug_id] = _( 'You did not have appropriate permissions to perform that action.' );
}
break;
case 'CUSTOM':
@@ -321,13 +321,13 @@
echo '<div><br />';
echo '<table class="width75">';
- $separator = lang_get( 'word_separator' );
+ $separator = _( '&#32;' );
foreach( $t_failed_ids as $t_id => $t_reason ) {
- $label = sprintf( lang_get( 'label' ), string_get_bug_view_link( $t_id ) ) . $separator;
+ $label = sprintf( _( '%1$s:' ), string_get_bug_view_link( $t_id ) ) . $separator;
printf( "<tr><td width=\"50%%\">%s%s</td><td>%s</td></tr>\n", $label, bug_get_field( $t_id, 'summary' ), $t_reason );
}
echo '</table><br />';
- print_bracket_link( $t_redirect_url, lang_get( 'proceed' ) );
+ print_bracket_link( $t_redirect_url, _( 'Proceed' ) );
echo '</div>';
html_page_bottom();
View
14 bug_actiongroup_add_note_inc.php
@@ -53,7 +53,7 @@
function action_add_note_print_title() {
echo '<tr class="form-title">';
echo '<td colspan="2">';
- echo lang_get( 'add_bugnote_title' );
+ echo _( 'Add Note' );
echo '</td></tr>';
}
@@ -64,12 +64,12 @@ function action_add_note_print_title() {
* A row has two columns.
*/
function action_add_note_print_fields() {
- echo '<tr class="row-1"><th class="category">', lang_get( 'add_bugnote_title' ), '</th><td><textarea name="bugnote_text" cols="80" rows="10"></textarea></td></tr>';
+ echo '<tr class="row-1"><th class="category">', _( 'Add Note' ), '</th><td><textarea name="bugnote_text" cols="80" rows="10"></textarea></td></tr>';
?>
<!-- View Status -->
<tr class="row-2">
<th class="category">
- <?php echo lang_get( 'view_status' ) ?>
+ <?php echo _( 'View Status' ) ?>
</th>
<td>
<?php
@@ -87,7 +87,7 @@ function action_add_note_print_fields() {
</td>
</tr>
<?php
- echo '<tr><td colspan="2" class="center"><input type="submit" class="button" value="' . lang_get( 'add_bugnote_button' ) . ' " /></td></tr>';
+ echo '<tr><td colspan="2" class="center"><input type="submit" class="button" value="' . _( 'Add Note' ) . ' " /></td></tr>';
}
/**
@@ -101,18 +101,18 @@ function action_add_note_validate( $p_bug_id ) {
$f_bugnote_text = gpc_get_string( 'bugnote_text' );
if ( is_blank( $f_bugnote_text ) ) {
- throw new MantisBT\Exception\Field\EmptyField( lang_get( 'bugnote' ) );
+ throw new MantisBT\Exception\Field\EmptyField( _( 'Note' ) );
}
$t_add_bugnote_threshold = config_get( 'add_bugnote_threshold' );
$t_bug_id = $p_bug_id;
if ( bug_is_readonly( $t_bug_id ) ) {
- return lang_get( 'actiongroup_error_issue_is_readonly' );
+ return _( 'Issue is readonly.' );
}
if ( !access_has_bug_level( $t_add_bugnote_threshold, $t_bug_id ) ) {
- return lang_get( 'access_denied' );
+ return _( 'Access Denied.' );
}
return null;
View
12 bug_actiongroup_attach_tags_inc.php
@@ -51,7 +51,7 @@
function action_attach_tags_print_title() {
echo '<tr class="form-title">';
echo '<td colspan="2">';
- echo lang_get( 'tag_attach_long' );
+ echo _( 'Attach Tags' );
echo '</td></tr>';
}
@@ -59,9 +59,9 @@ function action_attach_tags_print_title() {
* Prints the table and form for the Attach Tags group action page.
*/
function action_attach_tags_print_fields() {
- echo '<tr><th class="category">',lang_get('tag_attach_long'),'</th><td>';
+ echo '<tr><th class="category">',_( 'Attach Tags' ),'</th><td>';
print_tag_input();
- echo '<input type="submit" class="button" value="' . lang_get( 'tag_attach' ) . ' " /></td></tr>';
+ echo '<input type="submit" class="button" value="' . _( 'Attach' ) . ' " /></td></tr>';
}
/**
@@ -77,7 +77,7 @@ function action_attach_tags_validate( $p_bug_id ) {
$t_can_attach = access_has_bug_level( config_get( 'tag_attach_threshold' ), $p_bug_id );
if( !$t_can_attach ) {
- return lang_get( 'tag_attach_denied' );
+ return _( 'Attach permission denied.' );
}
if( !isset( $g_action_attach_tags_tags ) ) {
@@ -97,12 +97,12 @@ function action_attach_tags_validate( $p_bug_id ) {
$t_can_create = access_has_bug_level( config_get( 'tag_create_threshold' ), $p_bug_id );
if( count( $g_action_attach_tags_create ) > 0 && !$t_can_create ) {
- return lang_get( 'tag_create_denied' );
+ return _( 'Create permission denied.' );
}
if( count( $g_action_attach_tags_create ) == 0 &&
count( $g_action_attach_tags_attach ) == 0 ) {
- return lang_get( 'tag_none_attached' );
+ return _( 'No tags attached.' );
}
return null;
View
6 bug_actiongroup_ext.php
@@ -102,13 +102,13 @@
echo '<div>';
- $t_word_separator = lang_get( 'word_separator' );
+ $t_word_separator = _( '&#32;' );
foreach( $t_failed_ids as $t_id => $t_reason ) {
- $label = sprintf( lang_get( 'label' ), string_get_bug_view_link( $t_id ) ) . $t_word_separator;
+ $label = sprintf( _( '%1$s:' ), string_get_bug_view_link( $t_id ) ) . $t_word_separator;
printf("<p>%s%s</p>\n", $label, $t_reason );
}
- print_bracket_link( 'view_all_bug_page.php', lang_get( 'proceed' ) );
+ print_bracket_link( 'view_all_bug_page.php', _( 'Proceed' ) );
echo '</div>';
html_page_bottom();
View
62 bug_actiongroup_page.php
@@ -131,93 +131,93 @@
# Use a simple confirmation page, if close or delete...
case 'CLOSE' :
$t_finished = true;
- $t_question_title = lang_get( 'close_bugs_conf_msg' );
- $t_button_title = lang_get( 'close_group_bugs_button' );
+ $t_question_title = _( 'Are you sure you wish to close these issues?' );
+ $t_button_title = _( 'Close Issues' );
$t_bugnote = true;
break;
case 'DELETE' :
$t_finished = true;
- $t_question_title = lang_get( 'delete_bugs_conf_msg' );
- $t_button_title = lang_get( 'delete_group_bugs_button' );
+ $t_question_title = _( 'Are you sure you wish to delete these issues?' );
+ $t_button_title = _( 'Delete Issues' );
break;
case 'SET_STICKY' :
$t_finished = true;
- $t_question_title = lang_get( 'set_sticky_bugs_conf_msg' );
+ $t_question_title = _( 'Are you sure you wish to set/unset these issues sticky?' );
$t_button_title = lang_get( 'set_sticky_group_bugs_button' );
break;
# ...else we define the variables used in the form
case 'MOVE' :
- $t_question_title = lang_get( 'move_bugs_conf_msg' );
- $t_button_title = lang_get( 'move_group_bugs_button' );
+ $t_question_title = _( 'Move issues to' );
+ $t_button_title = _( 'Move Issues' );
$t_form = 'project_id';
break;
case 'COPY' :
- $t_question_title = lang_get( 'copy_bugs_conf_msg' );
- $t_button_title = lang_get( 'copy_group_bugs_button' );
+ $t_question_title = _( 'Copy issues to' );
+ $t_button_title = _( 'Copy Issues' );
$t_form = 'project_id';
break;
case 'ASSIGN' :
- $t_question_title = lang_get( 'assign_bugs_conf_msg' );
- $t_button_title = lang_get( 'assign_group_bugs_button' );
+ $t_question_title = _( 'Assign issues to' );
+ $t_button_title = _( 'Assign Issues' );
$t_form = 'assign';
break;
case 'RESOLVE' :
- $t_question_title = lang_get( 'resolve_bugs_conf_msg' );
- $t_but