Skip to content

Commit

Permalink
Merge pull request SimpleMachines#8100 from Sesquipedalian/typos
Browse files Browse the repository at this point in the history
Fixes some typos in language strings
  • Loading branch information
Sesquipedalian authored Feb 13, 2024
2 parents f63d476 + 90dad8d commit 7ab0761
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Languages/en_US/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
other {# attachments/avatars are being reported as the wrong filesize}
}';
$txt['attach_repair_file_size_of_zero'] = '{0, plural,
one {# attachments/avatars has a size of zero on disk. (This will be deleted)}
one {# attachment/avatar has a size of zero on disk. (This will be deleted)}
other {# attachments/avatars have a size of zero on disk. (These will be deleted)}
}';
$txt['attach_repair_attachment_no_msg'] = '{0, plural,
Expand Down Expand Up @@ -752,7 +752,7 @@
$txt['hooks_field_function_name'] = 'Function Name';
$txt['hooks_field_function_method'] = 'Function is a method and its class is instantiated';
$txt['hooks_field_function'] = 'Function: {real_function}';
$txt['hooks_field_included_file'] = 'Included file : {included_file}';
$txt['hooks_field_included_file'] = 'Included file: {included_file}';
$txt['hooks_field_file_name'] = 'File Name';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Exists';
Expand Down
2 changes: 1 addition & 1 deletion Languages/en_US/Errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
$txt['quoted_post_deleted'] = 'The post you are trying to quote either does not exist, was deleted, or is no longer viewable by you.';
$txt['pm_too_many_per_hour'] = '{0, plural,
one {You have exceeded the limit of # personal message per hour.}
other {lYou have exceeded the limit of # personal messages per hour.}
other {You have exceeded the limit of # personal messages per hour.}
}';

$txt['register_only_once'] = 'Sorry, but you are not allowed to register multiple accounts at the same time from the same computer.';
Expand Down
5 changes: 1 addition & 4 deletions Languages/en_US/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -727,10 +727,7 @@
$txt['calendar_link_event'] = 'Link Event To Post';
$txt['calendar_confirm_delete'] = 'Are you sure you want to delete this event?';
$txt['calendar_linked_events'] = 'Linked Events';
$txt['calendar_click_all'] = '{num_birthdays, plural,
one {click to see all #}
other {click to see all #}
}';
$txt['calendar_click_all'] = 'Show all';
$txt['calendar_allday'] = 'All day';
$txt['calendar_timezone'] = 'Time zone';
$txt['calendar_list'] = 'List';
Expand Down
28 changes: 14 additions & 14 deletions Languages/en_US/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,15 @@
one {# hour}
other {# hours}
}, {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
}, and {s, plural,
one {# second}
other {# seconds}
}.';
$txt['upgrade_time_ms'] = 'The upgrade script has been running for the last {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
} and {s, plural,
one {# second}
other {# seconds}
Expand All @@ -364,15 +364,15 @@
one {# hour}
other {# hours}
}, {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
}, and {s, plural,
one {# second}
other {# seconds}
} ago.';
$txt['upgrade_time_updated_hm'] = 'The upgrade script was last updated {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
} and {s, plural,
one {# second}
other {# seconds}
Expand All @@ -385,15 +385,15 @@
one {# hour}
other {# hours}
}, {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
}, and {s, plural,
one {# second}
other {# seconds}
}';
$txt['upgrade_completed_time_ms'] = 'Upgrade completed in {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
} and {s, plural,
one {# second}
other {# seconds}
Expand All @@ -406,8 +406,8 @@
one {# hour}
other {# hours}
}, {m, plural,
one {# minutes}
other {# minutess}
one {# minute}
other {# minutes}
}, and {s, plural,
one {# second}
other {# seconds}
Expand Down
2 changes: 1 addition & 1 deletion Languages/en_US/Packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
$txt['package_file_perms_skipping_ftp'] = '<strong>Warning:</strong> Failed to connect to FTP server, attempting to change permissions without. This is <em>likely</em> to fail - please check the results upon completion and try again with correct FTP details if necessary.';

$txt['package_file_perms_dirs_done'] = '{1, plural,
one {{0, number, integer} of # director completed}
one {{0, number, integer} of # directory completed}
other {{0, number, integer} of # directories completed}
}';
$txt['package_file_perms_files_done'] = '{1, plural,
Expand Down
2 changes: 1 addition & 1 deletion Languages/en_US/PersonalMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
$txt['pm_search_none_found'] = 'No messages found';
$txt['pm_search_results_info'] = '{0, plural,
one {Found # matching message in {1}.}
one {Found # matching messages in {1}.}
other {Found # matching messages in {1}.}
}';

$txt['pm_search_orderby_relevant_first'] = 'Most relevant first';
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/Calendar.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ function template_show_month_grid($grid_name, $is_mini = false)
// 9...10! Let's stop there.
if ($birthday_count == 10 && $use_js_hide)
// !!TODO - Inline CSS and JavaScript should be moved.
echo '<span class="hidelink" id="bdhidelink_', $day['day'], '">...<br><a href="', Config::$scripturl, '?action=calendar;month=', $calendar_data['current_month'], ';year=', $calendar_data['current_year'], ';showbd" onclick="document.getElementById(\'bdhide_', $day['day'], '\').classList.remove(\'hidden\'); document.getElementById(\'bdhidelink_', $day['day'], '\').classList.add(\'hidden\'); return false;">(', Lang::getTxt('calendar_click_all', ['num_birthdays' => count($day['birthdays'])]), ')</a></span><span id="bdhide_', $day['day'], '" class="hidden">, ';
echo '<span class="hidelink" id="bdhidelink_', $day['day'], '">...<br><a href="', Config::$scripturl, '?action=calendar;month=', $calendar_data['current_month'], ';year=', $calendar_data['current_year'], ';showbd" onclick="document.getElementById(\'bdhide_', $day['day'], '\').classList.remove(\'hidden\'); document.getElementById(\'bdhidelink_', $day['day'], '\').classList.add(\'hidden\'); return false;">(', Lang::getTxt('calendar_click_all'), ')</a></span><span id="bdhide_', $day['day'], '" class="hidden">, ';

++$birthday_count;
}
Expand Down

0 comments on commit 7ab0761

Please sign in to comment.