Skip to content

Commit

Permalink
Replace message os_version by os_build
Browse files Browse the repository at this point in the history
Issue #26840
  • Loading branch information
atrol committed Apr 13, 2020
1 parent ea2a961 commit 14517c7
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion account_prof_edit_page.php
Expand Up @@ -115,7 +115,7 @@
</tr>
<tr>
<th class="category">
<span class="required">*</span><?php echo lang_get( 'os_version' ) ?>
<span class="required">*</span><?php echo lang_get( 'os_build' ) ?>
</th>
<td>
<input type="text" name="os_build" class="input-sm" size="16" maxlength="16" value="<?php echo string_attribute( $v_os_build ) ?>" required />
Expand Down
2 changes: 1 addition & 1 deletion account_prof_menu_page.php
Expand Up @@ -127,7 +127,7 @@
</tr>
<tr>
<td class="category">
<span class="required">*</span> <?php echo lang_get( 'os_version' ) ?>
<span class="required">*</span> <?php echo lang_get( 'os_build' ) ?>
</td>
<td>
<input id="os-version" type="text" name="os_build" class="input-sm" size="16" maxlength="16" required />
Expand Down
2 changes: 1 addition & 1 deletion bug_report_page.php
Expand Up @@ -420,7 +420,7 @@
</tr>
<tr>
<th class="category">
<label for="os_build"><?php echo lang_get( 'os_version' ) ?></label>
<label for="os_build"><?php echo lang_get( 'os_build' ) ?></label>
</th>
<td>
<?php
Expand Down
2 changes: 1 addition & 1 deletion bug_update_page.php
Expand Up @@ -533,7 +533,7 @@

if( $t_show_os_build ) {
# OS Version
echo '<th class="category"><label for="os_build">' . lang_get( 'os_version' ) . '</label></th>';
echo '<th class="category"><label for="os_build">' . lang_get( 'os_build' ) . '</label></th>';
echo '<td>';

if( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) {
Expand Down
2 changes: 1 addition & 1 deletion bug_view_inc.php
Expand Up @@ -446,7 +446,7 @@

# OS Version
if( $t_flags['profiles_os_build_show'] && isset( $t_issue['os_build'] ) && !is_blank( $t_issue['os_build'] ) ) {
echo '<th class="bug-os-version category">', lang_get( 'os_version' ), '</th>';
echo '<th class="bug-os-version category">', lang_get( 'os_build' ), '</th>';
echo '<td class="bug-os-version">', string_display_line( $t_issue['os_build'] ), '</td>';
} else {
$t_spacer += 2;
Expand Down
4 changes: 2 additions & 2 deletions core/columns_api.php
Expand Up @@ -425,7 +425,7 @@ function column_get_title( $p_column ) {
case 'last_updated':
return lang_get( 'updated' );
case 'os_build':
return lang_get( 'os_version' );
return lang_get( 'os_build' );
case 'project_id':
return lang_get( 'email_project' );
case 'reporter_id':
Expand Down Expand Up @@ -762,7 +762,7 @@ function print_column_title_os( $p_sort, $p_dir, $p_columns_target = COLUMNS_TAR
*/
function print_column_title_os_build( $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
echo '<th class="column-os-build">';
print_view_bug_sort_link( lang_get( 'os_version' ), 'os_build', $p_sort, $p_dir, $p_columns_target );
print_view_bug_sort_link( lang_get( 'os_build' ), 'os_build', $p_sort, $p_dir, $p_columns_target );
print_sort_icon( $p_dir, $p_sort, 'os_build' );
echo '</th>';
}
Expand Down
2 changes: 1 addition & 1 deletion core/filter_form_api.php
Expand Up @@ -2583,7 +2583,7 @@ function filter_form_draw_inputs( $p_filter, $p_for_screen = true, $p_static = f
'os_filter_target' /* content id */
));
$t_row3->add_item( new TableFieldsItem(
$get_field_header( 'os_build_filter', lang_get( 'os_version' ) ),
$get_field_header( 'os_build_filter', lang_get( 'os_build' ) ),
filter_form_get_input( $t_filter, 'os_build', $t_show_inputs ),
1 /* colspan */,
null /* class */,
Expand Down
2 changes: 1 addition & 1 deletion core/history_api.php
Expand Up @@ -577,7 +577,7 @@ function history_localize_field_name( $p_field_name ) {
$t_field_localized = lang_get( 'os' );
break;
case 'os_build':
$t_field_localized = lang_get( 'os_version' );
$t_field_localized = lang_get( 'os_build' );
break;
case 'build':
$t_field_localized = lang_get( 'build' );
Expand Down
2 changes: 1 addition & 1 deletion lang/strings_english.txt
Expand Up @@ -576,7 +576,7 @@ $s_status = 'Status';
$s_duplicate_id = 'Duplicate ID';
$s_os = 'OS';
$s_projection = 'Projection';
$s_os_version = 'OS Version';
$s_os_build = 'OS Version';
$s_eta = 'ETA';
$s_product_version = 'Product Version';
$s_build = 'Build';
Expand Down
4 changes: 2 additions & 2 deletions print_all_bug_page_word.php
Expand Up @@ -132,7 +132,7 @@
$t_lang_platform = lang_get( 'platform' );
$t_lang_due_date = lang_get( 'due_date' );
$t_lang_os = lang_get( 'os' );
$t_lang_os_version = lang_get( 'os_version' );
$t_lang_os_build = lang_get( 'os_build' );
$t_lang_fixed_in_version = lang_get( 'fixed_in_version' );
$t_lang_resolution = lang_get( 'resolution' );
$t_lang_priority = lang_get( 'priority' );
Expand Down Expand Up @@ -297,7 +297,7 @@
<?php echo get_enum_element( 'priority', $t_bug->priority, auth_get_current_user_id(), $t_bug->project_id ) ?>
</td>
<td class="bold">
<?php echo sprintf( lang_get( 'label' ), $t_lang_os_version ) ?>
<?php echo sprintf( lang_get( 'label' ), $t_lang_os_build ) ?>
</td>
<td>
<?php echo string_display_line( $t_bug->os_build ) ?>
Expand Down

0 comments on commit 14517c7

Please sign in to comment.