chore(trans): add zh-CN translations for custom proxy headers (#10660)

chore: add zh-CN translations for proxy headers

Signed-off-by: TripleZ <me@triplez.cn>
This commit is contained in:
Zhenzhen Zhao 2024-06-28 02:38:51 +08:00 committed by GitHub
parent 12b9f3ad91
commit 0b4153e256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 10 deletions

View file

@ -69,7 +69,7 @@ class HeaderSettingsPage extends HookConsumerWidget {
headers.value = headers.value.toList();
},
icon: const Icon(Icons.add_outlined),
tooltip: 'Add Header',
tooltip: 'header_settings_add_header_tip'.tr(),
),
],
),
@ -118,7 +118,7 @@ class HeaderKeyValueSettings extends StatelessWidget {
String? emptyFieldValidator(String? value) {
if (value == null || value.isEmpty) {
return 'Value cannot be empty';
return 'header_settings_field_validator_msg'.tr();
}
return null;