Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
286cdf43
Unverified
Commit
286cdf43
authored
Apr 30, 2018
by
Hans Muller
Committed by
GitHub
Apr 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for the Malay (ms) locale (#17121)
parent
e19db89a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
94 additions
and
0 deletions
+94
-0
localizations.dart
...ges/flutter_localizations/lib/src/l10n/localizations.dart
+48
-0
material_ms.arb
packages/flutter_localizations/lib/src/l10n/material_ms.arb
+43
-0
material_localizations.dart
...flutter_localizations/lib/src/material_localizations.dart
+2
-0
translations_test.dart
packages/flutter_localizations/test/translations_test.dart
+1
-0
No files found.
packages/flutter_localizations/lib/src/l10n/localizations.dart
View file @
286cdf43
...
...
@@ -616,6 +616,52 @@ class _Bundle_ko extends TranslationBundle {
@override
String
get
alertDialogLabel
=>
r'경보'
;
}
// ignore: camel_case_types
class
_Bundle_ms
extends
TranslationBundle
{
const
_Bundle_ms
()
:
super
(
null
);
@override
String
get
scriptCategory
=>
r'English-like'
;
@override
String
get
timeOfDayFormat
=>
r'h:mm a'
;
@override
String
get
openAppDrawerTooltip
=>
r'Buka menu navigasi'
;
@override
String
get
backButtonTooltip
=>
r'Kembali'
;
@override
String
get
closeButtonTooltip
=>
r'Tutup'
;
@override
String
get
deleteButtonTooltip
=>
r'Buang'
;
@override
String
get
nextMonthTooltip
=>
r'Bulan seterusnya'
;
@override
String
get
previousMonthTooltip
=>
r'Bulan sebelumnya'
;
@override
String
get
nextPageTooltip
=>
r'Halaman seterusnya'
;
@override
String
get
previousPageTooltip
=>
r'Halaman sebelumnya'
;
@override
String
get
showMenuTooltip
=>
r'Tunjuk menu'
;
@override
String
get
aboutListTileTitle
=>
r'Tentang $applicationName'
;
@override
String
get
licensesPageTitle
=>
r'Lesen'
;
@override
String
get
pageRowsInfoTitle
=>
r'$firstRow–$lastRow dari $rowCount'
;
@override
String
get
pageRowsInfoTitleApproximate
=>
r'$firstRow–$lastRow dari lebih kurang $rowCount'
;
@override
String
get
rowsPerPageTitle
=>
r'Baris setiap halaman:'
;
@override
String
get
tabLabel
=>
r'Tab $tabIndex dari $tabCount'
;
@override
String
get
selectedRowCountTitleZero
=>
r'Tiada item dipilih'
;
@override
String
get
selectedRowCountTitleOne
=>
r'1 item dipilih'
;
@override
String
get
selectedRowCountTitleOther
=>
r'$selectedRowCount item dipilih'
;
@override
String
get
cancelButtonLabel
=>
r'BATAL'
;
@override
String
get
closeButtonLabel
=>
r'TUTUP'
;
@override
String
get
continueButtonLabel
=>
r'TERUSKAN'
;
@override
String
get
copyButtonLabel
=>
r'SALIN'
;
@override
String
get
cutButtonLabel
=>
r'POTONG'
;
@override
String
get
okButtonLabel
=>
r'OK'
;
@override
String
get
pasteButtonLabel
=>
r'TAMPAL'
;
@override
String
get
selectAllButtonLabel
=>
r'PILIH SEMUA'
;
@override
String
get
viewLicensesButtonLabel
=>
r'LIHAT LESEN'
;
@override
String
get
anteMeridiemAbbreviation
=>
r'PG'
;
@override
String
get
postMeridiemAbbreviation
=>
r'PTG'
;
@override
String
get
timePickerHourModeAnnouncement
=>
r'Pilih jam'
;
@override
String
get
timePickerMinuteModeAnnouncement
=>
r'Pilih minit'
;
@override
String
get
modalBarrierDismissLabel
=>
r'Abai'
;
@override
String
get
signedInLabel
=>
r'Telah daftar masuk'
;
@override
String
get
hideAccountsLabel
=>
r'Sembunyi akaun'
;
@override
String
get
showAccountsLabel
=>
r'Tunjuk akaun'
;
@override
String
get
drawerLabel
=>
r'Menu navigasi'
;
@override
String
get
popupMenuLabel
=>
r'Menu pop timbul'
;
@override
String
get
dialogLabel
=>
r'Dialog'
;
@override
String
get
alertDialogLabel
=>
r'Amaran'
;
}
// ignore: camel_case_types
class
_Bundle_nl
extends
TranslationBundle
{
const
_Bundle_nl
()
:
super
(
null
);
...
...
@@ -1812,6 +1858,8 @@ TranslationBundle translationBundleForLocale(Locale locale) {
return
const
_Bundle_ja
();
case
'ko'
:
return
const
_Bundle_ko
();
case
'ms'
:
return
const
_Bundle_ms
();
case
'nl'
:
return
const
_Bundle_nl
();
case
'no'
:
...
...
packages/flutter_localizations/lib/src/l10n/material_ms.arb
0 → 100644
View file @
286cdf43
{
"scriptCategory"
:
"English-like"
,
"timeOfDayFormat"
:
"h:mm a"
,
"openAppDrawerTooltip"
:
"Buka menu navigasi"
,
"backButtonTooltip"
:
"Kembali"
,
"closeButtonTooltip"
:
"Tutup"
,
"deleteButtonTooltip"
:
"Buang"
,
"nextMonthTooltip"
:
"Bulan seterusnya"
,
"previousMonthTooltip"
:
"Bulan sebelumnya"
,
"nextPageTooltip"
:
"Halaman seterusnya"
,
"previousPageTooltip"
:
"Halaman sebelumnya"
,
"showMenuTooltip"
:
"Tunjuk menu"
,
"aboutListTileTitle"
:
"Tentang $applicationName"
,
"licensesPageTitle"
:
"Lesen"
,
"pageRowsInfoTitle"
:
"$firstRow–$lastRow dari $rowCount"
,
"pageRowsInfoTitleApproximate"
:
"$firstRow–$lastRow dari lebih kurang $rowCount"
,
"rowsPerPageTitle"
:
"Baris setiap halaman:"
,
"tabLabel"
:
"Tab $tabIndex dari $tabCount"
,
"selectedRowCountTitleZero"
:
"Tiada item dipilih"
,
"selectedRowCountTitleOne"
:
"1 item dipilih"
,
"selectedRowCountTitleOther"
:
"$selectedRowCount item dipilih"
,
"cancelButtonLabel"
:
"BATAL"
,
"closeButtonLabel"
:
"TUTUP"
,
"continueButtonLabel"
:
"TERUSKAN"
,
"copyButtonLabel"
:
"SALIN"
,
"cutButtonLabel"
:
"POTONG"
,
"okButtonLabel"
:
"OK"
,
"pasteButtonLabel"
:
"TAMPAL"
,
"selectAllButtonLabel"
:
"PILIH SEMUA"
,
"viewLicensesButtonLabel"
:
"LIHAT LESEN"
,
"anteMeridiemAbbreviation"
:
"PG"
,
"postMeridiemAbbreviation"
:
"PTG"
,
"timePickerHourModeAnnouncement"
:
"Pilih jam"
,
"timePickerMinuteModeAnnouncement"
:
"Pilih minit"
,
"modalBarrierDismissLabel"
:
"Abai"
,
"signedInLabel"
:
"Telah daftar masuk"
,
"hideAccountsLabel"
:
"Sembunyi akaun"
,
"showAccountsLabel"
:
"Tunjuk akaun"
,
"drawerLabel"
:
"Menu navigasi"
,
"popupMenuLabel"
:
"Menu pop timbul"
,
"dialogLabel"
:
"Dialog"
,
"alertDialogLabel"
:
"Amaran"
}
packages/flutter_localizations/lib/src/material_localizations.dart
View file @
286cdf43
...
...
@@ -50,6 +50,7 @@ import 'widgets_localizations.dart';
/// * it - Italian
/// * ja - Japanese
/// * ko - Korean
/// * ms - Malay
/// * nl - Dutch
/// * no - Norwegian
/// * pl - Polish
...
...
@@ -525,6 +526,7 @@ class _MaterialLocalizationsDelegate extends LocalizationsDelegate<MaterialLocal
'it'
,
// Italian
'ja'
,
// Japanese
'ko'
,
// Korean
'ms'
,
// Malay
'nl'
,
// Dutch
'no'
,
// Norwegian
'pl'
,
// Polish
...
...
packages/flutter_localizations/test/translations_test.dart
View file @
286cdf43
...
...
@@ -21,6 +21,7 @@ void main() {
'it'
,
// Italian
'ja'
,
// Japanese
'ko'
,
// Korean
'ms'
,
// Malay
'nl'
,
// Dutch
'no'
,
// Norwegian
'pl'
,
// Polish
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment