Browse Source

fix: fixed some ortograph errors and keyboard shortcuts errors

Marcelo Vilas Boas Correa Filho 3 years ago
parent
commit
307d416d4d

+ 2 - 2
js/accessibleUI/modules/operations/operations.js

@@ -281,7 +281,7 @@ function generateResume (hash) {
     let resume;
     switch (operation.type) {
         case 'ASSIGN':
-            resume = `${operation.assignedVariable.name} recebe `;
+            resume = `${operation.assignedVariable.name}, recebe: `;
 
             for (const i in operation.operators) {
                 console.log(operation.operators[i]);
@@ -299,7 +299,7 @@ function generateResume (hash) {
             }
             break;
         case 'PRINT':
-            resume = `Escreva ${operation.assignedVariable.name}`
+            resume = `Escreva a variável: ${operation.assignedVariable.name}`
     }
 
     return resume;

+ 1 - 1
js/accessibleUI/modules/variables/variables.js

@@ -129,7 +129,7 @@ function updateResume (hash) {
 function generateResume (hash) {
     const variable = getVariableByHash(hash);
 
-    return `${variable.type.name} ${variable.name} recebe ${variable.value}`;
+    return `${variable.type.name} ${variable.name}, recebe ${variable.value}`;
 }
 
 // ***********************************************************************

File diff suppressed because it is too large
+ 11905 - 24
package-lock.json


+ 1 - 1
templates/index.html

@@ -156,7 +156,7 @@
                     <a class="nav-link" href="#terminal" title="Alt + t" accesskey="t">Ir para o terminal</a>
                 </li>
                 <li class="nav-item">
-                    <a class="nav-link" id="goToCommands" href="javascript:void(0)" title="Alt + c" accesskey="t">Ir para a lista de comandos</a>
+                    <a class="nav-link" id="goToCommands" href="javascript:void(0)" title="Alt + c" accesskey="c">Ir para a lista de comandos</a>
                 </li>
             </ul>
         </div>