整理桌面
This commit is contained in:
15
node_modules/p5/translations/dev.js
generated
vendored
Normal file
15
node_modules/p5/translations/dev.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
export { default as en_translation } from './en/translation';
|
||||
export { default as es_translation } from './es/translation';
|
||||
|
||||
/**
|
||||
* When adding a new language, add a new "export" statement above this.
|
||||
* For example, if we were to add fr ( French ), we would write:
|
||||
* export { default as fr_translation } from './fr/translation';
|
||||
*
|
||||
* If the language key has a hypen (-), replace it with an underscore ( _ )
|
||||
* e.g. for es-MX we would write:
|
||||
* export { default as es_MX_translation } from './es-MX/translation';
|
||||
*
|
||||
* "es_MX" is the language key whereas "translation" is the filename
|
||||
* ( translation.json ) or the namespace
|
||||
*/
|
61
node_modules/p5/translations/en/translation.json
generated
vendored
Normal file
61
node_modules/p5/translations/en/translation.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"fes": {
|
||||
"autoplay": "The media that tried to play (with '{{src}}') wasn't allowed to by this browser, most likely due to the browser's autoplay policy. Check out {{link}} for more information about why.",
|
||||
"checkUserDefinedFns": "It seems that you may have accidentally written {{name}} instead of {{actualName}}.\n\nPlease correct it if it's not intentional.",
|
||||
"fileLoadError": {
|
||||
"bytes": "It looks like there was a problem loading your file. {{suggestion}}",
|
||||
"font": "It looks like there was a problem loading your font. {{suggestion}}",
|
||||
"gif": "There was some trouble loading your GIF. Make sure that your GIF is using 87a or 89a encoding.",
|
||||
"image": "It looks like there was a problem loading your image. {{suggestion}}",
|
||||
"json": "It looks like there was a problem loading your JSON file. {{suggestion}}",
|
||||
"large": "If your large file isn't fetched successfully, we recommend splitting the file into smaller segments and fetching those.",
|
||||
"strings": "It looks like there was a problem loading your text file. {{suggestion}}",
|
||||
"suggestion": "Try checking if the file path ({{filePath}}) is correct, hosting the file online, or running a local server. (More info at {{link}})",
|
||||
"table": "It looks like there was a problem loading your table file. {{suggestion}}",
|
||||
"xml": "It looks like there was a problem loading your XML file. {{suggestion}}"
|
||||
},
|
||||
"friendlyParamError": {
|
||||
"type_EMPTY_VAR": "{{func}}() was expecting {{formatType}} for the {{position}} parameter, received an empty variable instead. {{location}}\n\nIf not intentional, this is often a problem with scope: {{link}}",
|
||||
"type_TOO_FEW_ARGUMENTS": "{{func}}() was expecting at least {{minParams}} arguments, but received only {{argCount}}. {{location}}",
|
||||
"type_TOO_MANY_ARGUMENTS": "{{func}}() was expecting no more than {{maxParams}} arguments, but received {{argCount}}. {{location}}",
|
||||
"type_WRONG_TYPE": "{{func}}() was expecting {{formatType}} for the {{position}} parameter, received {{argType}} instead. {{location}}"
|
||||
},
|
||||
"globalErrors": {
|
||||
"reference": {
|
||||
"notDefined": "There's an error due to \"{{symbol}}\" not being defined in the current scope {{location}}.\n\nIf you have defined it in your code, you should check its scope, spelling, and letter-casing (JavaScript is case-sensitive). For more:\n{{url1}}\n{{url2}}"
|
||||
},
|
||||
"stackSubseq": "▶️ Called from line {{line}} in \"{{func}}\" in {{file}} ({{location}})\n\n",
|
||||
"stackTop": "▶️ Error at line {{line}} in \"{{func}}\" in {{file}} ({{location}})\n\n",
|
||||
"syntax": {
|
||||
"invalidToken": "There's a syntax error due to a symbol that JavaScript doesn't recognize or didn't expect at its place.\nFor more: {{url}}",
|
||||
"unexpectedToken": "There's a syntax error due to a symbol that wasn't expected at its place.\nUsually this is due to a typo. Check the line number in the error below for anything missing/extra.\nFor more: {{url}}"
|
||||
},
|
||||
"type": {
|
||||
"notfunc": "There's an error as \"{{symbol}}\" could not be called as a function {{location}}.\nCheck the spelling, letter-casing (JavaScript is case-sensitive) and its type.\nFor more: {{url}}",
|
||||
"notfuncObj": "There's an error as \"{{symbol}}\" could not be called as a function {{location}}.\nVerify whether \"{{obj}}\" has \"{{symbol}}\" in it and check the spelling, letter-casing (JavaScript is case-sensitive) and its type.\nFor more: {{url}}"
|
||||
}
|
||||
},
|
||||
"libraryError": "An error with message \"{{error}}\" occured inside the p5js library when {{func}} was called {{location}}\n\nIf not stated otherwise, it might be an issue with the arguments passed to {{func}}.",
|
||||
"location": "(on line {{line}} in {{file}} [{{location}}])",
|
||||
"misspelling": "It seems that you may have accidentally written \"{{name}}\" instead of \"{{actualName}}\" {{location}}.\n\nPlease correct it to {{actualName}} if you wish to use the {{type}} from p5.js",
|
||||
"misspelling_plural": "It seems that you may have accidentally written \"{{name}}\" {{location}}.\n\nYou may have meant one of the following:\n{{suggestions}}",
|
||||
"misusedTopLevel": "Did you just try to use p5.js's {{symbolName}} {{symbolType}}? If so, you may want to move it into your sketch's setup() function.\n\nFor more details, see: {{link}}",
|
||||
"positions": {
|
||||
"p_1": "first",
|
||||
"p_10": "tenth",
|
||||
"p_11": "eleventh",
|
||||
"p_12": "twelfth",
|
||||
"p_2": "second",
|
||||
"p_3": "third",
|
||||
"p_4": "fourth",
|
||||
"p_5": "fifth",
|
||||
"p_6": "sixth",
|
||||
"p_7": "seventh",
|
||||
"p_8": "eighth",
|
||||
"p_9": "ninth"
|
||||
},
|
||||
"pre": "\n🌸 p5.js says: {{message}}",
|
||||
"welcome": "Welcome! This is your friendly debugger. To turn me off, switch to using p5.min.js.",
|
||||
"wrongPreload": "An error with message \"{{error}}\" occured inside the p5js library when \"{{func}}\" was called {{location}}.\n\nIf not stated otherwise, it might be due to \"{{func}}\" being called from preload. Nothing besides load calls (loadImage, loadJSON, loadFont, loadStrings, etc.) should be inside the preload function."
|
||||
}
|
||||
}
|
61
node_modules/p5/translations/es/translation.json
generated
vendored
Normal file
61
node_modules/p5/translations/es/translation.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"fes": {
|
||||
"autoplay": "Su browser impidío un medio tocar (de '{{src}}'), posiblemente porque las reglas de autoplay. Para aprender más, visite {{link}}.",
|
||||
"checkUserDefinedFns": "",
|
||||
"fileLoadError": {
|
||||
"bytes": "",
|
||||
"font": "",
|
||||
"gif": "",
|
||||
"image": "",
|
||||
"json": "",
|
||||
"large": "",
|
||||
"strings": "",
|
||||
"suggestion": "",
|
||||
"table": "",
|
||||
"xml": ""
|
||||
},
|
||||
"friendlyParamError": {
|
||||
"type_EMPTY_VAR": "",
|
||||
"type_TOO_FEW_ARGUMENTS": "",
|
||||
"type_TOO_MANY_ARGUMENTS": "",
|
||||
"type_WRONG_TYPE": ""
|
||||
},
|
||||
"globalErrors": {
|
||||
"reference": {
|
||||
"notDefined": ""
|
||||
},
|
||||
"stackSubseq": "",
|
||||
"stackTop": "",
|
||||
"syntax": {
|
||||
"invalidToken": "",
|
||||
"unexpectedToken": ""
|
||||
},
|
||||
"type": {
|
||||
"notfunc": "",
|
||||
"notfuncObj": ""
|
||||
}
|
||||
},
|
||||
"libraryError": "",
|
||||
"location": "",
|
||||
"misspelling": "",
|
||||
"misspelling_plural": "",
|
||||
"misusedTopLevel": "",
|
||||
"positions": {
|
||||
"p_1": "",
|
||||
"p_10": "",
|
||||
"p_11": "",
|
||||
"p_12": "",
|
||||
"p_2": "",
|
||||
"p_3": "",
|
||||
"p_4": "",
|
||||
"p_5": "",
|
||||
"p_6": "",
|
||||
"p_7": "",
|
||||
"p_8": "",
|
||||
"p_9": ""
|
||||
},
|
||||
"pre": "🌸 p5.js dice: {{message}}",
|
||||
"welcome": "",
|
||||
"wrongPreload": ""
|
||||
}
|
||||
}
|
27
node_modules/p5/translations/index.js
generated
vendored
Normal file
27
node_modules/p5/translations/index.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import en from './en/translation';
|
||||
|
||||
// Only one language is imported above. This is intentional as other languages
|
||||
// will be hosted online and then downloaded whenever needed
|
||||
|
||||
/**
|
||||
* Here, we define a default/fallback language which we can use without internet.
|
||||
* You won't have to change this when adding a new language.
|
||||
*
|
||||
* `translation` is the namespace we are using for our initial set of strings
|
||||
*/
|
||||
export default {
|
||||
en: {
|
||||
translation: en
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* This is a list of languages that we have added so far.
|
||||
* If you have just added a new language (yay!), add its key to the list below
|
||||
* (`en` is english, `es` es español). Also add its export to
|
||||
* dev.js, which is another file in this folder.
|
||||
*/
|
||||
export const languages = [
|
||||
'en',
|
||||
'es'
|
||||
];
|
Reference in New Issue
Block a user