Переглянути джерело

intl的生成报错问题排查与解决,能正显示国际化文案

liukai 2 місяців тому
батько
коміт
488db0042d

Різницю між файлами не показано, бо вона завелика
+ 8 - 6
packages/cs_resources/lib/generated/intl/messages_en.dart


Різницю між файлами не показано, бо вона завелика
+ 368 - 1
packages/cs_resources/lib/generated/intl/messages_zh_CN.dart


Різницю між файлами не показано, бо вона завелика
+ 353 - 1
packages/cs_resources/lib/generated/intl/messages_zh_HK.dart


+ 4 - 4
packages/cs_resources/lib/generated/l10n.dart

@@ -2520,13 +2520,13 @@ class S {
     );
   }
 
-  /// `I,the resident,herein confirm that we have read and will fully abide by the rules & regulations governing car parking of Parc Life. We  further undertake to display the car park label, prominently on the top left(passenger side) portion of the front windscreen of our vehicle at all times whilst in Parc Life.`
-  String get signature_vehicle {
+  /// `I,the resident,herein confirm that we have read and will fully abide by the rules & regulations governing car parking of {name}. We further undertake to display the car park label, prominently on the top left(passenger side) portion of the front windscreen of our vehicle at all times whilst in {name}.`
+  String signature_vehicle(Object name) {
     return Intl.message(
-      'I,the resident,herein confirm that we have read and will fully abide by the rules & regulations governing car parking of Parc Life. We  further undertake to display the car park label, prominently on the top left(passenger side) portion of the front windscreen of our vehicle at all times whilst in Parc Life.',
+      'I,the resident,herein confirm that we have read and will fully abide by the rules & regulations governing car parking of $name. We further undertake to display the car park label, prominently on the top left(passenger side) portion of the front windscreen of our vehicle at all times whilst in $name.',
       name: 'signature_vehicle',
       desc: '',
-      args: [],
+      args: [name],
     );
   }
 

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
packages/cs_resources/lib/l10n/intl_en.arb