-
Notifications
You must be signed in to change notification settings - Fork 1
[wave-6] locale partialy implemented #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev-3
Are you sure you want to change the base?
Conversation
| GlobalCupertinoLocalizations.delegate, | ||
| ], | ||
| supportedLocales: const [ | ||
| Locale('ru'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
почему решил убрать country code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А для чего он нужен?
|
|
||
| class ForegroundSwitchScreenState extends State<ForegroundSwitchScreen> { | ||
| // TODO back to 0 if stable | ||
| VisibleScreenType _stepper = VisibleScreenType.startButton; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
почему решил поменять?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Забыл обратно вернуть, верну
| locale.translate("call_screen.current_output_device_text"), | ||
| labelBuilder: (item) => | ||
| item.label ?? | ||
| locale.translate("call_screen.dfl_speaker_text"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
на будущее - старайся не юзать такие сокращения
| : WaveCircleButtonType.startCall, | ||
| subtitle: manager.inCall ? 'Leave Call' : 'Join Call', | ||
| subtitle: manager.inCall | ||
| ? locale.translate("call_screen.leave_text") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leave_call_text.. И так далее
| String resolveStatusText(CallState callState) { | ||
| switch (callState) { | ||
| case CallState.connected: | ||
| return locale.translate('connection_screen.connected_text'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
! text - пропустил
И так далее
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не понял, что ты имеешь ввиду. NullSafety пропустил здесь или что ты имеешь ввиду воскл знаком?
| String resolveSubtitleText(CallState callState, bool? isPeerInitiator) { | ||
| switch (callState) { | ||
| case CallState.connected: | ||
| return locale.translate('connection_screen.success_connection_text'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
какой текст?..
Closes #9