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
b13f83a2
Unverified
Commit
b13f83a2
authored
Jan 11, 2023
by
Tae Hyung Kim
Committed by
GitHub
Jan 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Finnish TimeOfDate format (#118204)
* init * add test
parent
12b43ed8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
generated_material_localizations.dart
...ations/lib/src/l10n/generated_material_localizations.dart
+1
-1
material_fi.arb
packages/flutter_localizations/lib/src/l10n/material_fi.arb
+1
-1
date_time_test.dart
...s/flutter_localizations/test/material/date_time_test.dart
+5
-0
No files found.
packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart
View file @
b13f83a2
...
...
@@ -13227,7 +13227,7 @@ class MaterialLocalizationFi extends GlobalMaterialLocalizations {
String
get
tabLabelRaw
=>
r'Välilehti $tabIndex/$tabCount'
;
@override
TimeOfDayFormat
get
timeOfDayFormatRaw
=>
TimeOfDayFormat
.
HH_
colon
_mm
;
TimeOfDayFormat
get
timeOfDayFormatRaw
=>
TimeOfDayFormat
.
HH_
dot
_mm
;
@override
String
get
timePickerDialHelpText
=>
'VALITSE AIKA'
;
...
...
packages/flutter_localizations/lib/src/l10n/material_fi.arb
View file @
b13f83a2
{
"scriptCategory"
:
"English-like"
,
"timeOfDayFormat"
:
"HH
:
mm"
,
"timeOfDayFormat"
:
"HH
.
mm"
,
"openAppDrawerTooltip"
:
"Avaa navigointivalikko"
,
"backButtonTooltip"
:
"Takaisin"
,
"closeButtonTooltip"
:
"Sulje"
,
...
...
packages/flutter_localizations/test/material/date_time_test.dart
View file @
b13f83a2
...
...
@@ -107,6 +107,11 @@ void main() {
expect
(
await
formatTimeOfDay
(
tester
,
const
Locale
(
'ja'
),
const
TimeOfDay
(
hour:
20
,
minute:
32
)),
'20:32'
);
});
testWidgets
(
'formats
${TimeOfDayFormat.HH_dot_mm}
'
,
(
WidgetTester
tester
)
async
{
expect
(
await
formatTimeOfDay
(
tester
,
const
Locale
(
'fi'
),
const
TimeOfDay
(
hour:
20
,
minute:
32
)),
'20.32'
);
expect
(
await
formatTimeOfDay
(
tester
,
const
Locale
(
'fi'
),
const
TimeOfDay
(
hour:
9
,
minute:
32
)),
'09.32'
);
});
testWidgets
(
'formats
${TimeOfDayFormat.frenchCanadian}
'
,
(
WidgetTester
tester
)
async
{
expect
(
await
formatTimeOfDay
(
tester
,
const
Locale
(
'fr'
,
'CA'
),
const
TimeOfDay
(
hour:
9
,
minute:
32
)),
'09 h 32'
);
});
...
...
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