mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Use String() over toLocaleString when possible
toLocaleString results in a 4.6% performance penalty when loading the Spaghetti test in Playground.
This commit is contained in:
@@ -17,7 +17,7 @@ var MSG = {
|
||||
listVariable: "list",
|
||||
textVariable: "text",
|
||||
httpRequestError: "There was a problem with the request.",
|
||||
linkAlert: "Share your blocks with this public link. We\'ll delete them if not used for a year. They are not associated with your account and handled as per Google\'s Privacy Policy. Please be sure not to include any private information.:\n\n%1",
|
||||
linkAlert: "Share your blocks with this public link. We\'ll delete them if not used for a year. They are not associated with your account and handled as per Google\'s Privacy Policy. Please be sure not to include any private information.\n\n%1",
|
||||
hashError: "Sorry, '%1' doesn't correspond with any saved program.",
|
||||
xmlError: "Could not load your saved file. Perhaps it was created with a different version of Blockly?",
|
||||
badXml: "Error parsing XML:\n%1\n\nSelect 'OK' to abandon your changes or 'Cancel' to further edit the XML."
|
||||
|
||||
Reference in New Issue
Block a user