Преглед на файлове

fix: fixed some ortograph errors and keyboard shortcuts errors

Marcelo Vilas Boas Correa Filho преди 3 години
родител
ревизия
307d416d4d
променени са 4 файла, в които са добавени 11909 реда и са изтрити 28 реда
  1. 2 2
      js/accessibleUI/modules/operations/operations.js
  2. 1 1
      js/accessibleUI/modules/variables/variables.js
  3. 11905 24
      package-lock.json
  4. 1 1
      templates/index.html

+ 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}`;
 }
 
 // ***********************************************************************

Файловите разлики са ограничени, защото са твърде много
+ 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>