Skip to content

Commit b30779c

Browse files
committed
fix: "Redirect to %" fixed.
1 parent 013293c commit b30779c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+4027
-752
lines changed

.update_locales.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ function recursivelyDelete($file)
4545
{
4646
if(in_array($key, ["bypassCounter", "optionsNavigationDelay", "optionsCrowdAutoOpen", "optionsCrowdAutoClose", "beforeNavigateDestination", "beforeNavigateTimer", "beforeNavigateUnsafeTimer", "beforeNavigateInstant", "crowdBypassedInfo", "crowdBypassedTimer", "crowdCloseTimer"]))
4747
{
48-
if(strpos($data["message"], "%") === false)
48+
if(strpos($data["message"], "$1") === false)
4949
{
50-
echo "$key in $locale is missing %\n";
50+
echo "$key in $locale is missing $1\n";
5151
}
5252
}
5353
else
5454
{
55-
if(strpos($data["message"], "%") !== false)
55+
if(strpos($data["message"], "$1") !== false)
5656
{
57-
echo "$key in $locale has a superfluous %\n";
57+
echo "$key in $locale has a superfluous $1\n";
5858
}
5959
}
6060
if(in_array($key, ["infoLinkvertise","infoFileHoster","infoOutdated","crowdWait","crowdDisabled"]))

0 commit comments

Comments
 (0)