Skip to content

Commit ad3fe46

Browse files
authored
Extract strings for Focus android, clean up scripts (#1024)
* Extract strings for Focus in android-l10n * Composer fixes
1 parent f154bdb commit ad3fe46

File tree

8 files changed

+168
-100
lines changed

8 files changed

+168
-100
lines changed

app/classes/Transvision/Project.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Project
4747
*/
4848
'meta' => true,
4949
],
50-
'firefox_ios' => [
50+
'firefox_ios' => [
5151
'git_repository' => 'firefoxios-l10n',
5252
'locale_mapping' => [
5353
'bn-IN' => 'bn',
@@ -63,11 +63,11 @@ class Project
6363
'source_type' => 'mixed',
6464
'variable_patterns' => ['dtd', 'ftl', 'l10njs', 'printf', 'properties'],
6565
],
66-
'comm_l10n'=> [
66+
'comm_l10n' => [
6767
'source_type' => 'mixed',
6868
'variable_patterns' => ['dtd', 'ftl', 'l10njs', 'printf', 'properties'],
6969
],
70-
'mozilla_org'=> [
70+
'mozilla_org' => [
7171
'git_repository' => 'www-l10n',
7272
'git_branch' => 'master',
7373
'pontoon_project' => 'mozillaorg',
@@ -83,7 +83,7 @@ class Project
8383
'source_type' => 'xml',
8484
'variable_patterns' => ['xml_android'],
8585
],
86-
'vpn_client' => [
86+
'vpn_client' => [
8787
'git_repository' => 'mozilla-vpn-client-l10n',
8888
'underscore_locales' => true,
8989
'pontoon_project' => 'mozilla-vpn-client',
@@ -104,7 +104,7 @@ class Project
104104
'comm_l10n',
105105
],
106106
// Products using Git
107-
'git' => [
107+
'git' => [
108108
'android_l10n', 'firefox_ios', 'mozilla_org', 'vpn_client',
109109
],
110110
// Products using free text search on Pontoon

app/classes/Transvision/Utils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public static function redYellowGreen($number)
377377
*/
378378
public static function pluralize($count, $text)
379379
{
380-
return $count . (($count == 1) ? (" {$text}") : (" ${text}s"));
380+
return $count . (($count == 1) ? (" {$text}") : (" {$text}s"));
381381
}
382382

383383
/**

0 commit comments

Comments
 (0)