unnecessary escapes fixes (#50178)

* unnecessary escapes fixes

* replace some strings with raw strings

* update regexp

* address review comments
This commit is contained in:
Alexandre Ardhuin
2020-02-07 06:35:50 +01:00
committed by GitHub
parent b8199abd15
commit 5c28e3eeea
19 changed files with 39 additions and 39 deletions

View File

@@ -952,12 +952,12 @@ void main() {
return Intl.plural(
count,
locale: _localeName,
name: \'helloWorlds\',
name: 'helloWorlds',
args: <Object>[count, currentDate],
one: \'Hello World, today is \${currentDateString}\',
two: \'Hello two worlds, today is \${currentDateString}\',
many: \'Hello all \${count} worlds, today is \${currentDateString}\',
other: \'Hello other \${count} worlds, today is \${currentDateString}\'
one: 'Hello World, today is \${currentDateString}',
two: 'Hello two worlds, today is \${currentDateString}',
many: 'Hello all \${count} worlds, today is \${currentDateString}',
other: 'Hello other \${count} worlds, today is \${currentDateString}'
);
}
return helloWorlds(count, currentDateString);
@@ -1334,12 +1334,12 @@ void main() {
return Intl.plural(
count,
locale: _localeName,
name: \'helloWorlds\',
name: 'helloWorlds',
args: <Object>[count, currentDate],
one: \'Hello World, today is \${currentDateString}\',
two: \'Hello two worlds, today is \${currentDateString}\',
many: \'Hello all \${count} worlds, today is \${currentDateString}\',
other: \'Hello other \${count} worlds, today is \${currentDateString}\'
one: 'Hello World, today is \${currentDateString}',
two: 'Hello two worlds, today is \${currentDateString}',
many: 'Hello all \${count} worlds, today is \${currentDateString}',
other: 'Hello other \${count} worlds, today is \${currentDateString}'
);
}
return helloWorlds(count, currentDateString);
@@ -1393,12 +1393,12 @@ void main() {
return Intl.plural(
count,
locale: _localeName,
name: \'helloWorlds\',
name: 'helloWorlds',
args: <Object>[count, population],
one: \'Hello World of \${populationString} citizens\',
two: \'Hello two worlds with \${populationString} total citizens\',
many: \'Hello all \${count} worlds, with a total of \${populationString} citizens\',
other: \'Hello other \${count} worlds, with a total of \${populationString} citizens\'
one: 'Hello World of \${populationString} citizens',
two: 'Hello two worlds with \${populationString} total citizens',
many: 'Hello all \${count} worlds, with a total of \${populationString} citizens',
other: 'Hello other \${count} worlds, with a total of \${populationString} citizens'
);
}
return helloWorlds(count, populationString);