Skip to content

Commit 3adb51f

Browse files
authored
Cleaned up AddTab Dialog (#241)
* Cleaned up AddTab Dialog * Clear out name after creating it * Make smaller if fewer (or none) hidden * Update no hidden opmodes
1 parent 84d05fb commit 3adb51f

File tree

5 files changed

+101
-313
lines changed

5 files changed

+101
-313
lines changed

src/i18n/locales/en/translation.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"project_rename": "Rename Project",
1010
"project_copy": "Copy Project",
1111
"fail_list_projects": "Failed to load the list of projects.",
12-
"mechanism": "Mechanism",
13-
"opmode": "OpMode",
12+
"MECHANISM": "Mechanism",
13+
"OPMODE": "OpMode",
1414
"class_rule_description": "No spaces are allowed in the name. Each word in the name should start with a capital letter.",
1515
"example_mechanism": "For example: GamePieceShooter",
1616
"example_opmode": "For example: AutoParkAndShoot",
@@ -34,6 +34,11 @@
3434
"HEBREW": "Hebrew",
3535
"HELP": "Help",
3636
"ABOUT": "About",
37+
"SELECT_HIDDEN": "Select Hidden",
38+
"NO_HIDDEN_MECHANISMS": "No Hidden Mechanisms",
39+
"NO_HIDDEN_OPMODES": "No Hidden Opmodes",
40+
"CREATE_NEW": "Create New",
41+
"CREATE": "Create",
3742
"BLOCKS": "Blocks",
3843
"CODE": "Code",
3944
"COPY": "Copy",

src/i18n/locales/es/translation.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"project_rename": "Renombrar Proyecto",
1111
"project_copy": "Copiar Proyecto",
1212
"fail_list_projects": "Error al cargar la lista de proyectos.",
13-
"mechanism": "Mecanismo",
14-
"opmode": "OpMode",
13+
"MECHANISM": "Mecanismo",
14+
"OPMODE": "OpMode",
1515
"class_rule_description": "No se permiten espacios en el nombre. Cada palabra en el nombre debe comenzar con una letra mayúscula.",
1616
"example_mechanism": "Por ejemplo: DisparadorDePiezas",
1717
"example_opmode": "Por ejemplo: AutoEstacionarYDisparar",
@@ -31,6 +31,11 @@
3131
"HEBREW": "Hebreo",
3232
"HELP": "Ayuda",
3333
"ABOUT": "Acerca de",
34+
"SELECT_HIDDEN": "Seleccionar Oculto",
35+
"NO_HIDDEN_MECHANISMS": "No Hay Mecanismos Ocultos",
36+
"NO_HIDDEN_OPMODES": "No Hay Opmodes Ocultos",
37+
"CREATE_NEW": "Crear Nuevo",
38+
"CREATE": "Crear",
3439
"BLOCKS": "Bloques",
3540
"CODE": "Código",
3641
"COPY": "Copiar",

src/i18n/locales/he/translation.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"project_rename": "שנה שם פרויקט",
1010
"project_copy": "העתק פרויקט",
1111
"fail_list_projects": "נכשל בטעינת רשימת הפרויקטים.",
12-
"mechanism": "מנגנון",
13-
"opmode": "אופמוד",
12+
"MECHANISM": "מנגנון",
13+
"OPMODE": "אופמוד",
1414
"class_rule_description": "אסור שיהיו רווחים בשם. כל מילה בשם צריכה להתחיל באות גדולה.",
1515
"example_mechanism": "לדוגמה: GamePieceShooter",
1616
"example_opmode": "לדוגמה: AutoParkAndShoot",
@@ -34,6 +34,11 @@
3434
"HEBREW": "עברית",
3535
"HELP": "עזרה",
3636
"ABOUT": "אודות",
37+
"SELECT_HIDDEN": "בחר נסתר",
38+
"NO_HIDDEN_MECHANISMS": "אין מנגנונים נסתרים",
39+
"NO_HIDDEN_OPMODES": "אין אופמודים נסתרים",
40+
"CREATE_NEW": "צור חדש",
41+
"CREATE": "צור",
3742
"BLOCKS": "בלוקים",
3843
"CODE": "קוד",
3944
"COPY": "העתק",

0 commit comments

Comments
 (0)