Procházet zdrojové kódy

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

liukai před 2 měsíci
rodič
revize
488db0042d

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 8 - 6
packages/cs_resources/lib/generated/intl/messages_en.dart


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 368 - 1
packages/cs_resources/lib/generated/intl/messages_zh_CN.dart


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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],
     );
   }
 

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 1
packages/cs_resources/lib/l10n/intl_en.arb