Skip to content

Commit

Permalink
- Prevent from add ICON and #include to translation strings
Browse files Browse the repository at this point in the history
- Update ReactOS.spell
  • Loading branch information
Saibamen committed Aug 19, 2015
1 parent 87adc67 commit 2dc0baf
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
54 changes: 53 additions & 1 deletion ReactOS.spell
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,56 @@ log\0
127.0.0.1\0
(
)
X - X X X - X X X - X X X X
X - X X X - X X X - X X X X
IDB_LOGO
REACTOS_SNDREC32
ReactOS &VDM
GENERIC_READ
GENERIC_WRITE
GENERIC_EXECUTE
GENERIC_ALL
FILE_GENERIC_EXECUTE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_EXECUTE
FILE_DELETE_CHILD
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
MAXIMUM_ALLOWED
ACCESS_SYSTEM_SECURITY
SPECIFIC_RIGHTS_ALL
STANDARD_RIGHTS_REQUIRED
SYNCHRONIZE
WRITE_OWNER
WRITE_DAC
READ_CONTROL
STANDARD_RIGHTS_ALL
/SA&FEBOOT
/&NOGUIBOOT
/&BOOTLOG
/BAS&EVIDEO
/S&OS
/&MAXMEM=
/&NUMPROC=
/&PCILOCK
/P&ROFILE
/&IRQ
/&DEBUG
/D&EBUGPORT
/&BAUDRATE
/&CHANNEL
SYSTEM.INI
FREELDR.INI
cmd.exe
winver.exe
regedit.exe
control.exe
sysdm.cpl
SysLink
&u&b&d
MS-CRAM
2 changes: 1 addition & 1 deletion diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function diff_versions($leftContent, $rightContent)
$leftVersion = $rightVersion = null;

// FIXME: Search multi-line with ""some text""
$pattern = "/^(?!FONT|\\s*\\*)[^\"\\n]*\"\\K(?!\\s*(?:\"|\\n))([^\"]+)/m";
$pattern = "/^(?!FONT|\\s*\\*|\\#\\include|\\s*\\ICON)[^\"\\n]*\"\\K(?!\\s*(?:\"|\\n))([^\"]+)/m";

if (preg_match_all($pattern, $leftContent, $matches) <= 0)
{
Expand Down

0 comments on commit 2dc0baf

Please sign in to comment.