Przeglądaj źródła

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

liukai 2 miesięcy temu
rodzic
commit
488db0042d

Plik diff jest za duży
+ 8 - 6
packages/cs_resources/lib/generated/intl/messages_en.dart


Plik diff jest za duży
+ 368 - 1
packages/cs_resources/lib/generated/intl/messages_zh_CN.dart


Plik diff jest za duży
+ 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],
     );
   }
 

Plik diff jest za duży
+ 1 - 1
packages/cs_resources/lib/l10n/intl_en.arb