Explorar el Código

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

liukai hace 2 meses
padre
commit
488db0042d

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 8 - 6
packages/cs_resources/lib/generated/intl/messages_en.dart


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 368 - 1
packages/cs_resources/lib/generated/intl/messages_zh_CN.dart


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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],
     );
   }
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
packages/cs_resources/lib/l10n/intl_en.arb