@@ -1340,9 +1340,33 @@ tr // endDefinition;
1340
1340
(*trRaw*)
1341
1341
trRaw // beginDefinition ;
1342
1342
trRaw [ name_ ? StringQ ] /; $CloudEvaluation := cloudTextResource @ name ;
1343
- trRaw [ name_ ? StringQ ] := FrontEndResource [ "ChatbookStrings" , name ] ;
1343
+ trRaw [ name_ ? StringQ ] := chatbookString @ name ;
1344
1344
trRaw // endDefinition ;
1345
1345
1346
+ (* ::**************************************************************************************************************:: *)
1347
+ (* ::Subsubsection::Closed:: *)
1348
+ (*chatbookString*)
1349
+ chatbookString // beginDefinition ;
1350
+
1351
+ chatbookString [ name_ String ] := Enclose [
1352
+ Catch @ Module [ { string },
1353
+ string = ConfirmMatch [ usingFrontEnd @ FrontEndResource [ "ChatbookStrings" , name ], _ String |$Failed , "String" ];
1354
+ If [ StringQ @ string , Throw @ string ];
1355
+ pacletDataRebuild [ ];
1356
+ ConfirmBy [ usingFrontEnd @ FrontEndResource [ "ChatbookStrings" , name ], StringQ , "Retry" ]
1357
+ ],
1358
+ throwInternalFailure
1359
+ ];
1360
+
1361
+ chatbookString // endDefinition ;
1362
+
1363
+ (* ::**************************************************************************************************************:: *)
1364
+ (* ::Subsubsubsection::Closed:: *)
1365
+ (*pacletDataRebuild*)
1366
+ pacletDataRebuild // beginDefinition ;
1367
+ pacletDataRebuild [ ] := pacletDataRebuild [ ] = PacletDataRebuild [ ];
1368
+ pacletDataRebuild // endDefinition ;
1369
+
1346
1370
(* ::**************************************************************************************************************:: *)
1347
1371
(* ::Subsection::Closed:: *)
1348
1372
(*trStringTemplate*)
0 commit comments