- p5.js Web Editor | About
+ {t('About.TitleHelmet')}
-
{t('Resources')}
+
{t('About.Resources')}
- {t('Libraries')}
+ {t('About.Libraries')}
@@ -67,7 +57,7 @@ function About(props) {
rel="noopener noreferrer"
>
- {t('Reference')}
+ {t('Nav.Help.Reference')}
@@ -77,7 +67,7 @@ function About(props) {
rel="noopener noreferrer"
>
- {t('Forum')}
+ {t('About.Forum')}
@@ -87,7 +77,7 @@ function About(props) {
href="https://github.com/processing/p5.js-web-editor"
target="_blank"
rel="noopener noreferrer"
- >{t('Contribute')}
+ >{t('About.Contribute')}
@@ -95,7 +85,7 @@ function About(props) {
href="https://github.com/processing/p5.js-web-editor/issues/new"
target="_blank"
rel="noopener noreferrer"
- >{t('Report')}
+ >{t('About.Report')}
diff --git a/client/modules/IDE/components/KeyboardShortcutModal.jsx b/client/modules/IDE/components/KeyboardShortcutModal.jsx
index b1acadbb..4d471ea0 100644
--- a/client/modules/IDE/components/KeyboardShortcutModal.jsx
+++ b/client/modules/IDE/components/KeyboardShortcutModal.jsx
@@ -6,50 +6,50 @@ function KeyboardShortcutModal() {
const { t } = useTranslation();
return (
-
{t('CodeEditing')}
+
{t('KeyboardShortcuts.CodeEditing.CodeEditing')}
- {t('Code editing keyboard shortcuts follow')} {t('Sublime Text shortcuts')} .
+ {t('KeyboardShortcuts.ShortcutsFollow')} {t('KeyboardShortcuts.SublimeText')} .
{'\u21E7'} + Tab
- {t('Tidy')}
+ {t('KeyboardShortcuts.CodeEditing.Tidy')}
{metaKeyName} + F
- {t('FindText')}
+ {t('KeyboardShortcuts.CodeEditing.FindText')}
{metaKeyName} + G
- {t('FindNextTextMatch')}
+ {t('KeyboardShortcuts.CodeEditing.FindNextTextMatch')}
{metaKeyName} + {'\u21E7'} + G
- {t('FindPreviousTextMatch')}
+ {t('KeyboardShortcuts.CodeEditing.FindPreviousTextMatch')}
{metaKeyName} + [
- {t('IndentCodeLeft')}
+ {t('KeyboardShortcuts.CodeEditing.IndentCodeLeft')}
{metaKeyName} + ]
- {t('IndentCodeRight')}
+ {t('KeyboardShortcuts.CodeEditing.IndentCodeRight')}
{metaKeyName} + /
- {t('CommentLine')}
+ {t('KeyboardShortcuts.CodeEditing.CommentLine')}
General
@@ -58,31 +58,31 @@ function KeyboardShortcutModal() {
{metaKeyName} + S
-
{t('Save')}
+
{t('Common.Save')}
{metaKeyName} + Enter
- {t('StartSketch')}
+ {t('KeyboardShortcuts.General.StartSketch')}
{metaKeyName} + {'\u21E7'} + Enter
- {t('StopSketch')}
+ {t('KeyboardShortcuts.General.StopSketch')}
{metaKeyName} + {'\u21E7'} + 1
- {t('TurnOnAccessibleOutput')}
+ {t('KeyboardShortcuts.General.TurnOnAccessibleOutput')}
{metaKeyName} + {'\u21E7'} + 2
- {t('TurnOffAccessibleOutput')}
+ {t('KeyboardShortcuts.General.TurnOffAccessibleOutput')}
diff --git a/client/modules/IDE/components/Preferences/index.jsx b/client/modules/IDE/components/Preferences/index.jsx
index 5fd5147d..c68af5bf 100644
--- a/client/modules/IDE/components/Preferences/index.jsx
+++ b/client/modules/IDE/components/Preferences/index.jsx
@@ -99,59 +99,59 @@ class Preferences extends React.Component {
- {this.props.t('GeneralSettings')}
- {this.props.t('Accessibility')}
+ {this.props.t('Preferences.GeneralSettings')}
+ {this.props.t('Preferences.Accessibility')}
-
{this.props.t('TextSize')}
+
{this.props.t('Preferences.TextSize')}
- {this.props.t('Decrease')}
+ {this.props.t('Preferences.DecreaseFont')}
@@ -364,4 +364,4 @@ Preferences.propTypes = {
t: PropTypes.func.isRequired,
};
-export default withTranslation('WebEditor')(Preferences);
+export default withTranslation()(Preferences);
diff --git a/client/modules/IDE/components/Toast.jsx b/client/modules/IDE/components/Toast.jsx
index 5aaa3f70..f3cc0fc7 100644
--- a/client/modules/IDE/components/Toast.jsx
+++ b/client/modules/IDE/components/Toast.jsx
@@ -8,7 +8,7 @@ import * as ToastActions from '../actions/toast';
import ExitIcon from '../../../images/exit.svg';
function Toast(props) {
- const { t } = useTranslation('WebEditor');
+ const { t } = useTranslation();
return (
diff --git a/client/modules/IDE/components/Toolbar.jsx b/client/modules/IDE/components/Toolbar.jsx
index 401a7e76..5a126b35 100644
--- a/client/modules/IDE/components/Toolbar.jsx
+++ b/client/modules/IDE/components/Toolbar.jsx
@@ -3,6 +3,7 @@ import React from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import classNames from 'classnames';
+import { withTranslation } from 'react-i18next';
import * as IDEActions from '../actions/ide';
import * as preferenceActions from '../actions/preferences';
import * as projectActions from '../actions/project';
@@ -115,7 +116,7 @@ class Toolbar extends React.Component {
}}
/>
- Auto-refresh
+ {this.props.t('Toolbar.Auto-refresh')}
@@ -197,7 +198,8 @@ Toolbar.propTypes = {
startSketch: PropTypes.func.isRequired,
startAccessibleSketch: PropTypes.func.isRequired,
saveProject: PropTypes.func.isRequired,
- currentUser: PropTypes.string
+ currentUser: PropTypes.string,
+ t: PropTypes.func.isRequired
};
Toolbar.defaultProps = {
@@ -224,4 +226,5 @@ const mapDispatchToProps = {
};
export const ToolbarComponent = Toolbar;
-export default connect(mapStateToProps, mapDispatchToProps)(Toolbar);
+// export default connect(mapStateToProps, mapDispatchToProps)(Toolbar);
+export default withTranslation()(connect(mapStateToProps, mapDispatchToProps)(Toolbar));
diff --git a/client/modules/IDE/components/Toolbar.test.jsx b/client/modules/IDE/components/Toolbar.test.jsx
index d558fc46..cd435302 100644
--- a/client/modules/IDE/components/Toolbar.test.jsx
+++ b/client/modules/IDE/components/Toolbar.test.jsx
@@ -33,6 +33,7 @@ const renderComponent = (extraProps = {}) => {
isEditingName: false,
id: 'id',
},
+ t: jest.fn()
}, extraProps);
render(
);
diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx
index e72249f3..dc8d9bdb 100644
--- a/client/modules/IDE/pages/IDEView.jsx
+++ b/client/modules/IDE/pages/IDEView.jsx
@@ -64,7 +64,7 @@ function warnIfUnsavedChanges(props) {
props.persistState();
window.onbeforeunload = null;
} else if (props.ide.unsavedChanges) {
- if (!window.confirm(props.t('WarningUnsavedChanges'))) {
+ if (!window.confirm(props.t('Nav.WarningUnsavedChanges'))) {
return false;
}
props.setUnsavedChanges(false);
@@ -268,8 +268,8 @@ class IDEView extends React.Component {
{this.props.ide.preferencesIsVisible && (
-
- {this.props.t('Preview')}
-
+ {this.props.t('Toolbar.Preview')}
)}
{this.props.location.pathname === '/feedback' && (
@@ -494,8 +492,8 @@ class IDEView extends React.Component {
)}
{this.props.ide.keyboardShortcutVisible && (
@@ -504,7 +502,7 @@ class IDEView extends React.Component {
{this.props.ide.errorType && (
{
const {
- preferences,
- ide,
- editorAccessibility,
- project,
- updateLintMessage,
- clearLintMessage,
- selectedFile,
- updateFileContent,
- files,
- closeEditorOptions,
- showEditorOptions,
- startRefreshSketch,
- stopSketch,
- expandSidebar,
- collapseSidebar,
- clearConsole,
- console,
- showRuntimeErrorWarning,
- hideRuntimeErrorWarning,
- startSketch,
- user
+ preferences, ide, editorAccessibility, project, updateLintMessage, clearLintMessage,
+ selectedFile, updateFileContent, files, user,
+ closeEditorOptions, showEditorOptions,
+ startRefreshSketch, stopSketch, expandSidebar, collapseSidebar, clearConsole, console,
+ showRuntimeErrorWarning, hideRuntimeErrorWarning, startSketch
} = props;
const [tmController, setTmController] = useState(null); // eslint-disable-line
@@ -90,7 +74,7 @@ const MobileIDEView = (props) => {
const [triggerNavDropdown, NavDropDown] = useAsModal( );
return (
diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js
index f5b92f5e..7710074d 100644
--- a/client/modules/IDE/reducers/files.js
+++ b/client/modules/IDE/reducers/files.js
@@ -13,8 +13,8 @@ const defaultHTML =
`
-
-
+
+
diff --git a/client/utils/custom-hooks.js b/client/utils/custom-hooks.js
index 2776b5bf..9b9e24e2 100644
--- a/client/utils/custom-hooks.js
+++ b/client/utils/custom-hooks.js
@@ -1,4 +1,4 @@
-import React, { useEffect, useRef, useMemo, useState } from 'react';
+import React, { useEffect, useRef, useState } from 'react';
export const noop = () => {};
@@ -22,7 +22,7 @@ export const useModalBehavior = (hideOverlay) => {
// Return values
const setRef = (r) => { ref.current = r; };
const [visible, setVisible] = useState(true);
- const trigger = () => setVisible(true);
+ const trigger = () => setVisible(!visible);
const hide = () => setVisible(false);
@@ -40,12 +40,3 @@ export const useModalBehavior = (hideOverlay) => {
return [visible, trigger, setRef];
};
-
-// TODO: This is HOC, not a hook. Where do we put it?
-export const useAsModal = (component) => {
- const [visible, trigger, setRef] = useModalBehavior();
-
- const wrapper = () => ( {visible && component}
); // eslint-disable-line
-
- return [trigger, wrapper];
-};
diff --git a/server/domain-objects/createDefaultFiles.js b/server/domain-objects/createDefaultFiles.js
index 9164c12a..b901caaf 100644
--- a/server/domain-objects/createDefaultFiles.js
+++ b/server/domain-objects/createDefaultFiles.js
@@ -10,9 +10,8 @@ const defaultHTML =
`
-
-
-
+
+
diff --git a/server/scripts/examples.js b/server/scripts/examples.js
index e905fca3..251630f7 100644
--- a/server/scripts/examples.js
+++ b/server/scripts/examples.js
@@ -11,8 +11,8 @@ const defaultHTML =
`
-
-
+
+
diff --git a/translations/locales/en-US/translations.json b/translations/locales/en-US/translations.json
index b696d0db..56a898f5 100644
--- a/translations/locales/en-US/translations.json
+++ b/translations/locales/en-US/translations.json
@@ -1,116 +1,177 @@
{
+ "Nav": {
+ "File": {
+ "Title": "File",
+ "New": "New",
+ "Share": "Share",
+ "Duplicate": "Duplicate",
+ "Open": "Open",
+ "Download": "Download",
+ "AddToCollection": "Add to Collection",
+ "Examples": "Examples"
+ },
+ "Edit": {
+ "Title": "Edit",
+ "TidyCode": "Tidy Code",
+ "Find": "Find",
+ "FindNext": "Find Next",
+ "FindPrevious": "Find Previous"
+ },
+ "Sketch": {
+ "Title": "Sketch",
+ "AddFile": "Add File",
+ "AddFolder": "Add Folder",
+ "Run": "Run",
+ "Stop": "Stop"
+ },
+ "Help": {
+ "Title": "Help",
+ "KeyboardShortcuts": "Keyboard Shortcuts",
+ "Reference": "Reference",
+ "About": "About"
+ },
+ "Lang": "Language",
+ "BackEditor": "Back to Editor",
+ "WarningUnsavedChanges": "Are you sure you want to leave this page? You have unsaved changes.",
+ "Login": {
+ "Login": "Log in",
+ "LoginOr": "or",
+ "SignUp": "Sign up",
+ "Email": "email",
+ "Username": "username",
+ "LoginGithub": "Login with Github",
+ "LoginGoogle": "Login with Google",
+ "DontHaveAccount": "Don't have an account?",
+ "ForgotPassword": "Forgot your password?",
+ "ResetPassword": "Reset your password"
+ },
+ "Auth": {
+ "Welcome": "Welcome",
+ "Hello": "Hello",
+ "MyAccount": "My Account",
+ "My": "My",
+ "MySketches": "My Sketches",
+ "MyCollections": "My Collections",
+ "Asset": "Asset",
+ "MyAssets": "My Assets",
+ "LogOut": "Log Out"
+ }
+ },
+ "About": {
+ "Title": "About",
+ "TitleHelmet": "p5.js Web Editor | About",
"Contribute": "Contribute",
"NewP5": "New to p5.js?",
"Report": "Report a bug",
"Learn": "Learn",
- "About": "About",
"Resources": "Resources",
"Libraries": "Libraries",
"Forum": "Forum",
- "File": "File",
- "New": "New",
- "Save": "Save",
- "Share": "Share",
- "Duplicate": "Duplicate",
- "Examples": "Examples",
- "Edit": "Edit",
- "TidyCode": "Tidy Code",
- "Find": "Find",
- "AddToCollection": "Add to Collection",
- "FindNext": "Find Next",
- "FindPrevious": "Find Previous",
- "Sketch": "Sketch",
- "AddFile": "Add File",
- "AddFolder": "Add Folder",
- "Run": "Run",
- "Stop": "Stop",
- "Help": "Help",
- "KeyboardShortcuts": "Keyboard Shortcuts",
- "Reference": "Reference",
- "Tidy": "Tidy",
- "Lang": "Language",
- "FindNextMatch": "Find Next Match",
- "FindPrevMatch": "Find Previous Match",
- "IndentCodeLeft": "Indent Code Left",
- "IndentCodeRight": "Indent Code Right",
- "CommentLine": "Comment Line",
- "StartSketch": "Start Sketch",
- "StopSketch": "StopSketch",
- "TurnOnAccessibleOutput": "Turn On Accessible Output",
- "TurnOffAccessibleOutput": "Turn Off Accessible Output",
- "ToogleSidebar": "Toogle Sidebar",
- "ToogleConsole": "Toogle Console",
+ "Examples": "Examples"
+ },
+ "Toast": {
+ "OpenedNewSketch": "Opened new sketch.",
+ "SketchSaved": "Sketch saved.",
+ "SketchFailedSave": "Failed to save sketch.",
+ "AutosaveEnabled": "Autosave enabled.",
+ "LangChange": "Language changed"
+ },
+ "Toolbar": {
"Preview": "Preview",
"Auto-refresh": "Auto-refresh",
- "Console": "Console",
+ "OpenPreferencesARIA": "Open Preferences",
+ "PlaySketchARIA": "Play sketch",
+ "PlayOnlyVisualSketchARIA": "Play only visual sketch",
+ "StopSketchARIA": "Stop sketch",
+ "EditSketchARIA": "Edit sketch name",
+ "NewSketchNameARIA": "New sketch name"
+ },
+ "Console": {
+ "Title": "Console",
+ "Clear": "Clear",
+ "ClearARIA": "Clear console",
+ "Close": "Close",
+ "CloseARIA": "Close console",
+ "Open": "Open",
+ "OpenARIA": "Open console"
+ },
+ "Preferences": {
"Settings": "Settings",
"GeneralSettings": "General settings",
+ "Accessibility": "Accessibility",
"Theme": "Theme",
- "Light": "Light",
- "Dark": "Dark",
- "HighContrast": "High Contrast",
+ "LightTheme": "Light",
+ "LightThemeARIA": "light theme on",
+ "DarkTheme": "Dark",
+ "DarkThemeARIA": "dark theme on",
+ "HighContrastTheme": "High Contrast",
+ "HighContrastThemeARIA": "high contrast theme on",
"TextSize": "Text Size",
- "Decrease": "Decrease",
- "Increase": "Increase",
- "IndentationAmount": "Indentation amount",
+ "DecreaseFont": "Decrease",
+ "DecreaseFontARIA": "decrease font size",
+ "IncreaseFont": "Increase",
+ "IncreaseFontARIA": "increase font size",
"Autosave": "Autosave",
"On": "On",
+ "AutosaveOnARIA": "autosave on",
"Off": "Off",
- "SketchSettings": "Sketch Settings",
- "SecurityProtocol": "Security Protocol",
- "ServeOverHTTPS": "Serve over HTTPS",
- "Accessibility": "Accessibility",
+ "AutosaveOffARIA": "autosave off",
+ "WordWrap": "Word Wrap",
+ "LineWrapOnARIA": "linewrap on",
+ "LineWrapOffARIA": "linewrap off",
+ "LineNumbers": "Line numbers",
+ "LineNumbersOnARIA": "line numbers on",
+ "LineNumbersOffARIA": "line numbers off",
"LintWarningSound": "Lint warning sound",
+ "LintWarningOnARIA": "lint warning on",
+ "LintWarningOffARIA": "lint warning off",
"PreviewSound": "Preview sound",
+ "PreviewSoundARIA": "preview sound",
"AccessibleTextBasedCanvas": "Accessible text-based canvas",
"UsedScreenReader": "Used with screen reader",
"PlainText": "Plain-text",
+ "TextOutputARIA": "text output on",
"TableText": "Table-text",
+ "TableOutputARIA": "table output on",
"Sound": "Sound",
- "WordWrap": "Word Wrap",
- "LineNumbers": "Line numbers",
- "LangChange": "Language changed",
- "Welcome": "Welcome",
- "Login": "Log in",
- "LoginOr": "or",
- "SignUp": "Sign up",
- "Email": "email",
- "Username": "username",
- "LoginGithub": "Login with Github",
- "LoginGoogle": "Login with Google",
- "DontHaveAccount": "Don't have an account?",
- "ForgotPassword": "Forgot your password?",
- "ResetPassword": "Reset your password",
- "BackEditor": "Back to Editor",
- "UsernameSplit": "User Name",
- "Password": "Password",
- "ConfirmPassword": "Confirm Password",
- "OpenedNewSketch": "Opened new sketch.",
- "Hello": "Hello",
- "MyAccount": "My Account",
- "My":"My",
- "MySketches": "My Sketches",
- "MyCollections": "My Collections",
- "Asset": "Asset",
- "MyAssets": "My Assets",
- "TitleAbout": "p5.js Web Editor | About",
- "CodeEditing": "Code Editing",
- "Error": "Error",
- "In order to save": "In order to save",
- "you must be logged in": "you must be logged in",
- "Please": "please",
- "Find in files": "Find in files",
+ "SoundOutputARIA": "sound output on"
+ },
+ "KeyboardShortcuts": {
+ "Title": " Keyboard Shortcuts",
+ "ShortcutsFollow": "Code editing keyboard shortcuts follow",
+ "SublimeText": "Sublime Text shortcuts",
+ "CodeEditing": {
+ "Tidy": "Tidy",
+ "FindText": "Find Text",
+ "FindNextMatch": "Find Next Match",
+ "FindPrevMatch": "Find Previous Match",
+ "IndentCodeLeft": "Indent Code Left",
+ "IndentCodeRight": "Indent Code Right",
+ "CommentLine": "Comment Line",
+ "FindNextTextMatch": "Find Next Text Match",
+ "FindPreviousTextMatch": "Find Previous Text Match",
+ "CodeEditing": "Code Editing"
+ },
+ "General": {
+ "StartSketch": "Start Sketch",
+ "StopSketch": "Stop Sketch",
+ "TurnOnAccessibleOutput": "Turn On Accessible Output",
+ "TurnOffAccessibleOutput": "Turn Off Accessible Output"
+ }
+ },
+ "Sidebar": {
"Create": "Create",
- "enter a name": "enter a name",
+ "EnterName": "enter a name",
"Add": "Add",
- "Folder": "Folder",
- "FindText": "Find Text",
- "FindNextTextMatch": "Find Next Text Match",
- "FindPreviousTextMatch": "Find Previous Text Match",
- "Code editing keyboard shortcuts follow": "Code editing keyboard shortcuts follow",
- "Sublime Text shortcuts": "Sublime Text shortcuts",
- "WarningUnsavedChanges": "Are you sure you want to leave this page? You have unsaved changes.",
- "LogOut": "Log Out"
+ "Folder": "Folder"
+ },
+ "Common": {
+ "Error": "Error",
+ "Save": "Save",
+ "p5logoARIA": "p5.js Logo"
+ },
+ "IDEView": {
+ "SubmitFeedback": "Submit Feedback"
+ }
}
-
diff --git a/translations/locales/es-419/translations.json b/translations/locales/es-419/translations.json
index cd5276ec..8b8d8f87 100644
--- a/translations/locales/es-419/translations.json
+++ b/translations/locales/es-419/translations.json
@@ -1,113 +1,180 @@
{
+ "Nav": {
+ "File": {
+ "Title": "Archivo",
+ "New": "Nuevo",
+ "Share": "Compartir",
+ "Duplicate": "Duplicar",
+ "Open": "Abrir",
+ "Download": "Descargar",
+ "AddToCollection": "Agregar a colección",
+ "Examples": "Ejemplos"
+ },
+ "Edit": {
+ "Title": "Editar",
+ "TidyCode": "Ordenar código",
+ "Find": "Buscar",
+ "FindNext": "Buscar siguiente",
+ "FindPrevious": "Buscar anterior"
+ },
+ "Sketch": {
+ "Title": "Bosquejo",
+ "AddFile": "Agregar archivo",
+ "AddFolder": "Agregar directorio",
+ "Run": "Ejecutar",
+ "Stop": "Detener"
+ },
+ "Help": {
+ "Title": "Ayuda",
+ "KeyboardShortcuts": "Atajos",
+ "Reference": "Referencia",
+ "About": "Acerca de"
+ },
+ "Lang": "Lenguaje",
+ "BackEditor": "Regresa al editor",
+ "WarningUnsavedChanges": "¿Realmente quieres salir de la página? Tienes cambios sin guardar.",
+ "Login": {
+ "Login": "Ingresa",
+ "LoginOr": "o",
+ "SignUp": "registráte",
+ "Email": "correo electrónico",
+ "Username": "Identificación",
+ "LoginGithub": "Ingresa con Github",
+ "LoginGoogle": "Ingresa con Google",
+ "DontHaveAccount": "¿No tienes cuenta?",
+ "ForgotPassword": "¿Olvidaste tu contraseña?",
+ "ResetPassword": "Regenera tu contraseña"
+ },
+ "Auth": {
+ "Welcome": "Hola",
+ "Hello": "Hola",
+ "MyAccount": "Mi Cuenta",
+ "My": "Mi",
+ "MySketches": "Mis bosquejos",
+ "MyCollections": "Mis colecciones",
+ "Asset": "Asset",
+ "MyAssets": "Mis assets",
+ "LogOut": "Cerrar sesión"
+ }
+ },
+ "About": {
+ "Title": "Acerca de",
+ "TitleHelmet": "Editor Web p5.js | Acerca de",
"Contribute": "Contribuir",
"NewP5": "¿Empezando con p5.js?",
"Report": "Reporta un error",
- "Learn": "Aprende",
- "About": "Acerca de",
+ "Learn": "Aprender",
"Resources": "Recursos",
"Libraries": "Bibliotecas",
"Forum": "Foro",
- "File": "Archivo",
- "New": "Nuevo",
- "Save": "Guardar",
- "Share": "Compartir",
- "Duplicate": "Duplicar",
- "Examples": "Ejemplos",
- "Edit": "Editar",
- "TidyCode": "Ordenar código",
- "Find": "Buscar",
- "AddToCollection": "Agregar a colección",
- "FindNext": "Buscar siguiente",
- "FindPrevious": "Buscar anterior",
- "Sketch": "Bosquejo",
- "AddFile": "Agregar archivo",
- "AddFolder": "Agregar directorio",
- "Run": "Ejecutar",
- "Stop": "Detener",
- "Help": "Ayuda",
- "KeyboardShortcuts": "Atajos",
- "Reference": "Referencia",
- "Tidy": "Ordenar",
- "Lang": "Lenguaje",
- "FindNextMatch": "Encontrar siguiente ocurrencia",
- "FindPrevMatch": "Encontrar ocurrencia previa",
- "IndentCodeLeft": "Indentar código a la izquierda",
- "IndentCodeRight": "Indentar código a la derecha",
- "CommentLine": "Comentar línea de código",
- "StartSketch": "Iniciar bosquejo",
- "StopSketch": "Detener bosquejo",
- "TurnOnAccessibleOutput": "Activar salida accesible",
- "TurnOffAccessibleOutput": "Desactivar salida accesible",
- "ToogleSidebar": "Alternar barra de deslizamiento",
- "ToogleConsole": "Alternar consola",
+ "Examples": "Ejemplos"
+ },
+ "Toast": {
+ "OpenedNewSketch": "Abriste un nuevo bosquejo.",
+ "SketchSaved": "Bosquejo guardado.",
+ "SketchFailedSave": "Fallo al guardar el bosquejo.",
+ "AutosaveEnabled": "Grabado automático activado.",
+ "LangChange": "Lenguaje cambiado"
+ },
+ "Toolbar": {
"Preview": "Vista previa",
"Auto-refresh": "Auto-refrescar",
- "Console": "Consola",
+ "OpenPreferencesARIA": "Abrir Preferencias",
+ "PlaySketchARIA": "Ejecutar bosquejo",
+ "PlayOnlyVisualSketchARIA": "Ejecutar bosquejo visual",
+ "StopSketchARIA": "Detener bosquejo",
+ "EditSketchARIA": "Editar nombre de bosquejo",
+ "NewSketchNameARIA": "Nuevo nombre de bosquejo"
+ },
+ "Console": {
+ "Title": "Consola",
+ "Clear": "Limpiar",
+ "ClearARIA": "limpiar consola",
+ "Close": "Cerrar",
+ "CloseARIA": "cerrar consola",
+ "Open": "Abrir",
+ "OpenARIA": "Abrir consola"
+ },
+ "Preferences": {
"Settings": "Configuración",
"GeneralSettings": "Configuración general",
+ "Accessibility": "Accesibilidad",
"Theme": "Modo de visualización",
- "Light": "Claro",
- "Dark": "Oscuro",
- "HighContrast": "Alto contraste",
+ "LightTheme": "Claro",
+ "LightThemeARIA": "Modo de visualización claro activado",
+ "DarkTheme": "Oscuro",
+ "DarkThemeARIA": "Modo de visualización oscuro activado",
+ "HighContrastTheme": "Alto contraste",
+ "HighContrastThemeARIA": "Modo de visualización de alto contraste activado",
"TextSize": "Tamaño del texto",
- "Decrease": "Disminuir",
- "Increase": "Aumentar",
- "IndentationAmount": "Cantidad de indentación",
+ "DecreaseFont": "Disminuir",
+ "DecreaseFontARIA": "Disminuir tamaño del texto",
+ "IncreaseFont": "Aumentar",
+ "IncreaseFontARIA": "Aumentar tamaño del texto",
"Autosave": "Grabar automáticamente",
"On": "Activar",
+ "AutosaveOnARIA": "Grabado automático activado",
"Off": "Desactivar",
- "SketchSettings": "Configuración del bosquejo",
- "SecurityProtocol": "Protocolo de seguridad",
- "ServeOverHTTPS": "Usar HTTPS",
- "Accessibility": "Accesibilidad",
+ "AutosaveOffARIA": "Grabado automático desactivado",
+ "WordWrap": "Ajuste automático de línea",
+ "LineWrapOnARIA": "Ajuste automático de línea activado",
+ "LineWrapOffARIA": "Ajuste automático de línea desactivado",
+ "LineNumbers": "Número de línea",
+ "LineNumbersOnARIA": "Número de línea activado",
+ "LineNumbersOffARIA": "Número de línea desactivado",
"LintWarningSound": "Sonido de alarma Lint",
+ "LintWarningOnARIA": "Sonido de alarma Lint activado",
+ "LintWarningOffARIA": "Sonido de alarma Lint desactivado",
"PreviewSound": "Probar sonido",
+ "PreviewSoundARIA": "Probar sonido",
"AccessibleTextBasedCanvas": "Lienzo accesible por texto",
"UsedScreenReader": "Uso con screen reader",
"PlainText": "Texto sin formato",
+ "TextOutputARIA": "Salida de texto activado",
"TableText": "Tablero de texto",
+ "TableOutputARIA": "Salida de tablero activado",
"Sound": "Sonido",
- "WordWrap": "Ajuste automático de línea",
- "LineNumbers": "Número de línea",
- "LangChange": "Lenguaje cambiado",
- "Welcome": "Bienvenida",
- "Login": "Ingresa",
- "LoginOr": "o",
- "SignUp": "registráte",
- "email": "correo electrónico",
- "username": "nombre de usuario",
- "LoginGithub": "Ingresa con Github",
- "LoginGoogle": "Ingresa con Google",
- "DontHaveAccount": "No tienes cuenta?",
- "ForgotPassword": "¿Olvidaste tu contraseña?",
- "ResetPassword": "Regenera tu contraseña",
- "BackEditor": "Regresa al editor",
- "UsernameSplit": "Nombre de usuario",
- "Password": "Contraseña",
- "ConfirmPassword": "Confirma la contraseña",
- "OpenedNewSketch": "Creaste nuevo bosquejo.",
- "Hello": "Hola",
- "MyAccount": "Mi Cuenta",
- "My": "Mi",
- "MySketches": "Mis bosquejos",
- "MyCollections":"Mis colecciones",
- "Asset": "Asset",
- "MyAssets": "Mis assets",
- "TitleAbout": "Editor Web p5.js | Acerca de",
- "CodeEditing": "Editando Código",
+ "SoundOutputARIA": "Salida de sonido activado"
+ },
+ "KeyboardShortcuts": {
+ "Title": " Atajos de teclado",
+ "ShortcutsFollow": "Los atajos para edición son como",
+ "SublimeText": "los atajos de Sublime Text ",
+ "CodeEditing": {
+ "Tidy": "Ordenar",
+ "FindText": "Encontrar texto",
+ "FindNextMatch": "Encontrar siguiente ocurrencia",
+ "FindPrevMatch": "Encontrar ocurrencia previa",
+ "IndentCodeLeft": "Indentar código a la izquierda",
+ "IndentCodeRight": "Indentar código a la derecha",
+ "CommentLine": "Comentar línea de código",
+ "FindNextTextMatch": "Encontrar la siguiente ocurrencia de texto",
+ "FindPreviousTextMatch": "Encontrar la ocurrencia previa de texto",
+ "CodeEditing": "Editando Código"
+ },
+ "General": {
+ "StartSketch": "Iniciar bosquejo",
+ "StopSketch": "Detener bosquejo",
+ "TurnOnAccessibleOutput": "Activar salida accesible",
+ "TurnOffAccessibleOutput": "Desactivar salida accesible"
+ }
+ },
+ "Sidebar": {
+ "Create": "Crear",
+ "EnterName": "Introduce un nombre",
+ "Add": "Agregar",
+ "Folder": "Directorio"
+ },
+ "Common": {
"Error": "Error",
- "In order to save": "Para guardar",
- "you must be logged in": "debes ingresar a tu cuenta",
- "Please": "Por favor",
- "Find in files": "Encontrar en archivos",
- "Create": "Create",
- "enter a name": "enter a name",
- "Add": "Add",
- "Folder": "Directorio",
- "FindText": "Encontrar texto",
- "FindNextTextMatch": "Encontrar la siguiente ocurrencia de texto",
- "FindPreviousTextMatch": "Encontrar la ocurrencia previa de texto",
- "Code editing keyboard shortcuts follow": "Los atajos para edición son como",
- "Sublime Text shortcuts": "los atajos de Sublime Text ",
- "WarningUnsavedChanges": "¿Estás seguro de que quieres salir de la página? Tienes cambios sin guardar."
+ "Save": "Guardar",
+ "p5logoARIA": "Logo p5.js "
+ },
+ "IDEView": {
+ "SubmitFeedback": "Enviar retroalimentación"
}
+}
+
+
+
+