Skip to content

Instantly share code, notes, and snippets.

@marc1706
Last active August 28, 2024 19:47
Show Gist options
  • Save marc1706/ffce9d722ff0a234127ae0d2ad7584e3 to your computer and use it in GitHub Desktop.
Save marc1706/ffce9d722ff0a234127ae0d2ad7584e3 to your computer and use it in GitHub Desktop.
Language changes phpBB 3.3.13 to 3.3.13 (no changes after 3.3.13-RC1)
diff --git a/phpBB/language/en/acp/posting.php b/phpBB/language/en/acp/posting.php
index 3bff6b9185..f252864eb6 100644
--- a/phpBB/language/en/acp/posting.php
+++ b/phpBB/language/en/acp/posting.php
@@ -88,6 +88,20 @@ $lang = array_merge($lang, array(
'LOCAL_URL' => 'A local URL. The URL must be relative to the topic page and cannot contain a server name or protocol, as links are prefixed with “%s”',
'RELATIVE_URL' => 'A relative URL. You can use this to match parts of a URL, but be careful: a full URL is a valid relative URL. When you want to use relative URLs of your board, use the LOCAL_URL token.',
'COLOR' => 'A HTML colour, can be either in the numeric form <samp>#FF1234</samp> or a <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-color">CSS colour keyword</a> such as <samp>fuchsia</samp> or <samp>InactiveBorder</samp>',
+ 'ALNUM' => 'Characters from the latin alphabet (A-Z) and numbers.',
+ 'CHOICE' => 'A choice of specified values, e.g. <samp>{CHOICE=spades,hearts,diamonds,clubs}</samp>. The values are treated as case-insensitive by default and can be treated case-sensitive by specifying the <samp>caseSensitive</samp> option: <samp>{CHOICE=Spades,Hearts,Diamonds,Clubs;caseSensitive}</samp>',
+ 'FLOAT' => 'A decimal value, e.g. <samp>0.5</samp>.',
+ 'HASHMAP' => 'Maps strings to their replacement in the form <samp>{HASHMAP=string1:replacement1,string2:replacement2}</samp>. Case-sensitive. Preserves unknown values by default.',
+ 'INT' => 'An integer value, e.g. <samp>2</samp>.',
+ 'IP' => 'A valid IPv4 or IPv6 address.',
+ 'IPPORT' => 'A valid IPv4 or IPv6 address with port number.',
+ 'IPV4' => 'A valid IPv4 address.',
+ 'IPV6' => 'A valid IPv6 address.',
+ 'MAP' => 'Maps strings to their replacement in the form <samp>{MAP=string1:replacement1,string2:replacement2}</samp>. Case-insensitive. Preserves unknown values by default.',
+ 'RANGE' => 'Accepts an integer in the given range, e.g. <samp>{RANGE=-10,42}</samp>.',
+ 'REGEXP' => 'Validates its value against a given regexp, e.g. <samp>{REGEXP=/^foo\w+bar$/}</samp>.',
+ 'TIMESTAMP' => 'A timestamp such as <samp>1h30m10s</samp> which will be converted to a number of seconds. Also accepts a number.',
+ 'UINT' => 'An unsigned integer value. Same as <samp>{INT}</samp>, but rejects values less than 0.',
),
));
diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php
index ce81039809..b1cbe80f4d 100644
--- a/phpBB/language/en/cli.php
+++ b/phpBB/language/en/cli.php
@@ -108,6 +108,8 @@ $lang = array_merge($lang, array(
'CLI_DESCRIPTION_USER_ADD_OPTION_NOTIFY' => 'Send account activation email to the new user (not sent by default)',
'CLI_DESCRIPTION_USER_DELETE' => 'Delete a user account.',
'CLI_DESCRIPTION_USER_DELETE_USERNAME' => 'Username of the user to delete',
+ 'CLI_DESCRIPTION_USER_DELETE_ID' => 'Delete user accounts by ID.',
+ 'CLI_DESCRIPTION_USER_DELETE_ID_OPTION_ID' => 'User IDs of the users to delete',
'CLI_DESCRIPTION_USER_DELETE_OPTION_POSTS' => 'Delete all posts by the user. Without this option, the user’s posts will be retained.',
'CLI_DESCRIPTION_USER_RECLEAN' => 'Re-clean usernames.',
@@ -155,10 +157,14 @@ $lang = array_merge($lang, array(
'CLI_THUMBNAIL_NOTHING_TO_GENERATE' => 'No thumbnails to generate.',
'CLI_THUMBNAIL_NOTHING_TO_DELETE' => 'No thumbnails to delete.',
- 'CLI_USER_ADD_SUCCESS' => 'Successfully added user %s.',
- 'CLI_USER_DELETE_CONFIRM' => 'Are you sure you want to delete ‘%s’? [y/N]',
- 'CLI_USER_RECLEAN_START' => 'Re-cleaning usernames',
- 'CLI_USER_RECLEAN_DONE' => [
+ 'CLI_USER_ADD_SUCCESS' => 'Successfully added user %s.',
+ 'CLI_USER_DELETE_CONFIRM' => 'Are you sure you want to delete ‘%s’? [y/N]',
+ 'CLI_USER_DELETE_ID_CONFIRM' => 'Are you sure you want to delete the user IDs ‘%s’? [y/N]',
+ 'CLI_USER_DELETE_ID_SUCCESS' => 'Successfully deleted user IDs.',
+ 'CLI_USER_DELETE_ID_START' => 'Deleting users by ID',
+ 'CLI_USER_DELETE_NONE' => 'No users were deleted by user ID.',
+ 'CLI_USER_RECLEAN_START' => 'Re-cleaning usernames',
+ 'CLI_USER_RECLEAN_DONE' => [
0 => 'Re-cleaning complete. No usernames needed to be cleaned.',
1 => 'Re-cleaning complete. %d username was cleaned.',
2 => 'Re-cleaning complete. %d usernames were cleaned.',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment