- settings → general → language picks system, Chinese or English; the choice is stored on the device and read before the first frame - our Chinese strings are translated through tr()/trArgs() and AppText, with the English in lib/l10n/en_*.dart; a missing entry falls back to Chinese and a test checks that every literal in lib has one - AppText rebuilds on a language change (it depends on the resolved locale), so const text and whole pages switch at once; the built-in date/time pickers and selection menu follow the same language - server and user data (titles, messages, prompts, paths) is never translated - the chat list sits in a SelectionArea: long-press selects message text and shows the copy/select-all menu - bump to 0.5.2
37 lines
686 B
YAML
37 lines
686 B
YAML
name: openchamber
|
|
description: "A lightweight OpenChamber client for phones."
|
|
publish_to: 'none'
|
|
|
|
version: 0.5.2+502
|
|
|
|
environment:
|
|
sdk: ^3.14.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.8
|
|
shared_preferences: ^2.3.0
|
|
flutter_secure_storage: ^11.2.0
|
|
file_picker: ^13.0.0
|
|
gpt_markdown: ^1.4.0
|
|
socks5_proxy: ^2.1.2
|
|
xterm: ^4.0.0
|
|
flutter_slidable: ^5.2.0
|
|
archive: ^3.6.1
|
|
pointycastle: ^4.0.0
|
|
camera: ^0.12.2
|
|
zxing2: ^0.2.4
|
|
flutter_svg: ^2.5.0
|
|
package_info_plus: ^10.2.2
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
qr: ^4.0.1
|
|
|
|
flutter:
|
|
uses-material-design: true
|