diff --git a/package.json b/package.json
index 6c863c5..f932deb 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,8 @@
"vue-nprogress": "^0.2.0",
"vue-router": "^3.2.0",
"vue-socket.io": "^3.0.10",
- "vuex": "^3.4.0"
+ "vuex": "^3.4.0",
+ "webpack-auto-inject-version": "^1.2.2"
},
"devDependencies": {
"@intlify/vue-i18n-loader": "^1.0.0",
diff --git a/src/locales/en.json b/src/locales/en.json
index 010c89a..f2c4250 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -318,7 +318,8 @@
"login": "Login"
},
"info": {
- "description": "Your chosen description:"
+ "description": "Your chosen description:",
+ "placeholder": "Say something interesting about yourself."
},
"customize": {
"light": "Light",
diff --git a/src/views/Register.vue b/src/views/Register.vue
index 2db30e4..8bad4b4 100644
--- a/src/views/Register.vue
+++ b/src/views/Register.vue
@@ -53,10 +53,10 @@
required>
- {{$t('register.agree')}} {{$t('tos')}}
+ {{$t('register.agree')}} {{$t('tos')}}
- {{$t('guided.registration.continue')}}
+ {{$t('guided.registration.continue')}}
{{$t('guided.registration.init.login')}}
@@ -73,7 +73,7 @@
diff --git a/webpack.conf.js b/webpack.conf.js
new file mode 100644
index 0000000..1271908
--- /dev/null
+++ b/webpack.conf.js
@@ -0,0 +1,39 @@
+var WebpackAutoInject = require('webpack-auto-inject-version');
+
+module.exports = {
+ plugins: [
+ new WebpackAutoInject({
+ // specify the name of the tag in the outputed files eg
+ // bundle.js: [SHORT] Version: 0.13.36 ...
+ SHORT: 'Version: 1.0.0-prerelease5',
+ SILENT: false,
+ PACKAGE_JSON_PATH: './package.json',
+ PACKAGE_JSON_INDENT: 4,
+ components: {
+ AutoIncreaseVersion: true,
+ InjectAsComment: true,
+ InjectByTag: true
+ },
+ componentsOptions: {
+ AutoIncreaseVersion: {
+ runInWatchMode: false // it will increase version with every single build!
+ },
+ InjectAsComment: {
+ tag: 'Version: {version} - {date}',
+ dateFormat: 'h:MM:ss TT', // change timezone: `UTC:h:MM:ss` or `GMT:h:MM:ss`
+ multiLineCommentType: false, // use `/** */` instead of `//` as comment block
+ },
+ InjectByTag: {
+ fileRegex: /\.+/,
+ // regexp to find [AIV] tag inside html, if you tag contains unallowed characters you can adjust the regex
+ // but also you can change [AIV] tag to anything you want
+ AIVTagRegexp: /(\[AIV])(([a-zA-Z{} ,:;!()_@\-"'\\\/])+)(\[\/AIV])/g,
+ dateFormat: 'h:MM:ss TT'
+ }
+ },
+ LOGS_TEXT: {
+ AIS_START: 'DEMO AIV started'
+ }
+ })
+]
+}
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 3dbc220..1a2f29b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -11729,6 +11729,11 @@ wcwidth@^1.0.1:
dependencies:
defaults "^1.0.3"
+webpack-auto-inject-version@^1.2.2:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/webpack-auto-inject-version/-/webpack-auto-inject-version-1.2.2.tgz#8fa15f6ea7c4a2a4adcdc5d8b1dc47693dddc971"
+ integrity sha512-duFSWzZe/OY8zyr2DpymzZeY8yI1RSZ9hu9wDwZy/fhxwntgpEzTwyIB/U7ig+FB26mif8xx5zS1E3Co9c5cYA==
+
webpack-bundle-analyzer@^3.8.0:
version "3.9.0"
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz#f6f94db108fb574e415ad313de41a2707d33ef3c"