-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check For and Eliminate Octal Literals (#3682)
* Check For and Eliminate Octal Literals Php8.1 introduced a new form of octal literal (0o123); the old form (0123) continues to be supported, but can certainly be misleading. There are exactly 6 uses of the old form in the code base (5 in tests, 1 in infra). 4 of these are clearly unintended (02 or 03), and the leading 0 should just be dropped for those. The other 2 are for file permissions and are easily replaced. * Minor Changes to LocaleGenerator Testing the permissions change exposed some problems when the locale files don't exist. This never shows up as an issue when the files do exist, which is pretty much all the time, but correct the theoretical exposures anyhow. * Populate bg and en_uk Locale Files from Spreadsheet Also rename locale generator so that it is executed first. This is when it should happen because other tests depend on its results. * Some Bulgarian Function Omissions Figured out a reasonable way to compare old Bulgarian function file to new; this identified a handful of now-corrected omissions and errors. Note that JIS function, in old list, is not on spreadsheet, but the Bulgarian translation is the same as English (so the translation isn't needed), and the function has been replaced by DBCS, which is also not on the spreadsheet.
- Loading branch information
Showing
12 changed files
with
432 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
############################################################ | ||
## | ||
## PhpSpreadsheet | ||
## PhpSpreadsheet - locale settings | ||
## | ||
## български (Bulgarian) | ||
## | ||
## | ||
|
||
|
||
ArgumentSeparator = ; | ||
|
||
############################################################ | ||
|
||
ArgumentSeparator = ; | ||
## | ||
## (For future use) | ||
## (For future use) | ||
## | ||
currencySymbol = лв | ||
|
||
currencySymbol = лв | ||
|
||
## | ||
## Excel Error Codes (For future use) | ||
|
||
## Error Codes | ||
## | ||
NULL = #ПРАЗНО! | ||
DIV0 = #ДЕЛ/0! | ||
VALUE = #СТОЙНОСТ! | ||
REF = #РЕФ! | ||
NAME = #ИМЕ? | ||
NUM = #ЧИСЛО! | ||
NA = #Н/Д | ||
NULL = #ПРАЗНО! | ||
DIV0 = #ДЕЛ/0! | ||
VALUE = #СТОЙНОСТ! | ||
REF = #РЕФ! | ||
NAME = #ИМЕ? | ||
NUM = #ЧИСЛО! | ||
NA = #Н/Д |
Oops, something went wrong.