mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-09 07:12:11 -05:00
[PR #137] [MERGED] feat: localization #253
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pd4d10/git-touch/pull/137
Author: @shreyas1599
Created: 12/31/2020
Status: ✅ Merged
Merged: 1/5/2021
Merged by: @pd4d10
Base:
main← Head:localization📝 Commits (2)
4829684feat: localization60381a0update📊 Changes
66 files changed (+1988 additions, -168 deletions)
View changed files
📝
ios/Podfile.lock(+1 -1)📝
ios/Runner.xcodeproj/project.pbxproj(+4 -17)📝
ios/Runner/Info.plist(+5 -0)➕
l10n.yaml(+3 -0)📝
lib/app.dart(+30 -0)➕
lib/generated/intl/messages_all.dart(+66 -0)➕
lib/generated/intl/messages_en.dart(+127 -0)➕
lib/generated/intl/messages_hi.dart(+130 -0)➕
lib/generated/l10n.dart(+947 -0)📝
lib/home.dart(+29 -16)➕
lib/l10n/intl_en.arb(+354 -0)➕
lib/l10n/intl_hi.arb(+91 -0)📝
lib/screens/bb_commits.dart(+2 -1)📝
lib/screens/bb_explore.dart(+2 -1)📝
lib/screens/bb_issues.dart(+2 -1)📝
lib/screens/bb_pulls.dart(+2 -1)📝
lib/screens/bb_repo.dart(+2 -1)📝
lib/screens/bb_teams.dart(+2 -1)📝
lib/screens/code_theme.dart(+8 -7)📝
lib/screens/ge_blob.dart(+2 -1)...and 46 more files
📄 Description
#119
S.of(context).getterwhile a few messages that required translations were present outside a widget and hence I could not use.of(context)for such messages. (Still figuring this out) (in a nutshell: cannot translate text present outside a widget)Flutter Intlextension. Easier to write translations. DemoS.dartas the extension as seen in the demo replaces the highlighted text withS.context(of)...S.context(of)...as seen in the demo.contributing.mdwith steps to follow in case anyone wants to add translation for a language? (They only have to use the extension and translate the messages in the arb file)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.