diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 5b04881..b4c3924 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,9 +1,5 @@
{
- "recommendations": [
- "dbaeumer.vscode-eslint",
-
- "octref.vetur"
- ],
+ "recommendations": ["dbaeumer.vscode-eslint", "octref.vetur"],
"unwantedRecommendations": [
"hookyqr.beautify",
"dbaeumer.jshint",
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 5eb9b77..5edbb1e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,7 +1,7 @@
{
"vetur.validation.template": false,
- "vetur.format.enable": false,
+ "vetur.format.enable": true,
"eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
-
- "vetur.experimental.templateInterpolationService": true
+ "vetur.experimental.templateInterpolationService": true,
+ "editor.formatOnSave": false
}
diff --git a/src/components/ToggleLanguage.vue b/src/components/ToggleLanguage.vue
new file mode 100644
index 0000000..6903eb5
--- /dev/null
+++ b/src/components/ToggleLanguage.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/i18n/en-us/index.js b/src/i18n/en-us/index.js
index b70b80f..7ddf047 100644
--- a/src/i18n/en-us/index.js
+++ b/src/i18n/en-us/index.js
@@ -3,5 +3,17 @@
export default {
failed: 'Action failed',
- success: 'Action was successful'
+ success: 'Action was successful',
+ language: 'language',
+ startAugmentedReality: 'start augmented reality',
+ usageInfoPartOne: 'For usage instructions, click on the button',
+ usageInfoPartTwo: 'from the navigation bar.',
+ // mainTitle: "Antônio Peticov's art in Augmented Reality",
+ name: "Antonio Peticov's",
+ art: 'art',
+ in: 'in',
+ augumented: 'Augmented',
+ reality: 'Reality',
+
+ subtitleInfo: 'Antonio Peticov (born July 2, 1946) is a Brazilian painter, designer, sculptor, and engraver.'
}
diff --git a/src/i18n/index.js b/src/i18n/index.js
index e8875c7..99cfb14 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -1,5 +1,7 @@
import enUS from './en-us'
+import ptBR from './pt-br'
export default {
- 'en-us': enUS
+ 'en-us': enUS,
+ 'pt-br': ptBR
}
diff --git a/src/i18n/pt-br/index.js b/src/i18n/pt-br/index.js
new file mode 100644
index 0000000..af0506a
--- /dev/null
+++ b/src/i18n/pt-br/index.js
@@ -0,0 +1,18 @@
+// This is just an example,
+// so you can safely delete all default props below
+
+export default {
+ failed: 'Action failed',
+ success: 'Action was successful',
+ language: 'idioma',
+ startAugmentedReality: 'Iniciar realidade aumentada',
+ usageInfoPartOne: 'Para instruções de uso, clique no botão',
+ usageInfoPartTwo: 'da barra de navegação.',
+ mainTitle: 'A arte de Antônio Peticov em Realidade Aumentada',
+ name: 'Antonio Peticov',
+ art: 'arte',
+ in: 'de',
+ augumented: 'Aumentada',
+ reality: 'Realidade',
+ subtitleInfo: 'Antonio Peticov (nascido em 2 de julho de 1946) é um pintor, desenhista, escultor e gravador brasileiro.'
+}
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index 3f1d039..6047dba 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -8,7 +8,7 @@
-
+
@@ -57,6 +57,7 @@