diff --git a/Gruntfile.js b/Gruntfile.js
index b81f53f44..342cc85e7 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,6 +8,21 @@ module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
exec: {
+ get_nwjs_for_pkg: {
+ command: 'if [ ! -d ./cache/0.19.5-pkg/osx64/nwjs.app ]; then cd ./cache; curl https://dl.nwjs.io/v0.19.5-mas-beta/nwjs-mas-v0.19.5-osx-x64.zip --output nwjs.zip; unzip nwjs.zip; mkdir -p ./0.19.5-pkg/osx64; cp -R ./nwjs-mas-v0.19.5-osx-x64/nwjs.app ./0.19.5-pkg/osx64/; fi'
+ },
+ create_others_dist: {
+ command: 'sh webkitbuilds/create-others-dist.sh "<%= pkg.name %>" "<%= pkg.fullVersion %>" "<%= pkg.nameCaseNoSpace %>" "<%= pkg.title %>"'
+ },
+ create_dmg_dist: {
+ command: 'sh webkitbuilds/create-dmg-dist.sh "<%= pkg.name %>" "<%= pkg.fullVersion %>" "<%= pkg.nameCaseNoSpace %>" "<%= pkg.title %>"'
+ },
+ create_pkg_dist: {
+ command: 'sh webkitbuilds/create-pkg-dist.sh "<%= pkg.name %>" "<%= pkg.fullVersion %>" "<%= pkg.nameCaseNoSpace %>" "<%= pkg.title %>"'
+ },
+ sign_desktop_dist: {
+ command: 'sh webkitbuilds/sign-desktop-dist.sh "<%= pkg.name %>" "<%= pkg.fullVersion %>"'
+ },
appConfig: {
command: 'node ./util/buildAppConfig.js'
},
@@ -20,9 +35,6 @@ module.exports = function(grunt) {
cordovaclean: {
command: 'make -C cordova clean'
},
- macos: {
- command: 'sh webkitbuilds/build-macos.sh sign'
- },
coveralls: {
command: 'cat coverage/report-lcov/lcov.info |./node_modules/coveralls/bin/coveralls.js'
},
@@ -61,7 +73,7 @@ module.exports = function(grunt) {
stdin: true,
},
desktopsign: {
- cmd: 'gpg -u E0AE67E7 --output webkitbuilds/<%= pkg.title %>-linux.zip.sig --detach-sig webkitbuilds/<%= pkg.title %>-linux.zip ; gpg -u E0AE67E7 --output webkitbuilds/<%= pkg.title %>.exe.sig --detach-sig webkitbuilds/<%= pkg.title %>.exe'
+ cmd: 'gpg -u E0AE67E7 --output webkitbuilds/others/<%= pkg.title %>-linux.zip.sig --detach-sig webkitbuilds/others/<%= pkg.title %>-linux.zip ; gpg -u E0AE67E7 --output webkitbuilds/others/<%= pkg.title %>.exe.sig --detach-sig webkitbuilds/others/<%= pkg.title %>.exe'
},
desktopverify: {
cmd: 'gpg --verify webkitbuilds/<%= pkg.title %>-linux.zip.sig webkitbuilds/<%= pkg.title %>-linux.zip; gpg --verify webkitbuilds/<%= pkg.title %>.exe.sig webkitbuilds/<%= pkg.title %>.exe'
@@ -124,6 +136,7 @@ module.exports = function(grunt) {
},
angular: {
src: [
+ 'src/shim/shim.js',
'bower_components/qrcode-generator/js/qrcode.js',
'bower_components/qrcode-generator/js/qrcode_UTF8.js',
'bower_components/moment/min/moment-with-locales.js',
@@ -148,15 +161,33 @@ module.exports = function(grunt) {
],
dest: 'www/lib/bitcoin-cash-js.js'
},
+ bitanalytics: {
+ src: [
+ 'bitanalytics/bitanalytics-0.1.0.js'
+ ],
+ dest: 'www/lib/bitanalytics.js'
+ },
js: {
src: [
'src/js/app.js',
'src/js/routes.js',
+ 'src/js/decorators/*.js',
+
'src/js/directives/*.js',
+ '!src/js/directives/*.spec.js',
+
'src/js/filters/*.js',
+ '!src/js/filters/*.spec.js',
+
'src/js/models/*.js',
+ '!src/js/models/*.spec.js',
+
'src/js/services/*.js',
+ '!src/js/services/*.spec.js',
+
'src/js/controllers/**/*.js',
+ '!src/js/controllers/**/*.spec.js',
+
'src/js/translations.js',
'src/js/appConfig.js',
'src/js/externalServices.js',
@@ -177,7 +208,8 @@ module.exports = function(grunt) {
files: {
'www/js/app.js': ['www/js/app.js'],
'www/lib/angular-components.js': ['www/lib/angular-components.js'],
- 'www/lib/bitcoin-cash-js.js': ['www/lib/bitcoin-cash-js.js']
+ 'www/lib/bitcoin-cash-js.js': ['www/lib/bitcoin-cash-js.js'],
+ 'www/lib/bitanalytics.js': ['www/lib/bitanalytics.js']
}
}
},
@@ -222,38 +254,78 @@ module.exports = function(grunt) {
expand: true,
cwd: 'webkitbuilds/',
src: ['.desktop', '../www/img/app/favicon.ico', '../resources/<%= pkg.name %>/linux/512x512.png'],
- dest: 'webkitbuilds/<%= pkg.title %>/linux64/',
+ dest: 'webkitbuilds/others/<%= pkg.title %>/linux64/',
flatten: true,
filter: 'isFile'
}],
}
},
nwjs: {
- options: {
- appName: '<%= pkg.title %>',
- platforms: ['win64', 'osx64', 'linux64'],
- buildDir: './webkitbuilds',
- version: '0.19.5',
- macIcns: './resources/<%= pkg.name %>/mac/app.icns',
- exeIco: './www/img/app/logo.ico',
- macPlist: {
- 'CFBundleURLTypes': [
- {
- 'CFBundleURLName': 'URI Handler',
- 'CFBundleURLSchemes': ['bitcoin', '<%= pkg.name %>']
- }
- ]
- }
+ others: {
+ options: {
+ appName: '<%= pkg.nameCaseNoSpace %>',
+ platforms: ['win64', 'linux64'],
+ buildDir: './webkitbuilds/others',
+ version: '0.19.5',
+ exeIco: './www/img/app/logo.ico'
+ },
+ src: ['./package.json', './www/**/*']
+ },
+ dmg: {
+ options: {
+ appName: '<%= pkg.nameCaseNoSpace %>',
+ platforms: ['osx64'],
+ buildDir: './webkitbuilds/dmg',
+ version: '0.19.5',
+ macIcns: './resources/<%= pkg.name %>/mac/app.icns',
+ exeIco: './www/img/app/logo.ico',
+ macPlist: {
+ 'CFBundleDisplayName': '<%= pkg.title %>',
+ 'CFBundleShortVersionString': '<%= pkg.version %>',
+ 'CFBundleVersion': '<%= pkg.androidVersion %>',
+ 'LSApplicationCategoryType': 'public.app-category.finance',
+ 'CFBundleURLTypes': [
+ {
+ 'CFBundleURLName': 'URI Handler',
+ 'CFBundleURLSchemes': ['bitcoin', '<%= pkg.name %>']
+ }
+ ]
+ }
+ },
+ src: ['./package.json', './www/**/*']
+ },
+ pkg: {
+ options: {
+ appName: '<%= pkg.nameCaseNoSpace %>',
+ platforms: ['osx64'],
+ buildDir: './webkitbuilds/pkg',
+ version: '0.19.5',
+ macIcns: './resources/<%= pkg.name %>/mac/pkg/app.icns',
+ exeIco: './www/img/app/logo.ico',
+ macPlist: {
+ 'CFBundleIdentifier': 'com.bitcoin.mwallet.mac',
+ 'CFBundleDisplayName': '<%= pkg.title %>',
+ 'CFBundleShortVersionString': '<%= pkg.version %>',
+ 'CFBundleVersion': '<%= pkg.androidVersion %>',
+ 'LSApplicationCategoryType': 'public.app-category.finance',
+ 'CFBundleURLTypes': [
+ {
+ 'CFBundleURLName': 'URI Handler',
+ 'CFBundleURLSchemes': ['bitcoin', '<%= pkg.name %>']
+ }
+ ]
+ }
+ },
+ src: ['./package.json', './www/**/*']
},
- src: ['./package.json', './www/**/*']
},
compress: {
linux: {
options: {
- archive: './webkitbuilds/<%= pkg.title %>-linux.zip'
+ archive: './webkitbuilds/others/<%= pkg.title %>-linux.zip'
},
expand: true,
- cwd: './webkitbuilds/<%= pkg.title %>/linux64/',
+ cwd: './webkitbuilds/others/<%= pkg.title %>/linux64/',
src: ['**/*'],
dest: '<%= pkg.title %>-linux/'
}
@@ -272,9 +344,6 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['nggettext_compile', 'exec:appConfig', 'exec:externalServices', 'browserify', 'sass', 'concat', 'copy:ionic_fonts', 'copy:ionic_js']);
grunt.registerTask('prod', ['default', 'uglify']);
grunt.registerTask('translate', ['nggettext_extract']);
- grunt.registerTask('desktop', ['prod', 'nwjs', 'copy:linux', 'compress:linux']);
- grunt.registerTask('osx', ['prod', 'nwjs', 'exec:macos', 'exec:osxsign']);
- grunt.registerTask('osx-debug', ['default', 'nwjs']);
grunt.registerTask('chrome', ['default','exec:chrome']);
grunt.registerTask('wp', ['prod', 'exec:wp']);
grunt.registerTask('wp-copy', ['default', 'exec:wpcopy']);
@@ -286,6 +355,23 @@ module.exports = function(grunt) {
grunt.registerTask('android-debug', ['exec:androiddebug', 'exec:androidrun']);
grunt.registerTask('android', ['exec:android']);
grunt.registerTask('android-release', ['prod', 'exec:android', 'exec:androidsign']);
- grunt.registerTask('desktopsign', ['exec:desktopsign', 'exec:desktopverify']);
+ grunt.registerTask('desktopsign', ['exec:desktopsign', 'exec:desktopverify']);
+ // Build desktop
+ grunt.registerTask('desktop-build', ['desktop-others', 'desktop-osx-dmg', 'desktop-osx-pkg']);
+
+ // Build desktop win64 & linux64
+ grunt.registerTask('desktop-others', ['prod', 'nwjs:others', 'copy:linux', 'exec:create_others_dist']);
+
+ // Build desktop osx pkg
+ grunt.registerTask('desktop-osx-pkg', ['prod', 'exec:get_nwjs_for_pkg', 'nwjs:pkg', 'exec:create_pkg_dist']);
+
+ // Build desktop osx dmg
+ grunt.registerTask('desktop-osx-dmg', ['prod', 'nwjs:dmg', 'exec:create_dmg_dist']);
+
+ // Sign desktop
+ grunt.registerTask('desktop-sign', ['exec:sign_desktop_dist']);
+
+ // Release desktop
+ grunt.registerTask('desktop-release', ['desktop-build', 'desktop-sign']);
};
diff --git a/app-template/apply.js b/app-template/apply.js
index 1aaee94de..143cf57a8 100755
--- a/app-template/apply.js
+++ b/app-template/apply.js
@@ -11,7 +11,10 @@ var templates = {
'ionic.config.json': '/',
'.desktop': 'webkitbuilds/',
'setup-win.iss': 'webkitbuilds/',
- 'build-macos.sh': 'webkitbuilds/',
+ 'create-dmg-dist.sh': 'webkitbuilds/',
+ 'create-others-dist.sh': 'webkitbuilds/',
+ 'create-pkg-dist.sh': 'webkitbuilds/',
+ 'sign-desktop-dist.sh': 'webkitbuilds/',
'manifest.json': 'chrome-app/',
// 'bower.json': '/',
};
diff --git a/app-template/bitcoincom/appConfig.json b/app-template/bitcoincom/appConfig.json
index 2c9f4308e..084a586ce 100644
--- a/app-template/bitcoincom/appConfig.json
+++ b/app-template/bitcoincom/appConfig.json
@@ -2,7 +2,7 @@
"packageName": "bitcoin.com",
"packageDescription": "Bitcoin.com Wallet",
"packageNameId": "com.bitcoin.mwallet",
- "userVisibleName": "Bitcoin.com",
+ "userVisibleName": "Bitcoin.com Wallet",
"purposeLine": "Bitcoin.com Wallet",
"bundleName": "bitcoincom",
"appUri": "bitcoincom",
@@ -18,15 +18,15 @@
"appDescription": "Bitcoin.com Wallet",
"winAppName": "BitcoinWallet",
"WindowsStoreIdentityName": "18C7659D.Bitcoin.com-SecureBitcoinWallet",
- "WindowsStoreDisplayName": "Bitcoin.com - Secure Bitcoin Wallet",
+ "WindowsStoreDisplayName": "Bitcoin.com Wallet",
"wpPublisherId": "{31cdd08b-457c-413d-b440-f6665eec847d}",
"wpProductId": "{5381aa50-9069-11e4-84cc-293caf9cbdc8}",
"windowsAppId": "804636ee-b017-4cad-8719-e58ac97ffa5c",
"pushSenderId": "1036948132229",
"description": "A Secure Bitcoin Wallet",
- "version": "4.11.1",
- "fullVersion": "4.11-hotfix1",
- "androidVersion": "411100",
+ "version": "4.13.2",
+ "fullVersion": "4.13-rc3",
+ "androidVersion": "413200",
"_extraCSS": "",
"_enabledExtensions": {
"coinbase": false,
diff --git a/app-template/config-template.xml b/app-template/config-template.xml
index 8031c8110..1c7f5a30a 100644
--- a/app-template/config-template.xml
+++ b/app-template/config-template.xml
@@ -72,6 +72,9 @@
+
+
+
diff --git a/app-template/build-macos.sh b/app-template/create-dmg-dist.sh
old mode 100755
new mode 100644
similarity index 84%
rename from app-template/build-macos.sh
rename to app-template/create-dmg-dist.sh
index 5f09bd0b2..5b004e66a
--- a/app-template/build-macos.sh
+++ b/app-template/create-dmg-dist.sh
@@ -1,11 +1,5 @@
#!/bin/bash
-SHOULD_SIGN=$1
-if [ "$SHOULD_SIGN" ]
-then
- echo "Will sign the APP"
-fi
-
# by Andy Maloney
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
@@ -16,21 +10,25 @@ if [ -d "$dir" ]; then
fi
# set up your app name, architecture, and background image file name
-APP_NAME="*USERVISIBLENAME*"
+APP_PACKAGE=$1
+APP_VERSION=$2
+APP_NAME=$3
+APP_FULLNAME=$4
+
rm dmg-background.tiff
-ln -s ../resources/*PACKAGENAME*/mac/dmg-background.tiff dmg-background.tiff
+ln -s ../resources/bitcoin.com/mac/dmg-background.tiff dmg-background.tiff
rm volume-icon.icns
-ln -s ../resources/*PACKAGENAME*/mac/volume-icon.icns volume-icon.icns
+ln -s ../resources/bitcoin.com/mac/volume-icon.icns volume-icon.icns
DMG_VOLUME_ICON="volume-icon.icns"
DMG_BACKGROUND_IMG="dmg-background.tiff"
-PATH_NAME="${APP_NAME}/osx64/"
+PATH_NAME="dmg/${APP_NAME}/osx64/"
# you should not need to change these
APP_EXE="${PATH_NAME}${APP_NAME}.app/Contents/MacOS/nwjs"
VOL_NAME="${APP_NAME}"
-DMG_TMP="${VOL_NAME}-temp.dmg"
-DMG_FINAL="${VOL_NAME}.dmg"
+DMG_TMP="dmg/${VOL_NAME}-temp.dmg"
+DMG_FINAL="dmg/${VOL_NAME}.dmg"
STAGING_DIR="tmp"
# Check the background image DPI and convert it if it isn't 72x72
@@ -66,25 +64,6 @@ SIZE=250
if [ $? -ne 0 ]; then
echo "Error: Cannot compute size of staging dir"
exit
- fi
-
-# Sign Code (MATIAS)
-if [ $SHOULD_SIGN ]
-then
- echo "Signing ${APP_NAME} DMG"
-
- export IDENTITY="3rd Party Mac Developer Application: BitPay, Inc. (884JRH5R93)"
-
- # not need for 'out of app store' distribution (?)
-# export PARENT_PLIST=parent.plist
-# export CHILD_PLIST=child.plist
- export APP_PATH=${STAGING_DIR}/${APP_NAME}.app
-
- codesign --deep -s "${IDENTITY}" $APP_PATH"/Contents/Versions/52.0.2743.82/nwjs Helper.app" && echo "Sign 1"
- codesign --deep -s "${IDENTITY}" $APP_PATH"/Contents/Versions/52.0.2743.82/nwjs Framework.framework/Resources/app_mode_loader.app" && echo "Sign 2"
- codesign --deep -s "${IDENTITY}" $APP_PATH && echo "Sign 3"
- echo "Signing Done"
-
fi
# create the temp DMG file
@@ -175,6 +154,14 @@ hdiutil detach "${DEVICE}"
echo "Creating compressed image"
hdiutil convert "${DMG_TMP}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FINAL}"
+export DIST_PATH="dist"
+
+if [ ! -d $DIST_PATH ]; then
+ mkdir $DIST_PATH
+fi
+
+cp -vR "${DMG_FINAL}" "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.dmg"
+
# clean up
rm -rf "${DMG_TMP}"
rm -rf "${STAGING_DIR}"
diff --git a/app-template/create-others-dist.sh b/app-template/create-others-dist.sh
new file mode 100644
index 000000000..c9244b3ba
--- /dev/null
+++ b/app-template/create-others-dist.sh
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+# make sure we are in the correct dir when we double-click a .command file
+dir=${0%/*}
+if [ -d "$dir" ]; then
+ cd "$dir"
+fi
+
+# set up your app name, architecture, and background image file name
+APP_PACKAGE=$1
+APP_VERSION=$2
+APP_NAME=$3
+APP_FULLNAME=$4
+
+export APP_LINUX_PATH="others/${APP_NAME}/linux64"
+export APP_WIN_PATH="others/${APP_NAME}/win64"
+export DIST_PATH="dist"
+
+if [ ! -d $DIST_PATH ]; then
+ mkdir $DIST_PATH
+fi
+
+##
+# LINUX
+
+echo "Building Linux..."
+
+# Building package
+cp -R $APP_LINUX_PATH bitcoin-com-wallet
+tar -cvzf "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-linux-x64.tar.gz" bitcoin-com-wallet
+
+# Clean
+rm -R bitcoin-com-wallet
+
+echo "Linux Done."
+
+
+##
+# WINDOWS
+
+echo "Building Windows..."
+
+# Building package
+cp -R $APP_WIN_PATH bitcoin-com-wallet
+zip -r "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-win-x64.zip" bitcoin-com-wallet
+
+# Clean
+rm -R bitcoin-com-wallet
+
+echo "Windows Done."
+
+echo "Done."
+
+exit
diff --git a/app-template/create-pkg-dist.sh b/app-template/create-pkg-dist.sh
new file mode 100644
index 000000000..c0b4d266d
--- /dev/null
+++ b/app-template/create-pkg-dist.sh
@@ -0,0 +1,45 @@
+#!/bin/bash
+
+# make sure we are in the correct dir when we double-click a .command file
+dir=${0%/*}
+if [ -d "$dir" ]; then
+ cd "$dir"
+fi
+
+# set up your app name, architecture, and background image file name
+APP_PACKAGE=$1
+APP_VERSION=$2
+APP_NAME=$3
+APP_FULLNAME=$4
+
+rm entitlements-child.plist
+ln -s ../resources/bitcoin.com/mac/pkg/entitlements-child.plist entitlements-child.plist
+
+rm entitlements-parent.plist
+ln -s ../resources/bitcoin.com/mac/pkg/entitlements-parent.plist entitlements-parent.plist
+
+rm build.cfg
+ln -s ../resources/bitcoin.com/mac/pkg/build.cfg build.cfg
+
+rm build_mas.py
+ln -s ../resources/bitcoin.com/mac/pkg/build_mas.py build_mas.py
+
+echo "Signing ${APP_NAME}"
+export APP_PATH="pkg/${APP_NAME}/osx64/${APP_NAME}"
+export TMP_PATH="tmp"
+export DIST_PATH="dist"
+
+rm -rf $TMP_PATH
+mkdir $TMP_PATH
+
+if [ ! -d $DIST_PATH ]; then
+ mkdir $DIST_PATH
+fi
+
+python build_mas.py -C build.cfg -O "${TMP_PATH}/${APP_NAME}.app" -I "${APP_PATH}.app" -P "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.pkg"
+
+echo "Signing Done"
+
+echo "Done."
+
+exit
diff --git a/app-template/index.html b/app-template/index.html
index 2946d7928..fe5262f52 100644
--- a/app-template/index.html
+++ b/app-template/index.html
@@ -11,7 +11,7 @@
-
*USERVISIBLENAME* - *PURPOSELINE*
+ *USERVISIBLENAME*
@@ -31,6 +31,7 @@
+
diff --git a/app-template/package-template.json b/app-template/package-template.json
index 7da26ce31..232ac7e1f 100644
--- a/app-template/package-template.json
+++ b/app-template/package-template.json
@@ -3,6 +3,7 @@
"description": "*DESCRIPTION*",
"author": "BitPay",
"version": "*VERSION*",
+ "androidVersion": "*ANDROIDVERSION*",
"fullVersion": "*FULLVERSION*",
"keywords": [
"bitcoin",
@@ -14,8 +15,9 @@
],
"main": "www/index.html",
"title": "*USERVISIBLENAME*",
+ "nameCaseNoSpace": "*NAMECASENOSPACE*",
"window": {
- "title": "*USERVISIBLENAME* - *PURPOSELINE*",
+ "title": "*USERVISIBLENAME*",
"icon": "www/img/app/icon.png",
"toolbar": false,
"show": true,
@@ -69,6 +71,8 @@
"grunt-angular-gettext": "^2.2.3",
"grunt-browserify": "^5.0.0",
"grunt-cli": "^1.2.0",
+ "grunt-curl": "^2.4.1",
+ "grunt-zip": "^0.17.1",
"grunt-contrib-compress": "^1.3.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
@@ -85,6 +89,7 @@
"scripts": {
"postinstall": "bower install",
"start": "npm run build:www && ionic serve --nolivereload --nogulp -s --address 0.0.0.0",
+ "start:chrome": "npm run build:www && ionic serve --nolivereload --nogulp -s --address 0.0.0.0 --browser \"google chrome\"",
"start:ios": "npm run build:www && npm run build:ios && npm run open:ios",
"start:android": "npm run build:www && npm run build:android && npm run run:android",
"start:windows": "npm run build:www && npm run build:windows",
@@ -98,23 +103,27 @@
"build:ios-release": "cordova prepare ios && cordova build ios --release",
"build:android-release": "cordova prepare android && cordova build android --release",
"build:windows-release": "cordova prepare windows && cordova build windows --release --arch=\"ARM\"",
- "build:desktop": "grunt desktop",
- "build:osx": "grunt osx",
+ "build:desktop-release": "grunt desktop-release",
+ "build:desktop": "grunt desktop-build",
+ "build:osx-pkg": "grunt desktop-osx-pkg",
+ "build:osx-dmg": "grunt desktop-osx-dmg",
+ "build:others": "grunt desktop-others",
+ "sign:desktop": "grunt desktop-sign",
"open:ios": "open platforms/ios/*.xcodeproj",
"open:android": "open -a open -a /Applications/Android\\ Studio.app platforms/android",
"final:www": "npm run build:www-release",
"final:ios": "npm run final:www && npm run build:ios-release && npm run open:ios",
"final:android": "npm run final:www && npm run build:android-release && npm run sign:android && npm run run:android-release",
"final:windows": "npm run final:www && npm run build:windows-release",
- "final:desktop": "npm run build:desktop && npm run build:osx",
+ "final:desktop": "npm run final:www && npm run build:desktop-release",
"run:android": "cordova run android --device",
"run:android-release": "cordova run android --device --release",
"log:android": "adb logcat | grep chromium",
"sign:android": "rm -f platforms/android/build/outputs/apk/android-release-signed-aligned.apk; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../bitcoin-com-release-key.jks -signedjar platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-unsigned.apk bitcoin-com && $ANDROID_HOME/build-tools/27.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-signed-aligned.apk",
"apply:copay": "npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare",
"apply:bitpay": "npm i fs-extra && cd app-template && node apply.js bitpay && npm i && cordova prepare",
- "apply:bitcoincom": "npm i fs-extra && cd app-template && node apply.js bitcoincom && npm i && cordova prepare",
- "test": "echo \"no package tests configured\"",
+ "apply:bitcoincom": "npm i fs-extra && cd app-template && node apply.js bitcoincom && npm i && cordova prepare",
+ "test": "karma start test/karma.conf.js --single-run",
"clean": "trash platforms && trash plugins && cordova prepare",
"unstage-package": "git reset package.json",
"clean-all": "git clean -dfx"
@@ -123,6 +132,10 @@
"cordova": "^6.3.1",
"grunt": "^1.0.1",
"ionic": "^3.6.0",
+ "jasmine-core": "^3.1.0",
+ "karma": "^2.0.2",
+ "karma-chrome-launcher": "^2.2.0",
+ "karma-jasmine": "^1.1.2",
"trash-cli": "^1.4.0",
"lodash": "^4.17.4",
"pre-commit": "^1.1.3"
diff --git a/app-template/sign-desktop-dist.sh b/app-template/sign-desktop-dist.sh
new file mode 100644
index 000000000..e1e5c603c
--- /dev/null
+++ b/app-template/sign-desktop-dist.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+# make sure we are in the correct dir when we double-click a .command file
+dir=${0%/*}
+if [ -d "$dir" ]; then
+ cd "$dir"
+fi
+
+APP_PACKAGE=$1
+APP_VERSION=$2
+export DIST_PATH="dist"
+
+##
+# INIT GPG (YOU NEED THE PRIVATE KEY CONNECTED TO YOUR DESKTOP)
+# gpg --card-edit
+
+##
+# LINUX
+
+# Sig tar.gz
+gpg --yes --output "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-linux-x64.tar.gz.sig" --detach-sig "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-linux-x64.tar.gz"
+gpg --verify "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-linux-x64.tar.gz.sig" "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-linux-x64.tar.gz"
+
+##
+# WINDOWS
+
+# Sig zip
+gpg --yes --output "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-win-x64.zip.sig" --detach-sig "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-win-x64.zip"
+gpg --verify "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-win-x64.zip.sig" "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-win-x64.zip"
+
+##
+# OSX
+
+# Sig dmg
+gpg --yes --output "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.dmg.sig" --detach-sig "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.dmg"
+gpg --verify "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.dmg.sig" "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.dmg"
+
+# Sig pkg
+gpg --yes --output "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.pkg.sig" --detach-sig "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.pkg"
+gpg --verify "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.pkg.sig" "$DIST_PATH/${APP_PACKAGE}-wallet-${APP_VERSION}-osx.pkg"
\ No newline at end of file
diff --git a/bitanalytics/bitanalytics-0.1.0.js b/bitanalytics/bitanalytics-0.1.0.js
new file mode 100644
index 000000000..db149e481
--- /dev/null
+++ b/bitanalytics/bitanalytics-0.1.0.js
@@ -0,0 +1,6885 @@
+(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.bitanalytics = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i /g, '>')
+ .replace(/"/g, '"')
+ .replace(/'/g, ''');
+ }
+ return escaped;
+};
+
+_.extend = function(obj) {
+ _.each(slice.call(arguments, 1), function(source) {
+ for (var prop in source) {
+ if (source[prop] !== void 0) {
+ obj[prop] = source[prop];
+ }
+ }
+ });
+ return obj;
+};
+
+_.isArray = nativeIsArray || function(obj) {
+ return toString.call(obj) === '[object Array]';
+};
+
+// from a comment on http://dbj.org/dbj/?p=286
+// fails on only one very rare and deliberate custom object:
+// var bomb = { toString : undefined, valueOf: function(o) { return "function BOMBA!"; }};
+_.isFunction = function(f) {
+ try {
+ return /^\s*\bfunction\b/.test(f);
+ } catch (x) {
+ return false;
+ }
+};
+
+_.isArguments = function(obj) {
+ return !!(obj && hasOwnProperty.call(obj, 'callee'));
+};
+
+_.toArray = function(iterable) {
+ if (!iterable) {
+ return [];
+ }
+ if (iterable.toArray) {
+ return iterable.toArray();
+ }
+ if (_.isArray(iterable)) {
+ return slice.call(iterable);
+ }
+ if (_.isArguments(iterable)) {
+ return slice.call(iterable);
+ }
+ return _.values(iterable);
+};
+
+_.keys = function(obj) {
+ var results = [];
+ if (obj === null) {
+ return results;
+ }
+ _.each(obj, function(value, key) {
+ results[results.length] = key;
+ });
+ return results;
+};
+
+_.values = function(obj) {
+ var results = [];
+ if (obj === null) {
+ return results;
+ }
+ _.each(obj, function(value) {
+ results[results.length] = value;
+ });
+ return results;
+};
+
+_.identity = function(value) {
+ return value;
+};
+
+_.include = function(obj, target) {
+ var found = false;
+ if (obj === null) {
+ return found;
+ }
+ if (nativeIndexOf && obj.indexOf === nativeIndexOf) {
+ return obj.indexOf(target) != -1;
+ }
+ _.each(obj, function(value) {
+ if (found || (found = (value === target))) {
+ return breaker;
+ }
+ });
+ return found;
+};
+
+_.includes = function(str, needle) {
+ return str.indexOf(needle) !== -1;
+};
+
+// Underscore Addons
+_.inherit = function(subclass, superclass) {
+ subclass.prototype = new superclass();
+ subclass.prototype.constructor = subclass;
+ subclass.superclass = superclass.prototype;
+ return subclass;
+};
+
+_.isObject = function(obj) {
+ return (obj === Object(obj) && !_.isArray(obj));
+};
+
+_.isEmptyObject = function(obj) {
+ if (_.isObject(obj)) {
+ for (var key in obj) {
+ if (hasOwnProperty.call(obj, key)) {
+ return false;
+ }
+ }
+ return true;
+ }
+ return false;
+};
+
+_.isUndefined = function(obj) {
+ return obj === void 0;
+};
+
+_.isString = function(obj) {
+ return toString.call(obj) == '[object String]';
+};
+
+_.isDate = function(obj) {
+ return toString.call(obj) == '[object Date]';
+};
+
+_.isNumber = function(obj) {
+ return toString.call(obj) == '[object Number]';
+};
+
+_.isElement = function(obj) {
+ return !!(obj && obj.nodeType === 1);
+};
+
+_.encodeDates = function(obj) {
+ _.each(obj, function(v, k) {
+ if (_.isDate(v)) {
+ obj[k] = _.formatDate(v);
+ } else if (_.isObject(v)) {
+ obj[k] = _.encodeDates(v); // recurse
+ }
+ });
+ return obj;
+};
+
+_.timestamp = function() {
+ Date.now = Date.now || function() {
+ return +new Date;
+ };
+ return Date.now();
+};
+
+_.formatDate = function(d) {
+ // YYYY-MM-DDTHH:MM:SS in UTC
+ function pad(n) {
+ return n < 10 ? '0' + n : n;
+ }
+ return d.getUTCFullYear() + '-' +
+ pad(d.getUTCMonth() + 1) + '-' +
+ pad(d.getUTCDate()) + 'T' +
+ pad(d.getUTCHours()) + ':' +
+ pad(d.getUTCMinutes()) + ':' +
+ pad(d.getUTCSeconds());
+};
+
+_.safewrap = function(f) {
+ return function() {
+ try {
+ return f.apply(this, arguments);
+ } catch (e) {
+ console$1.critical('Implementation error. Please turn on debug and contact support@mixpanel.com.');
+ if (Config.DEBUG){
+ console$1.critical(e);
+ }
+ }
+ };
+};
+
+_.safewrap_class = function(klass, functions) {
+ for (var i = 0; i < functions.length; i++) {
+ klass.prototype[functions[i]] = _.safewrap(klass.prototype[functions[i]]);
+ }
+};
+
+_.safewrap_instance_methods = function(obj) {
+ for (var func in obj) {
+ if (typeof(obj[func]) === 'function') {
+ obj[func] = _.safewrap(obj[func]);
+ }
+ }
+};
+
+_.strip_empty_properties = function(p) {
+ var ret = {};
+ _.each(p, function(v, k) {
+ if (_.isString(v) && v.length > 0) {
+ ret[k] = v;
+ }
+ });
+ return ret;
+};
+
+/*
+ * this function returns a copy of object after truncating it. If
+ * passed an Array or Object it will iterate through obj and
+ * truncate all the values recursively.
+ */
+_.truncate = function(obj, length) {
+ var ret;
+
+ if (typeof(obj) === 'string') {
+ ret = obj.slice(0, length);
+ } else if (_.isArray(obj)) {
+ ret = [];
+ _.each(obj, function(val) {
+ ret.push(_.truncate(val, length));
+ });
+ } else if (_.isObject(obj)) {
+ ret = {};
+ _.each(obj, function(val, key) {
+ ret[key] = _.truncate(val, length);
+ });
+ } else {
+ ret = obj;
+ }
+
+ return ret;
+};
+
+_.JSONEncode = (function() {
+ return function(mixed_val) {
+ var value = mixed_val;
+ var quote = function(string) {
+ var escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; // eslint-disable-line no-control-regex
+ var meta = { // table of character substitutions
+ '\b': '\\b',
+ '\t': '\\t',
+ '\n': '\\n',
+ '\f': '\\f',
+ '\r': '\\r',
+ '"': '\\"',
+ '\\': '\\\\'
+ };
+
+ escapable.lastIndex = 0;
+ return escapable.test(string) ?
+ '"' + string.replace(escapable, function(a) {
+ var c = meta[a];
+ return typeof c === 'string' ? c :
+ '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ }) + '"' :
+ '"' + string + '"';
+ };
+
+ var str = function(key, holder) {
+ var gap = '';
+ var indent = ' ';
+ var i = 0; // The loop counter.
+ var k = ''; // The member key.
+ var v = ''; // The member value.
+ var length = 0;
+ var mind = gap;
+ var partial = [];
+ var value = holder[key];
+
+ // If the value has a toJSON method, call it to obtain a replacement value.
+ if (value && typeof value === 'object' &&
+ typeof value.toJSON === 'function') {
+ value = value.toJSON(key);
+ }
+
+ // What happens next depends on the value's type.
+ switch (typeof value) {
+ case 'string':
+ return quote(value);
+
+ case 'number':
+ // JSON numbers must be finite. Encode non-finite numbers as null.
+ return isFinite(value) ? String(value) : 'null';
+
+ case 'boolean':
+ case 'null':
+ // If the value is a boolean or null, convert it to a string. Note:
+ // typeof null does not produce 'null'. The case is included here in
+ // the remote chance that this gets fixed someday.
+
+ return String(value);
+
+ case 'object':
+ // If the type is 'object', we might be dealing with an object or an array or
+ // null.
+ // Due to a specification blunder in ECMAScript, typeof null is 'object',
+ // so watch out for that case.
+ if (!value) {
+ return 'null';
+ }
+
+ // Make an array to hold the partial results of stringifying this object value.
+ gap += indent;
+ partial = [];
+
+ // Is the value an array?
+ if (toString.apply(value) === '[object Array]') {
+ // The value is an array. Stringify every element. Use null as a placeholder
+ // for non-JSON values.
+
+ length = value.length;
+ for (i = 0; i < length; i += 1) {
+ partial[i] = str(i, value) || 'null';
+ }
+
+ // Join all of the elements together, separated with commas, and wrap them in
+ // brackets.
+ v = partial.length === 0 ? '[]' :
+ gap ? '[\n' + gap +
+ partial.join(',\n' + gap) + '\n' +
+ mind + ']' :
+ '[' + partial.join(',') + ']';
+ gap = mind;
+ return v;
+ }
+
+ // Iterate through all of the keys in the object.
+ for (k in value) {
+ if (hasOwnProperty.call(value, k)) {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+
+ // Join all of the member texts together, separated with commas,
+ // and wrap them in braces.
+ v = partial.length === 0 ? '{}' :
+ gap ? '{' + partial.join(',') + '' +
+ mind + '}' : '{' + partial.join(',') + '}';
+ gap = mind;
+ return v;
+ }
+ };
+
+ // Make a fake root object containing our value under the key of ''.
+ // Return the result of stringifying the value.
+ return str('', {
+ '': value
+ });
+ };
+})();
+
+/**
+ * From https://github.com/douglascrockford/JSON-js/blob/master/json_parse.js
+ * Slightly modified to throw a real Error rather than a POJO
+ */
+_.JSONDecode = (function() {
+ var at, // The index of the current character
+ ch, // The current character
+ escapee = {
+ '"': '"',
+ '\\': '\\',
+ '/': '/',
+ 'b': '\b',
+ 'f': '\f',
+ 'n': '\n',
+ 'r': '\r',
+ 't': '\t'
+ },
+ text,
+ error = function(m) {
+ var e = new SyntaxError(m);
+ e.at = at;
+ e.text = text;
+ throw e;
+ },
+ next = function(c) {
+ // If a c parameter is provided, verify that it matches the current character.
+ if (c && c !== ch) {
+ error('Expected \'' + c + '\' instead of \'' + ch + '\'');
+ }
+ // Get the next character. When there are no more characters,
+ // return the empty string.
+ ch = text.charAt(at);
+ at += 1;
+ return ch;
+ },
+ number = function() {
+ // Parse a number value.
+ var number,
+ string = '';
+
+ if (ch === '-') {
+ string = '-';
+ next('-');
+ }
+ while (ch >= '0' && ch <= '9') {
+ string += ch;
+ next();
+ }
+ if (ch === '.') {
+ string += '.';
+ while (next() && ch >= '0' && ch <= '9') {
+ string += ch;
+ }
+ }
+ if (ch === 'e' || ch === 'E') {
+ string += ch;
+ next();
+ if (ch === '-' || ch === '+') {
+ string += ch;
+ next();
+ }
+ while (ch >= '0' && ch <= '9') {
+ string += ch;
+ next();
+ }
+ }
+ number = +string;
+ if (!isFinite(number)) {
+ error('Bad number');
+ } else {
+ return number;
+ }
+ },
+
+ string = function() {
+ // Parse a string value.
+ var hex,
+ i,
+ string = '',
+ uffff;
+ // When parsing for string values, we must look for " and \ characters.
+ if (ch === '"') {
+ while (next()) {
+ if (ch === '"') {
+ next();
+ return string;
+ }
+ if (ch === '\\') {
+ next();
+ if (ch === 'u') {
+ uffff = 0;
+ for (i = 0; i < 4; i += 1) {
+ hex = parseInt(next(), 16);
+ if (!isFinite(hex)) {
+ break;
+ }
+ uffff = uffff * 16 + hex;
+ }
+ string += String.fromCharCode(uffff);
+ } else if (typeof escapee[ch] === 'string') {
+ string += escapee[ch];
+ } else {
+ break;
+ }
+ } else {
+ string += ch;
+ }
+ }
+ }
+ error('Bad string');
+ },
+ white = function() {
+ // Skip whitespace.
+ while (ch && ch <= ' ') {
+ next();
+ }
+ },
+ word = function() {
+ // true, false, or null.
+ switch (ch) {
+ case 't':
+ next('t');
+ next('r');
+ next('u');
+ next('e');
+ return true;
+ case 'f':
+ next('f');
+ next('a');
+ next('l');
+ next('s');
+ next('e');
+ return false;
+ case 'n':
+ next('n');
+ next('u');
+ next('l');
+ next('l');
+ return null;
+ }
+ error('Unexpected "' + ch + '"');
+ },
+ value, // Placeholder for the value function.
+ array = function() {
+ // Parse an array value.
+ var array = [];
+
+ if (ch === '[') {
+ next('[');
+ white();
+ if (ch === ']') {
+ next(']');
+ return array; // empty array
+ }
+ while (ch) {
+ array.push(value());
+ white();
+ if (ch === ']') {
+ next(']');
+ return array;
+ }
+ next(',');
+ white();
+ }
+ }
+ error('Bad array');
+ },
+ object = function() {
+ // Parse an object value.
+ var key,
+ object = {};
+
+ if (ch === '{') {
+ next('{');
+ white();
+ if (ch === '}') {
+ next('}');
+ return object; // empty object
+ }
+ while (ch) {
+ key = string();
+ white();
+ next(':');
+ if (Object.hasOwnProperty.call(object, key)) {
+ error('Duplicate key "' + key + '"');
+ }
+ object[key] = value();
+ white();
+ if (ch === '}') {
+ next('}');
+ return object;
+ }
+ next(',');
+ white();
+ }
+ }
+ error('Bad object');
+ };
+
+ value = function() {
+ // Parse a JSON value. It could be an object, an array, a string,
+ // a number, or a word.
+ white();
+ switch (ch) {
+ case '{':
+ return object();
+ case '[':
+ return array();
+ case '"':
+ return string();
+ case '-':
+ return number();
+ default:
+ return ch >= '0' && ch <= '9' ? number() : word();
+ }
+ };
+
+ // Return the json_parse function. It will have access to all of the
+ // above functions and variables.
+ return function(source) {
+ var result;
+
+ text = source;
+ at = 0;
+ ch = ' ';
+ result = value();
+ white();
+ if (ch) {
+ error('Syntax error');
+ }
+
+ return result;
+ };
+})();
+
+_.base64Encode = function(data) {
+ var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
+ var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,
+ ac = 0,
+ enc = '',
+ tmp_arr = [];
+
+ if (!data) {
+ return data;
+ }
+
+ data = _.utf8Encode(data);
+
+ do { // pack three octets into four hexets
+ o1 = data.charCodeAt(i++);
+ o2 = data.charCodeAt(i++);
+ o3 = data.charCodeAt(i++);
+
+ bits = o1 << 16 | o2 << 8 | o3;
+
+ h1 = bits >> 18 & 0x3f;
+ h2 = bits >> 12 & 0x3f;
+ h3 = bits >> 6 & 0x3f;
+ h4 = bits & 0x3f;
+
+ // use hexets to index into b64, and append result to encoded string
+ tmp_arr[ac++] = b64.charAt(h1) + b64.charAt(h2) + b64.charAt(h3) + b64.charAt(h4);
+ } while (i < data.length);
+
+ enc = tmp_arr.join('');
+
+ switch (data.length % 3) {
+ case 1:
+ enc = enc.slice(0, -2) + '==';
+ break;
+ case 2:
+ enc = enc.slice(0, -1) + '=';
+ break;
+ }
+
+ return enc;
+};
+
+_.utf8Encode = function(string) {
+ string = (string + '').replace(/\r\n/g, '\n').replace(/\r/g, '\n');
+
+ var utftext = '',
+ start,
+ end;
+ var stringl = 0,
+ n;
+
+ start = end = 0;
+ stringl = string.length;
+
+ for (n = 0; n < stringl; n++) {
+ var c1 = string.charCodeAt(n);
+ var enc = null;
+
+ if (c1 < 128) {
+ end++;
+ } else if ((c1 > 127) && (c1 < 2048)) {
+ enc = String.fromCharCode((c1 >> 6) | 192, (c1 & 63) | 128);
+ } else {
+ enc = String.fromCharCode((c1 >> 12) | 224, ((c1 >> 6) & 63) | 128, (c1 & 63) | 128);
+ }
+ if (enc !== null) {
+ if (end > start) {
+ utftext += string.substring(start, end);
+ }
+ utftext += enc;
+ start = end = n + 1;
+ }
+ }
+
+ if (end > start) {
+ utftext += string.substring(start, string.length);
+ }
+
+ return utftext;
+};
+
+_.UUID = (function() {
+
+ // Time/ticks information
+ // 1*new Date() is a cross browser version of Date.now()
+ var T = function() {
+ var d = 1 * new Date(),
+ i = 0;
+
+ // this while loop figures how many browser ticks go by
+ // before 1*new Date() returns a new number, ie the amount
+ // of ticks that go by per millisecond
+ while (d == 1 * new Date()) {
+ i++;
+ }
+
+ return d.toString(16) + i.toString(16);
+ };
+
+ // Math.Random entropy
+ var R = function() {
+ return Math.random().toString(16).replace('.', '');
+ };
+
+ // User agent entropy
+ // This function takes the user agent string, and then xors
+ // together each sequence of 8 bytes. This produces a final
+ // sequence of 8 bytes which it returns as hex.
+ var UA = function() {
+ var ua = userAgent,
+ i, ch, buffer = [],
+ ret = 0;
+
+ function xor(result, byte_array) {
+ var j, tmp = 0;
+ for (j = 0; j < byte_array.length; j++) {
+ tmp |= (buffer[j] << j * 8);
+ }
+ return result ^ tmp;
+ }
+
+ for (i = 0; i < ua.length; i++) {
+ ch = ua.charCodeAt(i);
+ buffer.unshift(ch & 0xFF);
+ if (buffer.length >= 4) {
+ ret = xor(ret, buffer);
+ buffer = [];
+ }
+ }
+
+ if (buffer.length > 0) {
+ ret = xor(ret, buffer);
+ }
+
+ return ret.toString(16);
+ };
+
+ return function() {
+ var se = (screen.height * screen.width).toString(16);
+ return (T() + '-' + R() + '-' + UA() + '-' + se + '-' + T());
+ };
+})();
+
+// _.isBlockedUA()
+// This is to block various web spiders from executing our JS and
+// sending false tracking data
+_.isBlockedUA = function(ua) {
+ if (/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp)/i.test(ua)) {
+ return true;
+ }
+ return false;
+};
+
+/**
+ * @param {Object=} formdata
+ * @param {string=} arg_separator
+ */
+_.HTTPBuildQuery = function(formdata, arg_separator) {
+ var use_val, use_key, tmp_arr = [];
+
+ if (_.isUndefined(arg_separator)) {
+ arg_separator = '&';
+ }
+
+ _.each(formdata, function(val, key) {
+ use_val = encodeURIComponent(val.toString());
+ use_key = encodeURIComponent(key);
+ tmp_arr[tmp_arr.length] = use_key + '=' + use_val;
+ });
+
+ return tmp_arr.join(arg_separator);
+};
+
+_.getQueryParam = function(url, param) {
+ // Expects a raw URL
+
+ param = param.replace(/[\[]/, '\\\[').replace(/[\]]/, '\\\]');
+ var regexS = '[\\?&]' + param + '=([^]*)',
+ regex = new RegExp(regexS),
+ results = regex.exec(url);
+ if (results === null || (results && typeof(results[1]) !== 'string' && results[1].length)) {
+ return '';
+ } else {
+ return decodeURIComponent(results[1]).replace(/\+/g, ' ');
+ }
+};
+
+_.getHashParam = function(hash, param) {
+ var matches = hash.match(new RegExp(param + '=([^&]*)'));
+ return matches ? matches[1] : null;
+};
+
+// _.cookie
+// Methods partially borrowed from quirksmode.org/js/cookies.html
+_.cookie = {
+ get: function(name) {
+ var nameEQ = name + '=';
+ var ca = document$1.cookie.split(';');
+ for (var i = 0; i < ca.length; i++) {
+ var c = ca[i];
+ while (c.charAt(0) == ' ') {
+ c = c.substring(1, c.length);
+ }
+ if (c.indexOf(nameEQ) === 0) {
+ return decodeURIComponent(c.substring(nameEQ.length, c.length));
+ }
+ }
+ return null;
+ },
+
+ parse: function(name) {
+ var cookie;
+ try {
+ cookie = _.JSONDecode(_.cookie.get(name)) || {};
+ } catch (err) {
+ // noop
+ }
+ return cookie;
+ },
+
+ set_seconds: function(name, value, seconds, cross_subdomain, is_secure) {
+ var cdomain = '',
+ expires = '',
+ secure = '';
+
+ if (cross_subdomain) {
+ var matches = document$1.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i),
+ domain = matches ? matches[0] : '';
+
+ cdomain = ((domain) ? '; domain=.' + domain : '');
+ }
+
+ if (seconds) {
+ var date = new Date();
+ date.setTime(date.getTime() + (seconds * 1000));
+ expires = '; expires=' + date.toGMTString();
+ }
+
+ if (is_secure) {
+ secure = '; secure';
+ }
+
+ document$1.cookie = name + '=' + encodeURIComponent(value) + expires + '; path=/' + cdomain + secure;
+ },
+
+ set: function(name, value, days, cross_subdomain, is_secure) {
+ var cdomain = '', expires = '', secure = '';
+
+ if (cross_subdomain) {
+ var matches = document$1.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i),
+ domain = matches ? matches[0] : '';
+
+ cdomain = ((domain) ? '; domain=.' + domain : '');
+ }
+
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
+ expires = '; expires=' + date.toGMTString();
+ }
+
+ if (is_secure) {
+ secure = '; secure';
+ }
+
+ var new_cookie_val = name + '=' + encodeURIComponent(value) + expires + '; path=/' + cdomain + secure;
+ document$1.cookie = new_cookie_val;
+ return new_cookie_val;
+ },
+
+ remove: function(name, cross_subdomain) {
+ _.cookie.set(name, '', -1, cross_subdomain);
+ }
+};
+
+// _.localStorage
+var _localStorage_supported = null;
+_.localStorage = {
+ is_supported: function() {
+ if (_localStorage_supported !== null) {
+ return _localStorage_supported;
+ }
+
+ var supported = true;
+ try {
+ var key = '__mplssupport__',
+ val = 'xyz';
+ _.localStorage.set(key, val);
+ if (_.localStorage.get(key) !== val) {
+ supported = false;
+ }
+ _.localStorage.remove(key);
+ } catch (err) {
+ supported = false;
+ }
+ if (!supported) {
+ console$1.error('localStorage unsupported; falling back to cookie store');
+ }
+
+ _localStorage_supported = supported;
+ return supported;
+ },
+
+ error: function(msg) {
+ console$1.error('localStorage error: ' + msg);
+ },
+
+ get: function(name) {
+ try {
+ return window.localStorage.getItem(name);
+ } catch (err) {
+ _.localStorage.error(err);
+ }
+ return null;
+ },
+
+ parse: function(name) {
+ try {
+ return _.JSONDecode(_.localStorage.get(name)) || {};
+ } catch (err) {
+ // noop
+ }
+ return null;
+ },
+
+ set: function(name, value) {
+ try {
+ window.localStorage.setItem(name, value);
+ } catch (err) {
+ _.localStorage.error(err);
+ }
+ },
+
+ remove: function(name) {
+ try {
+ window.localStorage.removeItem(name);
+ } catch (err) {
+ _.localStorage.error(err);
+ }
+ }
+};
+
+_.register_event = (function() {
+ // written by Dean Edwards, 2005
+ // with input from Tino Zijdel - crisp@xs4all.nl
+ // with input from Carl Sverre - mail@carlsverre.com
+ // with input from Mixpanel
+ // http://dean.edwards.name/weblog/2005/10/add-event/
+ // https://gist.github.com/1930440
+
+ /**
+ * @param {Object} element
+ * @param {string} type
+ * @param {function(...[*])} handler
+ * @param {boolean=} oldSchool
+ * @param {boolean=} useCapture
+ */
+ var register_event = function(element, type, handler, oldSchool, useCapture) {
+ if (!element) {
+ console$1.error('No valid element provided to register_event');
+ return;
+ }
+
+ if (element.addEventListener && !oldSchool) {
+ element.addEventListener(type, handler, !!useCapture);
+ } else {
+ var ontype = 'on' + type;
+ var old_handler = element[ontype]; // can be undefined
+ element[ontype] = makeHandler(element, handler, old_handler);
+ }
+ };
+
+ function makeHandler(element, new_handler, old_handlers) {
+ var handler = function(event) {
+ event = event || fixEvent(window.event);
+
+ // this basically happens in firefox whenever another script
+ // overwrites the onload callback and doesn't pass the event
+ // object to previously defined callbacks. All the browsers
+ // that don't define window.event implement addEventListener
+ // so the dom_loaded handler will still be fired as usual.
+ if (!event) {
+ return undefined;
+ }
+
+ var ret = true;
+ var old_result, new_result;
+
+ if (_.isFunction(old_handlers)) {
+ old_result = old_handlers(event);
+ }
+ new_result = new_handler.call(element, event);
+
+ if ((false === old_result) || (false === new_result)) {
+ ret = false;
+ }
+
+ return ret;
+ };
+
+ return handler;
+ }
+
+ function fixEvent(event) {
+ if (event) {
+ event.preventDefault = fixEvent.preventDefault;
+ event.stopPropagation = fixEvent.stopPropagation;
+ }
+ return event;
+ }
+ fixEvent.preventDefault = function() {
+ this.returnValue = false;
+ };
+ fixEvent.stopPropagation = function() {
+ this.cancelBubble = true;
+ };
+
+ return register_event;
+})();
+
+_.dom_query = (function() {
+ /* document.getElementsBySelector(selector)
+ - returns an array of element objects from the current document
+ matching the CSS selector. Selectors can contain element names,
+ class names and ids and can be nested. For example:
+
+ elements = document.getElementsBySelector('div#main p a.external')
+
+ Will return an array of all 'a' elements with 'external' in their
+ class attribute that are contained inside 'p' elements that are
+ contained inside the 'div' element which has id="main"
+
+ New in version 0.4: Support for CSS2 and CSS3 attribute selectors:
+ See http://www.w3.org/TR/css3-selectors/#attribute-selectors
+
+ Version 0.4 - Simon Willison, March 25th 2003
+ -- Works in Phoenix 0.5, Mozilla 1.3, Opera 7, Internet Explorer 6, Internet Explorer 5 on Windows
+ -- Opera 7 fails
+
+ Version 0.5 - Carl Sverre, Jan 7th 2013
+ -- Now uses jQuery-esque `hasClass` for testing class name
+ equality. This fixes a bug related to '-' characters being
+ considered not part of a 'word' in regex.
+ */
+
+ function getAllChildren(e) {
+ // Returns all children of element. Workaround required for IE5/Windows. Ugh.
+ return e.all ? e.all : e.getElementsByTagName('*');
+ }
+
+ var bad_whitespace = /[\t\r\n]/g;
+
+ function hasClass(elem, selector) {
+ var className = ' ' + selector + ' ';
+ return ((' ' + elem.className + ' ').replace(bad_whitespace, ' ').indexOf(className) >= 0);
+ }
+
+ function getElementsBySelector(selector) {
+ // Attempt to fail gracefully in lesser browsers
+ if (!document$1.getElementsByTagName) {
+ return [];
+ }
+ // Split selector in to tokens
+ var tokens = selector.split(' ');
+ var token, bits, tagName, found, foundCount, i, j, k, elements, currentContextIndex;
+ var currentContext = [document$1];
+ for (i = 0; i < tokens.length; i++) {
+ token = tokens[i].replace(/^\s+/, '').replace(/\s+$/, '');
+ if (token.indexOf('#') > -1) {
+ // Token is an ID selector
+ bits = token.split('#');
+ tagName = bits[0];
+ var id = bits[1];
+ var element = document$1.getElementById(id);
+ if (!element || (tagName && element.nodeName.toLowerCase() != tagName)) {
+ // element not found or tag with that ID not found, return false
+ return [];
+ }
+ // Set currentContext to contain just this element
+ currentContext = [element];
+ continue; // Skip to next token
+ }
+ if (token.indexOf('.') > -1) {
+ // Token contains a class selector
+ bits = token.split('.');
+ tagName = bits[0];
+ var className = bits[1];
+ if (!tagName) {
+ tagName = '*';
+ }
+ // Get elements matching tag, filter them for class selector
+ found = [];
+ foundCount = 0;
+ for (j = 0; j < currentContext.length; j++) {
+ if (tagName == '*') {
+ elements = getAllChildren(currentContext[j]);
+ } else {
+ elements = currentContext[j].getElementsByTagName(tagName);
+ }
+ for (k = 0; k < elements.length; k++) {
+ found[foundCount++] = elements[k];
+ }
+ }
+ currentContext = [];
+ currentContextIndex = 0;
+ for (j = 0; j < found.length; j++) {
+ if (found[j].className &&
+ _.isString(found[j].className) && // some SVG elements have classNames which are not strings
+ hasClass(found[j], className)
+ ) {
+ currentContext[currentContextIndex++] = found[j];
+ }
+ }
+ continue; // Skip to next token
+ }
+ // Code to deal with attribute selectors
+ var token_match = token.match(/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/);
+ if (token_match) {
+ tagName = token_match[1];
+ var attrName = token_match[2];
+ var attrOperator = token_match[3];
+ var attrValue = token_match[4];
+ if (!tagName) {
+ tagName = '*';
+ }
+ // Grab all of the tagName elements within current context
+ found = [];
+ foundCount = 0;
+ for (j = 0; j < currentContext.length; j++) {
+ if (tagName == '*') {
+ elements = getAllChildren(currentContext[j]);
+ } else {
+ elements = currentContext[j].getElementsByTagName(tagName);
+ }
+ for (k = 0; k < elements.length; k++) {
+ found[foundCount++] = elements[k];
+ }
+ }
+ currentContext = [];
+ currentContextIndex = 0;
+ var checkFunction; // This function will be used to filter the elements
+ switch (attrOperator) {
+ case '=': // Equality
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName) == attrValue);
+ };
+ break;
+ case '~': // Match one of space seperated words
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName).match(new RegExp('\\b' + attrValue + '\\b')));
+ };
+ break;
+ case '|': // Match start with value followed by optional hyphen
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName).match(new RegExp('^' + attrValue + '-?')));
+ };
+ break;
+ case '^': // Match starts with value
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName).indexOf(attrValue) === 0);
+ };
+ break;
+ case '$': // Match ends with value - fails with "Warning" in Opera 7
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName).lastIndexOf(attrValue) == e.getAttribute(attrName).length - attrValue.length);
+ };
+ break;
+ case '*': // Match ends with value
+ checkFunction = function(e) {
+ return (e.getAttribute(attrName).indexOf(attrValue) > -1);
+ };
+ break;
+ default:
+ // Just test for existence of attribute
+ checkFunction = function(e) {
+ return e.getAttribute(attrName);
+ };
+ }
+ currentContext = [];
+ currentContextIndex = 0;
+ for (j = 0; j < found.length; j++) {
+ if (checkFunction(found[j])) {
+ currentContext[currentContextIndex++] = found[j];
+ }
+ }
+ // alert('Attribute Selector: '+tagName+' '+attrName+' '+attrOperator+' '+attrValue);
+ continue; // Skip to next token
+ }
+ // If we get here, token is JUST an element (not a class or ID selector)
+ tagName = token;
+ found = [];
+ foundCount = 0;
+ for (j = 0; j < currentContext.length; j++) {
+ elements = currentContext[j].getElementsByTagName(tagName);
+ for (k = 0; k < elements.length; k++) {
+ found[foundCount++] = elements[k];
+ }
+ }
+ currentContext = found;
+ }
+ return currentContext;
+ }
+
+ return function(query) {
+ if (_.isElement(query)) {
+ return [query];
+ } else if (_.isObject(query) && !_.isUndefined(query.length)) {
+ return query;
+ } else {
+ return getElementsBySelector.call(this, query);
+ }
+ };
+})();
+
+_.info = {
+ campaignParams: function() {
+ var campaign_keywords = 'utm_source utm_medium utm_campaign utm_content utm_term'.split(' '),
+ kw = '',
+ params = {};
+ _.each(campaign_keywords, function(kwkey) {
+ kw = _.getQueryParam(document$1.URL, kwkey);
+ if (kw.length) {
+ params[kwkey] = kw;
+ }
+ });
+
+ return params;
+ },
+
+ searchEngine: function(referrer) {
+ if (referrer.search('https?://(.*)google.([^/?]*)') === 0) {
+ return 'google';
+ } else if (referrer.search('https?://(.*)bing.com') === 0) {
+ return 'bing';
+ } else if (referrer.search('https?://(.*)yahoo.com') === 0) {
+ return 'yahoo';
+ } else if (referrer.search('https?://(.*)duckduckgo.com') === 0) {
+ return 'duckduckgo';
+ } else {
+ return null;
+ }
+ },
+
+ searchInfo: function(referrer) {
+ var search = _.info.searchEngine(referrer),
+ param = (search != 'yahoo') ? 'q' : 'p',
+ ret = {};
+
+ if (search !== null) {
+ ret['$search_engine'] = search;
+
+ var keyword = _.getQueryParam(referrer, param);
+ if (keyword.length) {
+ ret['mp_keyword'] = keyword;
+ }
+ }
+
+ return ret;
+ },
+
+ /**
+ * This function detects which browser is running this script.
+ * The order of the checks are important since many user agents
+ * include key words used in later checks.
+ */
+ browser: function(user_agent, vendor, opera) {
+ vendor = vendor || ''; // vendor is undefined for at least IE9
+ if (opera || _.includes(user_agent, ' OPR/')) {
+ if (_.includes(user_agent, 'Mini')) {
+ return 'Opera Mini';
+ }
+ return 'Opera';
+ } else if (/(BlackBerry|PlayBook|BB10)/i.test(user_agent)) {
+ return 'BlackBerry';
+ } else if (_.includes(user_agent, 'IEMobile') || _.includes(user_agent, 'WPDesktop')) {
+ return 'Internet Explorer Mobile';
+ } else if (_.includes(user_agent, 'Edge')) {
+ return 'Microsoft Edge';
+ } else if (_.includes(user_agent, 'FBIOS')) {
+ return 'Facebook Mobile';
+ } else if (_.includes(user_agent, 'Chrome')) {
+ return 'Chrome';
+ } else if (_.includes(user_agent, 'CriOS')) {
+ return 'Chrome iOS';
+ } else if (_.includes(user_agent, 'UCWEB') || _.includes(user_agent, 'UCBrowser')) {
+ return 'UC Browser';
+ } else if (_.includes(user_agent, 'FxiOS')) {
+ return 'Firefox iOS';
+ } else if (_.includes(vendor, 'Apple')) {
+ if (_.includes(user_agent, 'Mobile')) {
+ return 'Mobile Safari';
+ }
+ return 'Safari';
+ } else if (_.includes(user_agent, 'Android')) {
+ return 'Android Mobile';
+ } else if (_.includes(user_agent, 'Konqueror')) {
+ return 'Konqueror';
+ } else if (_.includes(user_agent, 'Firefox')) {
+ return 'Firefox';
+ } else if (_.includes(user_agent, 'MSIE') || _.includes(user_agent, 'Trident/')) {
+ return 'Internet Explorer';
+ } else if (_.includes(user_agent, 'Gecko')) {
+ return 'Mozilla';
+ } else {
+ return '';
+ }
+ },
+
+ /**
+ * This function detects which browser version is running this script,
+ * parsing major and minor version (e.g., 42.1). User agent strings from:
+ * http://www.useragentstring.com/pages/useragentstring.php
+ */
+ browserVersion: function(userAgent, vendor, opera) {
+ var browser = _.info.browser(userAgent, vendor, opera);
+ var versionRegexs = {
+ 'Internet Explorer Mobile': /rv:(\d+(\.\d+)?)/,
+ 'Microsoft Edge': /Edge\/(\d+(\.\d+)?)/,
+ 'Chrome': /Chrome\/(\d+(\.\d+)?)/,
+ 'Chrome iOS': /CriOS\/(\d+(\.\d+)?)/,
+ 'UC Browser' : /(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,
+ 'Safari': /Version\/(\d+(\.\d+)?)/,
+ 'Mobile Safari': /Version\/(\d+(\.\d+)?)/,
+ 'Opera': /(Opera|OPR)\/(\d+(\.\d+)?)/,
+ 'Firefox': /Firefox\/(\d+(\.\d+)?)/,
+ 'Firefox iOS': /FxiOS\/(\d+(\.\d+)?)/,
+ 'Konqueror': /Konqueror:(\d+(\.\d+)?)/,
+ 'BlackBerry': /BlackBerry (\d+(\.\d+)?)/,
+ 'Android Mobile': /android\s(\d+(\.\d+)?)/,
+ 'Internet Explorer': /(rv:|MSIE )(\d+(\.\d+)?)/,
+ 'Mozilla': /rv:(\d+(\.\d+)?)/
+ };
+ var regex = versionRegexs[browser];
+ if (regex === undefined) {
+ return null;
+ }
+ var matches = userAgent.match(regex);
+ if (!matches) {
+ return null;
+ }
+ return parseFloat(matches[matches.length - 2]);
+ },
+
+ os: function() {
+ var a = userAgent;
+ if (/Windows/i.test(a)) {
+ if (/Phone/.test(a) || /WPDesktop/.test(a)) {
+ return 'Windows Phone';
+ }
+ return 'Windows';
+ } else if (/(iPhone|iPad|iPod)/.test(a)) {
+ return 'iOS';
+ } else if (/Android/.test(a)) {
+ return 'Android';
+ } else if (/(BlackBerry|PlayBook|BB10)/i.test(a)) {
+ return 'BlackBerry';
+ } else if (/Mac/i.test(a)) {
+ return 'Mac OS X';
+ } else if (/Linux/.test(a)) {
+ return 'Linux';
+ } else if (/CrOS/.test(a)) {
+ return 'Chrome OS';
+ } else {
+ return '';
+ }
+ },
+
+ device: function(user_agent) {
+ if (/Windows Phone/i.test(user_agent) || /WPDesktop/.test(user_agent)) {
+ return 'Windows Phone';
+ } else if (/iPad/.test(user_agent)) {
+ return 'iPad';
+ } else if (/iPod/.test(user_agent)) {
+ return 'iPod Touch';
+ } else if (/iPhone/.test(user_agent)) {
+ return 'iPhone';
+ } else if (/(BlackBerry|PlayBook|BB10)/i.test(user_agent)) {
+ return 'BlackBerry';
+ } else if (/Android/.test(user_agent)) {
+ return 'Android';
+ } else {
+ return '';
+ }
+ },
+
+ referringDomain: function(referrer) {
+ var split = referrer.split('/');
+ if (split.length >= 3) {
+ return split[2];
+ }
+ return '';
+ },
+
+ properties: function() {
+ return _.extend(_.strip_empty_properties({
+ '$os': _.info.os(),
+ '$browser': _.info.browser(userAgent, navigator$1.vendor, windowOpera),
+ '$referrer': document$1.referrer,
+ '$referring_domain': _.info.referringDomain(document$1.referrer),
+ '$device': _.info.device(userAgent)
+ }), {
+ '$current_url': window$1.location.href,
+ '$browser_version': _.info.browserVersion(userAgent, navigator$1.vendor, windowOpera),
+ '$screen_height': screen.height,
+ '$screen_width': screen.width,
+ 'mp_lib': 'web',
+ '$lib_version': Config.LIB_VERSION
+ });
+ },
+
+ people_properties: function() {
+ return _.extend(_.strip_empty_properties({
+ '$os': _.info.os(),
+ '$browser': _.info.browser(userAgent, navigator$1.vendor, windowOpera)
+ }), {
+ '$browser_version': _.info.browserVersion(userAgent, navigator$1.vendor, windowOpera)
+ });
+ },
+
+ pageviewInfo: function(page) {
+ return _.strip_empty_properties({
+ 'mp_page': page,
+ 'mp_referrer': document$1.referrer,
+ 'mp_browser': _.info.browser(userAgent, navigator$1.vendor, windowOpera),
+ 'mp_platform': _.info.os()
+ });
+ }
+};
+
+// EXPORTS (for closure compiler)
+_['toArray'] = _.toArray;
+_['isObject'] = _.isObject;
+_['JSONEncode'] = _.JSONEncode;
+_['JSONDecode'] = _.JSONDecode;
+_['isBlockedUA'] = _.isBlockedUA;
+_['isEmptyObject'] = _.isEmptyObject;
+_['info'] = _.info;
+_['info']['device'] = _.info.device;
+_['info']['browser'] = _.info.browser;
+_['info']['properties'] = _.info.properties;
+
+/*
+ * Get the className of an element, accounting for edge cases where element.className is an object
+ * @param {Element} el - element to get the className of
+ * @returns {string} the element's class
+ */
+function getClassName(el) {
+ switch(typeof el.className) {
+ case 'string':
+ return el.className;
+ case 'object': // handle cases where className might be SVGAnimatedString or some other type
+ return el.className.baseVal || el.getAttribute('class') || '';
+ default: // future proof
+ return '';
+ }
+}
+
+/*
+ * Get the direct text content of an element, protecting against sensitive data collection.
+ * Concats textContent of each of the element's text node children; this avoids potential
+ * collection of sensitive data that could happen if we used element.textContent and the
+ * element had sensitive child elements, since element.textContent includes child content.
+ * Scrubs values that look like they could be sensitive (i.e. cc or ssn number).
+ * @param {Element} el - element to get the text of
+ * @returns {string} the element's direct text content
+ */
+function getSafeText(el) {
+ var elText = '';
+
+ if (shouldTrackElement(el) && el.childNodes && el.childNodes.length) {
+ _.each(el.childNodes, function(child) {
+ if (isTextNode(child) && child.textContent) {
+ elText += _.trim(child.textContent)
+ // scrub potentially sensitive values
+ .split(/(\s+)/).filter(shouldTrackValue).join('')
+ // normalize whitespace
+ .replace(/[\r\n]/g, ' ').replace(/[ ]+/g, ' ')
+ // truncate
+ .substring(0, 255);
+ }
+ });
+ }
+
+ return _.trim(elText);
+}
+
+/*
+ * Check whether an element has nodeType Node.ELEMENT_NODE
+ * @param {Element} el - element to check
+ * @returns {boolean} whether el is of the correct nodeType
+ */
+function isElementNode(el) {
+ return el && el.nodeType === 1; // Node.ELEMENT_NODE - use integer constant for browser portability
+}
+
+/*
+ * Check whether an element is of a given tag type.
+ * Due to potential reference discrepancies (such as the webcomponents.js polyfill),
+ * we want to match tagNames instead of specific references because something like
+ * element === document.body won't always work because element might not be a native
+ * element.
+ * @param {Element} el - element to check
+ * @param {string} tag - tag name (e.g., "div")
+ * @returns {boolean} whether el is of the given tag type
+ */
+function isTag(el, tag) {
+ return el && el.tagName && el.tagName.toLowerCase() === tag.toLowerCase();
+}
+
+/*
+ * Check whether an element has nodeType Node.TEXT_NODE
+ * @param {Element} el - element to check
+ * @returns {boolean} whether el is of the correct nodeType
+ */
+function isTextNode(el) {
+ return el && el.nodeType === 3; // Node.TEXT_NODE - use integer constant for browser portability
+}
+
+/*
+ * Check whether a DOM event should be "tracked" or if it may contain sentitive data
+ * using a variety of heuristics.
+ * @param {Element} el - element to check
+ * @param {Event} event - event to check
+ * @returns {boolean} whether the event should be tracked
+ */
+function shouldTrackDomEvent(el, event) {
+ if (!el || isTag(el, 'html') || !isElementNode(el)) {
+ return false;
+ }
+ var tag = el.tagName.toLowerCase();
+ switch (tag) {
+ case 'html':
+ return false;
+ case 'form':
+ return event.type === 'submit';
+ case 'input':
+ if (['button', 'submit'].indexOf(el.getAttribute('type')) === -1) {
+ return event.type === 'change';
+ } else {
+ return event.type === 'click';
+ }
+ case 'select':
+ case 'textarea':
+ return event.type === 'change';
+ default:
+ return event.type === 'click';
+ }
+}
+
+/*
+ * Check whether a DOM element should be "tracked" or if it may contain sentitive data
+ * using a variety of heuristics.
+ * @param {Element} el - element to check
+ * @returns {boolean} whether the element should be tracked
+ */
+function shouldTrackElement(el) {
+ for (var curEl = el; curEl.parentNode && !isTag(curEl, 'body'); curEl = curEl.parentNode) {
+ var classes = getClassName(curEl).split(' ');
+ if (_.includes(classes, 'mp-sensitive') || _.includes(classes, 'mp-no-track')) {
+ return false;
+ }
+ }
+
+ if (_.includes(getClassName(el).split(' '), 'mp-include')) {
+ return true;
+ }
+
+ // don't send data from inputs or similar elements since there will always be
+ // a risk of clientside javascript placing sensitive data in attributes
+ if (
+ isTag(el, 'input') ||
+ isTag(el, 'select') ||
+ isTag(el, 'textarea') ||
+ el.getAttribute('contenteditable') === 'true'
+ ) {
+ return false;
+ }
+
+ // don't include hidden or password fields
+ var type = el.type || '';
+ if (typeof type === 'string') { // it's possible for el.type to be a DOM element if el is a form with a child input[name="type"]
+ switch(type.toLowerCase()) {
+ case 'hidden':
+ return false;
+ case 'password':
+ return false;
+ }
+ }
+
+ // filter out data from fields that look like sensitive fields
+ var name = el.name || el.id || '';
+ if (typeof name === 'string') { // it's possible for el.name or el.id to be a DOM element if el is a form with a child input[name="name"]
+ var sensitiveNameRegex = /^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;
+ if (sensitiveNameRegex.test(name.replace(/[^a-zA-Z0-9]/g, ''))) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+/*
+ * Check whether a string value should be "tracked" or if it may contain sentitive data
+ * using a variety of heuristics.
+ * @param {string} value - string value to check
+ * @returns {boolean} whether the element should be tracked
+ */
+function shouldTrackValue(value) {
+ if (value === null || _.isUndefined(value)) {
+ return false;
+ }
+
+ if (typeof value === 'string') {
+ value = _.trim(value);
+
+ // check to see if input value looks like a credit card number
+ // see: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch04s20.html
+ var ccRegex = /^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;
+ if (ccRegex.test((value || '').replace(/[\- ]/g, ''))) {
+ return false;
+ }
+
+ // check to see if input value looks like a social security number
+ var ssnRegex = /(^\d{3}-?\d{2}-?\d{4}$)/;
+ if (ssnRegex.test(value)) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+var autotrack = {
+ _initializedTokens: [],
+
+ _previousElementSibling: function(el) {
+ if (el.previousElementSibling) {
+ return el.previousElementSibling;
+ } else {
+ do {
+ el = el.previousSibling;
+ } while (el && !isElementNode(el));
+ return el;
+ }
+ },
+
+ _loadScript: function(scriptUrlToLoad, callback) {
+ var scriptTag = document.createElement('script');
+ scriptTag.type = 'text/javascript';
+ scriptTag.src = scriptUrlToLoad;
+ scriptTag.onload = callback;
+
+ var scripts = document.getElementsByTagName('script');
+ if (scripts.length > 0) {
+ scripts[0].parentNode.insertBefore(scriptTag, scripts[0]);
+ } else {
+ document.body.appendChild(scriptTag);
+ }
+ },
+
+ _getPropertiesFromElement: function(elem) {
+ var props = {
+ 'classes': getClassName(elem).split(' '),
+ 'tag_name': elem.tagName.toLowerCase()
+ };
+
+ if (shouldTrackElement(elem)) {
+ _.each(elem.attributes, function(attr) {
+ if (shouldTrackValue(attr.value)) {
+ props['attr__' + attr.name] = attr.value;
+ }
+ });
+ }
+
+ var nthChild = 1;
+ var nthOfType = 1;
+ var currentElem = elem;
+ while (currentElem = this._previousElementSibling(currentElem)) { // eslint-disable-line no-cond-assign
+ nthChild++;
+ if (currentElem.tagName === elem.tagName) {
+ nthOfType++;
+ }
+ }
+ props['nth_child'] = nthChild;
+ props['nth_of_type'] = nthOfType;
+
+ return props;
+ },
+
+ _getDefaultProperties: function(eventType) {
+ return {
+ '$event_type': eventType,
+ '$ce_version': 1,
+ '$host': window.location.host,
+ '$pathname': window.location.pathname
+ };
+ },
+
+ _extractCustomPropertyValue: function(customProperty) {
+ var propValues = [];
+ _.each(document.querySelectorAll(customProperty['css_selector']), function(matchedElem) {
+ var value;
+
+ if (['input', 'select'].indexOf(matchedElem.tagName.toLowerCase()) > -1) {
+ value = matchedElem['value'];
+ } else if (matchedElem['textContent']) {
+ value = matchedElem['textContent'];
+ }
+
+ if (shouldTrackValue(value)) {
+ propValues.push(value);
+ }
+ });
+ return propValues.join(', ');
+ },
+
+ _getCustomProperties: function(targetElementList) {
+ var props = {};
+ _.each(this._customProperties, function(customProperty) {
+ _.each(customProperty['event_selectors'], function(eventSelector) {
+ var eventElements = document.querySelectorAll(eventSelector);
+ _.each(eventElements, function(eventElement) {
+ if (_.includes(targetElementList, eventElement) && shouldTrackElement(eventElement)) {
+ props[customProperty['name']] = this._extractCustomPropertyValue(customProperty);
+ }
+ }, this);
+ }, this);
+ }, this);
+ return props;
+ },
+
+ _getEventTarget: function(e) {
+ // https://developer.mozilla.org/en-US/docs/Web/API/Event/target#Compatibility_notes
+ if (typeof e.target === 'undefined') {
+ return e.srcElement;
+ } else {
+ return e.target;
+ }
+ },
+
+ _trackEvent: function(e, instance) {
+ /*** Don't mess with this code without running IE8 tests on it ***/
+ var target = this._getEventTarget(e);
+ if (isTextNode(target)) { // defeat Safari bug (see: http://www.quirksmode.org/js/events_properties.html)
+ target = target.parentNode;
+ }
+
+ if (shouldTrackDomEvent(target, e)) {
+ var targetElementList = [target];
+ var curEl = target;
+ while (curEl.parentNode && !isTag(curEl, 'body')) {
+ targetElementList.push(curEl.parentNode);
+ curEl = curEl.parentNode;
+ }
+
+ var elementsJson = [];
+ var href, explicitNoTrack = false;
+ _.each(targetElementList, function(el) {
+ var shouldTrackEl = shouldTrackElement(el);
+
+ // if the element or a parent element is an anchor tag
+ // include the href as a property
+ if (el.tagName.toLowerCase() === 'a') {
+ href = el.getAttribute('href');
+ href = shouldTrackEl && shouldTrackValue(href) && href;
+ }
+
+ // allow users to programatically prevent tracking of elements by adding class 'mp-no-track'
+ var classes = getClassName(el).split(' ');
+ if (_.includes(classes, 'mp-no-track')) {
+ explicitNoTrack = true;
+ }
+
+ elementsJson.push(this._getPropertiesFromElement(el));
+ }, this);
+
+ if (explicitNoTrack) {
+ return false;
+ }
+
+ // only populate text content from target element (not parents)
+ // to prevent text within a sensitive element from being collected
+ // as part of a parent's el.textContent
+ var elementText;
+ var safeElementText = getSafeText(target);
+ if (safeElementText && safeElementText.length) {
+ elementText = safeElementText;
+ }
+
+ var props = _.extend(
+ this._getDefaultProperties(e.type),
+ {
+ '$elements': elementsJson,
+ '$el_attr__href': href,
+ '$el_text': elementText
+ },
+ this._getCustomProperties(targetElementList)
+ );
+
+ instance.track('$web_event', props);
+ return true;
+ }
+ },
+
+ // only reason is to stub for unit tests
+ // since you can't override window.location props
+ _navigate: function(href) {
+ window.location.href = href;
+ },
+
+ _addDomEventHandlers: function(instance) {
+ var handler = _.bind(function(e) {
+ e = e || window.event;
+ this._trackEvent(e, instance);
+ }, this);
+ _.register_event(document, 'submit', handler, false, true);
+ _.register_event(document, 'change', handler, false, true);
+ _.register_event(document, 'click', handler, false, true);
+ },
+
+ _customProperties: {},
+ init: function(instance) {
+ if (!(document && document.body)) {
+ console.log('document not ready yet, trying again in 500 milliseconds...');
+ var that = this;
+ setTimeout(function() { that.init(instance); }, 500);
+ return;
+ }
+
+ var token = instance.get_config('token');
+ if (this._initializedTokens.indexOf(token) > -1) {
+ console.log('autotrack already initialized for token "' + token + '"');
+ return;
+ }
+ this._initializedTokens.push(token);
+
+ if (!this._maybeLoadEditor(instance)) { // don't autotrack actions when the editor is enabled
+ var parseDecideResponse = _.bind(function(response) {
+ if (response && response['config'] && response['config']['enable_collect_everything'] === true) {
+
+ if (response['custom_properties']) {
+ this._customProperties = response['custom_properties'];
+ }
+
+ instance.track('$web_event', _.extend({
+ '$title': document.title
+ }, this._getDefaultProperties('pageview')));
+
+ this._addDomEventHandlers(instance);
+
+ } else {
+ instance['__autotrack_enabled'] = false;
+ }
+ }, this);
+
+ instance._send_request(
+ instance.get_config('api_host') + '/decide/', {
+ 'verbose': true,
+ 'version': '1',
+ 'lib': 'web',
+ 'token': token
+ },
+ instance._prepare_callback(parseDecideResponse)
+ );
+ }
+ },
+
+ _editorParamsFromHash: function(instance, hash) {
+ var editorParams;
+ try {
+ var state = _.getHashParam(hash, 'state');
+ state = JSON.parse(decodeURIComponent(state));
+ var expiresInSeconds = _.getHashParam(hash, 'expires_in');
+ editorParams = {
+ 'accessToken': _.getHashParam(hash, 'access_token'),
+ 'accessTokenExpiresAt': (new Date()).getTime() + (Number(expiresInSeconds) * 1000),
+ 'bookmarkletMode': !!state['bookmarkletMode'],
+ 'projectId': state['projectId'],
+ 'projectOwnerId': state['projectOwnerId'],
+ 'projectToken': state['token'],
+ 'readOnly': state['readOnly'],
+ 'userFlags': state['userFlags'],
+ 'userId': state['userId']
+ };
+ window.sessionStorage.setItem('editorParams', JSON.stringify(editorParams));
+
+ if (state['desiredHash']) {
+ window.location.hash = state['desiredHash'];
+ } else if (window.history) {
+ history.replaceState('', document.title, window.location.pathname + window.location.search); // completely remove hash
+ } else {
+ window.location.hash = ''; // clear hash (but leaves # unfortunately)
+ }
+ } catch (e) {
+ console.error('Unable to parse data from hash', e);
+ }
+ return editorParams;
+ },
+
+ /**
+ * To load the visual editor, we need an access token and other state. That state comes from one of three places:
+ * 1. In the URL hash params if the customer is using an old snippet
+ * 2. From session storage under the key `_mpcehash` if the snippet already parsed the hash
+ * 3. From session storage under the key `editorParams` if the editor was initialized on a previous page
+ */
+ _maybeLoadEditor: function(instance) {
+ try {
+ var parseFromUrl = false;
+ if (_.getHashParam(window.location.hash, 'state')) {
+ var state = _.getHashParam(window.location.hash, 'state');
+ state = JSON.parse(decodeURIComponent(state));
+ parseFromUrl = state['action'] === 'mpeditor';
+ }
+ var parseFromStorage = !!window.sessionStorage.getItem('_mpcehash');
+ var editorParams;
+
+ if (parseFromUrl) { // happens if they are initializing the editor using an old snippet
+ editorParams = this._editorParamsFromHash(instance, window.location.hash);
+ } else if (parseFromStorage) { // happens if they are initialized the editor and using the new snippet
+ editorParams = this._editorParamsFromHash(instance, window.sessionStorage.getItem('_mpcehash'));
+ window.sessionStorage.removeItem('_mpcehash');
+ } else { // get credentials from sessionStorage from a previous initialzation
+ editorParams = JSON.parse(window.sessionStorage.getItem('editorParams') || '{}');
+ }
+
+ if (editorParams['projectToken'] && instance.get_config('token') === editorParams['projectToken']) {
+ this._loadEditor(instance, editorParams);
+ return true;
+ } else {
+ return false;
+ }
+ } catch (e) {
+ return false;
+ }
+ },
+
+ _loadEditor: function(instance, editorParams) {
+ if (!window['_mpEditorLoaded']) { // only load the codeless event editor once, even if there are multiple instances of MixpanelLib
+ window['_mpEditorLoaded'] = true;
+ var editorUrl = instance.get_config('app_host')
+ + '/js-bundle/reports/collect-everything/editor.js?_ts='
+ + (new Date()).getTime();
+ this._loadScript(editorUrl, function() {
+ window['mp_load_editor'](editorParams);
+ });
+ return true;
+ }
+ return false;
+ },
+
+ // this is a mechanism to ramp up CE with no server-side interaction.
+ // when CE is active, every page load results in a decide request. we
+ // need to gently ramp this up so we don't overload decide. this decides
+ // deterministically if CE is enabled for this project by modding the char
+ // value of the project token.
+ enabledForProject: function(token, numBuckets, numEnabledBuckets) {
+ numBuckets = !_.isUndefined(numBuckets) ? numBuckets : 10;
+ numEnabledBuckets = !_.isUndefined(numEnabledBuckets) ? numEnabledBuckets : 10;
+ var charCodeSum = 0;
+ for (var i = 0; i < token.length; i++) {
+ charCodeSum += token.charCodeAt(i);
+ }
+ return (charCodeSum % numBuckets) < numEnabledBuckets;
+ },
+
+ isBrowserSupported: function() {
+ return _.isFunction(document.querySelectorAll);
+ }
+};
+
+_.bind_instance_methods(autotrack);
+_.safewrap_instance_methods(autotrack);
+
+/**
+ * A function used to track a Mixpanel event (e.g. MixpanelLib.track)
+ * @callback trackFunction
+ * @param {String} event_name The name of the event. This can be anything the user does - 'Button Click', 'Sign Up', 'Item Purchased', etc.
+ * @param {Object} [properties] A set of properties to include with the event you're sending. These describe the user who did the event or details about the event itself.
+ * @param {Function} [callback] If provided, the callback function will be called after tracking the event.
+ */
+
+/** Public **/
+
+var GDPR_DEFAULT_PERSISTENCE_PREFIX = '__mp_opt_in_out_';
+
+/**
+ * Opt the user in to data tracking and cookies/localstorage for the given token
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {trackFunction} [options.track] - function used for tracking a Mixpanel event to record the opt-in action
+ * @param {string} [options.trackEventName] - event name to be used for tracking the opt-in action
+ * @param {Object} [options.trackProperties] - set of properties to be tracked along with the opt-in action
+ * @param {string} [options.persistenceType] Persistence mechanism used - cookie or localStorage
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookieExpiration] - number of days until the opt-in cookie expires
+ * @param {boolean} [options.crossSubdomainCookie] - whether the opt-in cookie is set as cross-subdomain or not
+ * @param {boolean} [options.secureCookie] - whether the opt-in cookie is set as secure or not
+ */
+function optIn(token, options) {
+ _optInOut(true, token, options);
+}
+
+/**
+ * Opt the user out of data tracking and cookies/localstorage for the given token
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistenceType] Persistence mechanism used - cookie or localStorage
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookieExpiration] - number of days until the opt-out cookie expires
+ * @param {boolean} [options.crossSubdomainCookie] - whether the opt-out cookie is set as cross-subdomain or not
+ * @param {boolean} [options.secureCookie] - whether the opt-out cookie is set as secure or not
+ */
+function optOut(token, options) {
+ _optInOut(false, token, options);
+}
+
+/**
+ * Check whether the user has opted in to data tracking and cookies/localstorage for the given token
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistenceType] Persistence mechanism used - cookie or localStorage
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @returns {boolean} whether the user has opted in to the given opt type
+ */
+function hasOptedIn(token, options) {
+ return _getStorageValue(token, options) === '1';
+}
+
+/**
+ * Check whether the user has opted out of data tracking and cookies/localstorage for the given token
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistenceType] Persistence mechanism used - cookie or localStorage
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @returns {boolean} whether the user has opted out of the given opt type
+ */
+function hasOptedOut(token, options) {
+ if (_hasDoNotTrackFlagOn()) {
+ return true;
+ }
+ return _getStorageValue(token, options) === '0';
+}
+
+/**
+ * Wrap a MixpanelLib method with a check for whether the user is opted out of data tracking and cookies/localstorage for the given token
+ * If the user has opted out, return early instead of executing the method.
+ * If a callback argument was provided, execute it passing the 0 error code.
+ * @param {function} method - wrapped method to be executed if the user has not opted out
+ * @returns {*} the result of executing method OR undefined if the user has opted out
+ */
+function addOptOutCheckMixpanelLib(method) {
+ return _addOptOutCheck(method, function(name) {
+ return this.get_config(name);
+ });
+}
+
+/**
+ * Wrap a MixpanelPeople method with a check for whether the user is opted out of data tracking and cookies/localstorage for the given token
+ * If the user has opted out, return early instead of executing the method.
+ * If a callback argument was provided, execute it passing the 0 error code.
+ * @param {function} method - wrapped method to be executed if the user has not opted out
+ * @returns {*} the result of executing method OR undefined if the user has opted out
+ */
+function addOptOutCheckMixpanelPeople(method) {
+ return _addOptOutCheck(method, function(name) {
+ return this._get_config(name);
+ });
+}
+
+/**
+ * Clear the user's opt in/out status of data tracking and cookies/localstorage for the given token
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistenceType] Persistence mechanism used - cookie or localStorage
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookieExpiration] - number of days until the opt-in cookie expires
+ * @param {boolean} [options.crossSubdomainCookie] - whether the opt-in cookie is set as cross-subdomain or not
+ * @param {boolean} [options.secureCookie] - whether the opt-in cookie is set as secure or not
+ */
+function clearOptInOut(token, options) {
+ options = options || {};
+ _getStorage(options).remove(_getStorageKey(token, options), !!options.crossSubdomainCookie);
+}
+
+/** Private **/
+
+/**
+ * Get storage util
+ * @param {Object} [options]
+ * @param {string} [options.persistenceType]
+ * @returns {object} either _.cookie or _.localstorage
+ */
+function _getStorage(options) {
+ options = options || {};
+ return options.persistenceType === 'localStorage' ? _.localStorage : _.cookie;
+}
+
+/**
+ * Get the name of the cookie that is used for the given opt type (tracking, cookie, etc.)
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @returns {string} the name of the cookie for the given opt type
+ */
+function _getStorageKey(token, options) {
+ options = options || {};
+ return (options.persistencePrefix || GDPR_DEFAULT_PERSISTENCE_PREFIX) + token;
+}
+
+/**
+ * Get the value of the cookie that is used for the given opt type (tracking, cookie, etc.)
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @returns {string} the value of the cookie for the given opt type
+ */
+function _getStorageValue(token, options) {
+ return _getStorage(options).get(_getStorageKey(token, options));
+}
+
+/**
+ * Check whether the user has set the DNT/doNotTrack setting to true in their browser
+ * @returns {boolean} whether the DNT setting is true
+ */
+function _hasDoNotTrackFlagOn() {
+ return !!(window$1.navigator && window$1.navigator.doNotTrack === '1');
+}
+
+/**
+ * Set cookie/localstorage for the user indicating that they are opted in or out for the given opt type
+ * @param {boolean} optValue - whether to opt the user in or out for the given opt type
+ * @param {string} token - Mixpanel project tracking token
+ * @param {Object} [options]
+ * @param {trackFunction} [options.track] - function used for tracking a Mixpanel event to record the opt-in action
+ * @param {string} [options.trackEventName] - event name to be used for tracking the opt-in action
+ * @param {Object} [options.trackProperties] - set of properties to be tracked along with the opt-in action
+ * @param {string} [options.persistencePrefix=__mp_opt_in_out] - custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookieExpiration] - number of days until the opt-in cookie expires
+ * @param {boolean} [options.crossSubdomainCookie] - whether the opt-in cookie is set as cross-subdomain or not
+ * @param {boolean} [options.secureCookie] - whether the opt-in cookie is set as secure or not
+ */
+function _optInOut(optValue, token, options) {
+ if (!_.isString(token) || !token.length) {
+ console.error('gdpr.' + (optValue ? 'optIn' : 'optOut') + ' called with an invalid token');
+ return;
+ }
+
+ options = options || {};
+
+ _getStorage(options).set(
+ _getStorageKey(token, options),
+ optValue ? 1 : 0,
+ _.isNumber(options.cookieExpiration) ? options.cookieExpiration : null,
+ !!options.crossSubdomainCookie,
+ !!options.secureCookie
+ );
+
+ if (options.track && optValue) { // only track event if opting in (optValue=true)
+ options.track(options.trackEventName || '$opt_in', options.trackProperties);
+ }
+}
+
+/**
+ * Wrap a method with a check for whether the user is opted out of data tracking and cookies/localstorage for the given token
+ * If the user has opted out, return early instead of executing the method.
+ * If a callback argument was provided, execute it passing the 0 error code.
+ * @param {function} method - wrapped method to be executed if the user has not opted out
+ * @param {function} getConfigValue - getter function for the Mixpanel API token and other options to be used with opt-out check
+ * @returns {*} the result of executing method OR undefined if the user has opted out
+ */
+function _addOptOutCheck(method, getConfigValue) {
+ return function() {
+ var optedOut = false;
+
+ try {
+ var token = getConfigValue.call(this, 'token');
+ var persistenceType = getConfigValue.call(this, 'opt_out_tracking_persistence_type');
+ var persistencePrefix = getConfigValue.call(this, 'opt_out_tracking_cookie_prefix');
+
+ if (token) { // if there was an issue getting the token, continue method execution as normal
+ optedOut = hasOptedOut(token, {
+ persistenceType: persistenceType,
+ persistencePrefix: persistencePrefix
+ });
+ }
+ } catch(err) {
+ console.error('Unexpected error when checking tracking opt-out status: ' + err);
+ }
+
+ if (!optedOut) {
+ return method.apply(this, arguments);
+ }
+
+ var callback = arguments[arguments.length - 1];
+ if (typeof(callback) === 'function') {
+ callback(0);
+ }
+
+ return;
+ };
+}
+
+/*
+ * Mixpanel JS Library
+ *
+ * Copyright 2012, Mixpanel, Inc. All Rights Reserved
+ * http://mixpanel.com/
+ *
+ * Includes portions of Underscore.js
+ * http://documentcloud.github.com/underscore/
+ * (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
+ * Released under the MIT License.
+ */
+
+// ==ClosureCompiler==
+// @compilation_level ADVANCED_OPTIMIZATIONS
+// @output_file_name mixpanel-2.8.min.js
+// ==/ClosureCompiler==
+
+/*
+SIMPLE STYLE GUIDE:
+
+this.x === public function
+this._x === internal - only use within this file
+this.__x === private - only use within the class
+
+Globals should be all caps
+*/
+
+var init_type; // MODULE or SNIPPET loader
+var mixpanel_master; // main mixpanel instance / object
+var INIT_MODULE = 0;
+var INIT_SNIPPET = 1;
+
+/*
+ * Constants
+ */
+/** @const */ var PRIMARY_INSTANCE_NAME = 'mixpanel';
+/** @const */ var SET_QUEUE_KEY = '__mps';
+/** @const */ var SET_ONCE_QUEUE_KEY = '__mpso';
+/** @const */ var UNSET_QUEUE_KEY = '__mpus';
+/** @const */ var ADD_QUEUE_KEY = '__mpa';
+/** @const */ var APPEND_QUEUE_KEY = '__mpap';
+/** @const */ var UNION_QUEUE_KEY = '__mpu';
+/** @const */ var SET_ACTION = '$set';
+/** @const */ var SET_ONCE_ACTION = '$set_once';
+/** @const */ var UNSET_ACTION = '$unset';
+/** @const */ var ADD_ACTION = '$add';
+/** @const */ var APPEND_ACTION = '$append';
+/** @const */ var UNION_ACTION = '$union';
+// This key is deprecated, but we want to check for it to see whether aliasing is allowed.
+/** @const */ var PEOPLE_DISTINCT_ID_KEY = '$people_distinct_id';
+/** @const */ var ALIAS_ID_KEY = '__alias';
+/** @const */ var CAMPAIGN_IDS_KEY = '__cmpns';
+/** @const */ var EVENT_TIMERS_KEY = '__timers';
+/** @const */ var RESERVED_PROPERTIES = [
+ SET_QUEUE_KEY,
+ SET_ONCE_QUEUE_KEY,
+ UNSET_QUEUE_KEY,
+ ADD_QUEUE_KEY,
+ APPEND_QUEUE_KEY,
+ UNION_QUEUE_KEY,
+ PEOPLE_DISTINCT_ID_KEY,
+ ALIAS_ID_KEY,
+ CAMPAIGN_IDS_KEY,
+ EVENT_TIMERS_KEY
+];
+
+/*
+ * Dynamic... constants? Is that an oxymoron?
+ */
+ // http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/
+ // https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#withCredentials
+var USE_XHR = (window$1.XMLHttpRequest && 'withCredentials' in new XMLHttpRequest());
+
+ // IE<10 does not support cross-origin XHR's but script tags
+ // with defer won't block window.onload; ENQUEUE_REQUESTS
+ // should only be true for Opera<12
+var ENQUEUE_REQUESTS = !USE_XHR && (userAgent.indexOf('MSIE') === -1) && (userAgent.indexOf('Mozilla') === -1);
+
+/*
+ * Module-level globals
+ */
+var DEFAULT_CONFIG = {
+ 'api_host': 'https://api.mixpanel.com',
+ 'app_host': 'https://mixpanel.com',
+ 'autotrack': true,
+ 'cdn': 'https://cdn.mxpnl.com',
+ 'cross_subdomain_cookie': true,
+ 'persistence': 'cookie',
+ 'persistence_name': '',
+ 'cookie_name': '',
+ 'loaded': function() {},
+ 'store_google': true,
+ 'save_referrer': true,
+ 'test': false,
+ 'verbose': false,
+ 'img': false,
+ 'track_pageview': true,
+ 'debug': false,
+ 'track_links_timeout': 300,
+ 'cookie_expiration': 365,
+ 'upgrade': false,
+ 'disable_persistence': false,
+ 'disable_cookie': false,
+ 'secure_cookie': false,
+ 'ip': true,
+ 'opt_out_tracking_by_default': false,
+ 'opt_out_tracking_persistence_type': 'localStorage',
+ 'opt_out_tracking_cookie_prefix': null,
+ 'property_blacklist': [],
+ 'xhr_headers': {} // { header: value, header2: value }
+};
+
+var DOM_LOADED = false;
+
+/**
+ * DomTracker Object
+ * @constructor
+ */
+var DomTracker = function() {};
+
+// interface
+DomTracker.prototype.create_properties = function() {};
+DomTracker.prototype.event_handler = function() {};
+DomTracker.prototype.after_track_handler = function() {};
+
+DomTracker.prototype.init = function(mixpanel_instance) {
+ this.mp = mixpanel_instance;
+ return this;
+};
+
+/**
+ * @param {Object|string} query
+ * @param {string} event_name
+ * @param {Object=} properties
+ * @param {function(...[*])=} user_callback
+ */
+DomTracker.prototype.track = function(query, event_name, properties, user_callback) {
+ var that = this;
+ var elements = _.dom_query(query);
+
+ if (elements.length === 0) {
+ console$1.error('The DOM query (' + query + ') returned 0 elements');
+ return;
+ }
+
+ _.each(elements, function(element) {
+ _.register_event(element, this.override_event, function(e) {
+ var options = {};
+ var props = that.create_properties(properties, this);
+ var timeout = that.mp.get_config('track_links_timeout');
+
+ that.event_handler(e, this, options);
+
+ // in case the mixpanel servers don't get back to us in time
+ window$1.setTimeout(that.track_callback(user_callback, props, options, true), timeout);
+
+ // fire the tracking event
+ that.mp.track(event_name, props, that.track_callback(user_callback, props, options));
+ });
+ }, this);
+
+ return true;
+};
+
+/**
+ * @param {function(...[*])} user_callback
+ * @param {Object} props
+ * @param {boolean=} timeout_occured
+ */
+DomTracker.prototype.track_callback = function(user_callback, props, options, timeout_occured) {
+ timeout_occured = timeout_occured || false;
+ var that = this;
+
+ return function() {
+ // options is referenced from both callbacks, so we can have
+ // a 'lock' of sorts to ensure only one fires
+ if (options.callback_fired) { return; }
+ options.callback_fired = true;
+
+ if (user_callback && user_callback(timeout_occured, props) === false) {
+ // user can prevent the default functionality by
+ // returning false from their callback
+ return;
+ }
+
+ that.after_track_handler(props, options, timeout_occured);
+ };
+};
+
+DomTracker.prototype.create_properties = function(properties, element) {
+ var props;
+
+ if (typeof(properties) === 'function') {
+ props = properties(element);
+ } else {
+ props = _.extend({}, properties);
+ }
+
+ return props;
+};
+
+/**
+ * LinkTracker Object
+ * @constructor
+ * @extends DomTracker
+ */
+var LinkTracker = function() {
+ this.override_event = 'click';
+};
+_.inherit(LinkTracker, DomTracker);
+
+LinkTracker.prototype.create_properties = function(properties, element) {
+ var props = LinkTracker.superclass.create_properties.apply(this, arguments);
+
+ if (element.href) { props['url'] = element.href; }
+
+ return props;
+};
+
+LinkTracker.prototype.event_handler = function(evt, element, options) {
+ options.new_tab = (
+ evt.which === 2 ||
+ evt.metaKey ||
+ evt.ctrlKey ||
+ element.target === '_blank'
+ );
+ options.href = element.href;
+
+ if (!options.new_tab) {
+ evt.preventDefault();
+ }
+};
+
+LinkTracker.prototype.after_track_handler = function(props, options) {
+ if (options.new_tab) { return; }
+
+ setTimeout(function() {
+ window$1.location = options.href;
+ }, 0);
+};
+
+/**
+ * FormTracker Object
+ * @constructor
+ * @extends DomTracker
+ */
+var FormTracker = function() {
+ this.override_event = 'submit';
+};
+_.inherit(FormTracker, DomTracker);
+
+FormTracker.prototype.event_handler = function(evt, element, options) {
+ options.element = element;
+ evt.preventDefault();
+};
+
+FormTracker.prototype.after_track_handler = function(props, options) {
+ setTimeout(function() {
+ options.element.submit();
+ }, 0);
+};
+
+/**
+ * Mixpanel Persistence Object
+ * @constructor
+ */
+var MixpanelPersistence = function(config) {
+ this['props'] = {};
+ this.campaign_params_saved = false;
+
+ if (config['persistence_name']) {
+ this.name = 'mp_' + config['persistence_name'];
+ } else {
+ this.name = 'mp_' + config['token'] + '_mixpanel';
+ }
+
+ var storage_type = config['persistence'];
+ if (storage_type !== 'cookie' && storage_type !== 'localStorage') {
+ console$1.critical('Unknown persistence type ' + storage_type + '; falling back to cookie');
+ storage_type = config['persistence'] = 'cookie';
+ }
+
+ if (storage_type === 'localStorage' && _.localStorage.is_supported()) {
+ this.storage = _.localStorage;
+ } else {
+ this.storage = _.cookie;
+ }
+
+ this.load();
+ this.update_config(config);
+ this.upgrade(config);
+ this.save();
+};
+
+MixpanelPersistence.prototype.properties = function() {
+ var p = {};
+ // Filter out reserved properties
+ _.each(this['props'], function(v, k) {
+ if (!_.include(RESERVED_PROPERTIES, k)) {
+ p[k] = v;
+ }
+ });
+ return p;
+};
+
+MixpanelPersistence.prototype.load = function() {
+ if (this.disabled) { return; }
+
+ var entry = this.storage.parse(this.name);
+
+ if (entry) {
+ this['props'] = _.extend({}, entry);
+ }
+};
+
+MixpanelPersistence.prototype.upgrade = function(config) {
+ var upgrade_from_old_lib = config['upgrade'],
+ old_cookie_name,
+ old_cookie;
+
+ if (upgrade_from_old_lib) {
+ old_cookie_name = 'mp_super_properties';
+ // Case where they had a custom cookie name before.
+ if (typeof(upgrade_from_old_lib) === 'string') {
+ old_cookie_name = upgrade_from_old_lib;
+ }
+
+ old_cookie = this.storage.parse(old_cookie_name);
+
+ // remove the cookie
+ this.storage.remove(old_cookie_name);
+ this.storage.remove(old_cookie_name, true);
+
+ if (old_cookie) {
+ this['props'] = _.extend(
+ this['props'],
+ old_cookie['all'],
+ old_cookie['events']
+ );
+ }
+ }
+
+ if (!config['cookie_name'] && config['name'] !== 'mixpanel') {
+ // special case to handle people with cookies of the form
+ // mp_TOKEN_INSTANCENAME from the first release of this library
+ old_cookie_name = 'mp_' + config['token'] + '_' + config['name'];
+ old_cookie = this.storage.parse(old_cookie_name);
+
+ if (old_cookie) {
+ this.storage.remove(old_cookie_name);
+ this.storage.remove(old_cookie_name, true);
+
+ // Save the prop values that were in the cookie from before -
+ // this should only happen once as we delete the old one.
+ this.register_once(old_cookie);
+ }
+ }
+
+ if (this.storage === _.localStorage) {
+ old_cookie = _.cookie.parse(this.name);
+
+ _.cookie.remove(this.name);
+ _.cookie.remove(this.name, true);
+
+ if (old_cookie) {
+ this.register_once(old_cookie);
+ }
+ }
+};
+
+MixpanelPersistence.prototype.save = function() {
+ if (this.disabled) { return; }
+ this._expire_notification_campaigns();
+ this.storage.set(
+ this.name,
+ _.JSONEncode(this['props']),
+ this.expire_days,
+ this.cross_subdomain,
+ this.secure
+ );
+};
+
+MixpanelPersistence.prototype.remove = function() {
+ // remove both domain and subdomain cookies
+ this.storage.remove(this.name, false);
+ this.storage.remove(this.name, true);
+};
+
+// removes the storage entry and deletes all loaded data
+// forced name for tests
+MixpanelPersistence.prototype.clear = function() {
+ this.remove();
+ this['props'] = {};
+};
+
+/**
+ * @param {Object} props
+ * @param {*=} default_value
+ * @param {number=} days
+ */
+MixpanelPersistence.prototype.register_once = function(props, default_value, days) {
+ if (_.isObject(props)) {
+ if (typeof(default_value) === 'undefined') { default_value = 'None'; }
+ this.expire_days = (typeof(days) === 'undefined') ? this.default_expiry : days;
+
+ _.each(props, function(val, prop) {
+ if (!this['props'].hasOwnProperty(prop) || this['props'][prop] === default_value) {
+ this['props'][prop] = val;
+ }
+ }, this);
+
+ this.save();
+
+ return true;
+ }
+ return false;
+};
+
+/**
+ * @param {Object} props
+ * @param {number=} days
+ */
+MixpanelPersistence.prototype.register = function(props, days) {
+ if (_.isObject(props)) {
+ this.expire_days = (typeof(days) === 'undefined') ? this.default_expiry : days;
+
+ _.extend(this['props'], props);
+
+ this.save();
+
+ return true;
+ }
+ return false;
+};
+
+MixpanelPersistence.prototype.unregister = function(prop) {
+ if (prop in this['props']) {
+ delete this['props'][prop];
+ this.save();
+ }
+};
+
+MixpanelPersistence.prototype._expire_notification_campaigns = _.safewrap(function() {
+ var campaigns_shown = this['props'][CAMPAIGN_IDS_KEY],
+ EXPIRY_TIME = Config.DEBUG ? 60 * 1000 : 60 * 60 * 1000; // 1 minute (Config.DEBUG) / 1 hour (PDXN)
+ if (!campaigns_shown) {
+ return;
+ }
+ for (var campaign_id in campaigns_shown) {
+ if (1 * new Date() - campaigns_shown[campaign_id] > EXPIRY_TIME) {
+ delete campaigns_shown[campaign_id];
+ }
+ }
+ if (_.isEmptyObject(campaigns_shown)) {
+ delete this['props'][CAMPAIGN_IDS_KEY];
+ }
+});
+
+MixpanelPersistence.prototype.update_campaign_params = function() {
+ if (!this.campaign_params_saved) {
+ this.register_once(_.info.campaignParams());
+ this.campaign_params_saved = true;
+ }
+};
+
+MixpanelPersistence.prototype.update_search_keyword = function(referrer) {
+ this.register(_.info.searchInfo(referrer));
+};
+
+// EXPORTED METHOD, we test this directly.
+MixpanelPersistence.prototype.update_referrer_info = function(referrer) {
+ // If referrer doesn't exist, we want to note the fact that it was type-in traffic.
+ this.register_once({
+ '$initial_referrer': referrer || '$direct',
+ '$initial_referring_domain': _.info.referringDomain(referrer) || '$direct'
+ }, '');
+};
+
+MixpanelPersistence.prototype.get_referrer_info = function() {
+ return _.strip_empty_properties({
+ '$initial_referrer': this['props']['$initial_referrer'],
+ '$initial_referring_domain': this['props']['$initial_referring_domain']
+ });
+};
+
+// safely fills the passed in object with stored properties,
+// does not override any properties defined in both
+// returns the passed in object
+MixpanelPersistence.prototype.safe_merge = function(props) {
+ _.each(this['props'], function(val, prop) {
+ if (!(prop in props)) {
+ props[prop] = val;
+ }
+ });
+
+ return props;
+};
+
+MixpanelPersistence.prototype.update_config = function(config) {
+ this.default_expiry = this.expire_days = config['cookie_expiration'];
+ this.set_disabled(config['disable_persistence']);
+ this.set_cross_subdomain(config['cross_subdomain_cookie']);
+ this.set_secure(config['secure_cookie']);
+};
+
+MixpanelPersistence.prototype.set_disabled = function(disabled) {
+ this.disabled = disabled;
+ if (this.disabled) {
+ this.remove();
+ } else {
+ this.save();
+ }
+};
+
+MixpanelPersistence.prototype.set_cross_subdomain = function(cross_subdomain) {
+ if (cross_subdomain !== this.cross_subdomain) {
+ this.cross_subdomain = cross_subdomain;
+ this.remove();
+ this.save();
+ }
+};
+
+MixpanelPersistence.prototype.get_cross_subdomain = function() {
+ return this.cross_subdomain;
+};
+
+MixpanelPersistence.prototype.set_secure = function(secure) {
+ if (secure !== this.secure) {
+ this.secure = secure ? true : false;
+ this.remove();
+ this.save();
+ }
+};
+
+MixpanelPersistence.prototype._add_to_people_queue = function(queue, data) {
+ var q_key = this._get_queue_key(queue),
+ q_data = data[queue],
+ set_q = this._get_or_create_queue(SET_ACTION),
+ set_once_q = this._get_or_create_queue(SET_ONCE_ACTION),
+ unset_q = this._get_or_create_queue(UNSET_ACTION),
+ add_q = this._get_or_create_queue(ADD_ACTION),
+ union_q = this._get_or_create_queue(UNION_ACTION),
+ append_q = this._get_or_create_queue(APPEND_ACTION, []);
+
+ if (q_key === SET_QUEUE_KEY) {
+ // Update the set queue - we can override any existing values
+ _.extend(set_q, q_data);
+ // if there was a pending increment, override it
+ // with the set.
+ this._pop_from_people_queue(ADD_ACTION, q_data);
+ // if there was a pending union, override it
+ // with the set.
+ this._pop_from_people_queue(UNION_ACTION, q_data);
+ this._pop_from_people_queue(UNSET_ACTION, q_data);
+ } else if (q_key === SET_ONCE_QUEUE_KEY) {
+ // only queue the data if there is not already a set_once call for it.
+ _.each(q_data, function(v, k) {
+ if (!(k in set_once_q)) {
+ set_once_q[k] = v;
+ }
+ });
+ this._pop_from_people_queue(UNSET_ACTION, q_data);
+ } else if (q_key === UNSET_QUEUE_KEY) {
+ _.each(q_data, function(prop) {
+
+ // undo previously-queued actions on this key
+ _.each([set_q, set_once_q, add_q, union_q], function(enqueued_obj) {
+ if (prop in enqueued_obj) {
+ delete enqueued_obj[prop];
+ }
+ });
+ _.each(append_q, function(append_obj) {
+ if (prop in append_obj) {
+ delete append_obj[prop];
+ }
+ });
+
+ unset_q[prop] = true;
+
+ });
+ } else if (q_key === ADD_QUEUE_KEY) {
+ _.each(q_data, function(v, k) {
+ // If it exists in the set queue, increment
+ // the value
+ if (k in set_q) {
+ set_q[k] += v;
+ } else {
+ // If it doesn't exist, update the add
+ // queue
+ if (!(k in add_q)) {
+ add_q[k] = 0;
+ }
+ add_q[k] += v;
+ }
+ }, this);
+ this._pop_from_people_queue(UNSET_ACTION, q_data);
+ } else if (q_key === UNION_QUEUE_KEY) {
+ _.each(q_data, function(v, k) {
+ if (_.isArray(v)) {
+ if (!(k in union_q)) {
+ union_q[k] = [];
+ }
+ // We may send duplicates, the server will dedup them.
+ union_q[k] = union_q[k].concat(v);
+ }
+ });
+ this._pop_from_people_queue(UNSET_ACTION, q_data);
+ } else if (q_key === APPEND_QUEUE_KEY) {
+ append_q.push(q_data);
+ this._pop_from_people_queue(UNSET_ACTION, q_data);
+ }
+
+ console$1.log('MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):');
+ console$1.log(data);
+
+ this.save();
+};
+
+MixpanelPersistence.prototype._pop_from_people_queue = function(queue, data) {
+ var q = this._get_queue(queue);
+ if (!_.isUndefined(q)) {
+ _.each(data, function(v, k) {
+ delete q[k];
+ }, this);
+
+ this.save();
+ }
+};
+
+MixpanelPersistence.prototype._get_queue_key = function(queue) {
+ if (queue === SET_ACTION) {
+ return SET_QUEUE_KEY;
+ } else if (queue === SET_ONCE_ACTION) {
+ return SET_ONCE_QUEUE_KEY;
+ } else if (queue === UNSET_ACTION) {
+ return UNSET_QUEUE_KEY;
+ } else if (queue === ADD_ACTION) {
+ return ADD_QUEUE_KEY;
+ } else if (queue === APPEND_ACTION) {
+ return APPEND_QUEUE_KEY;
+ } else if (queue === UNION_ACTION) {
+ return UNION_QUEUE_KEY;
+ } else {
+ console$1.error('Invalid queue:', queue);
+ }
+};
+
+MixpanelPersistence.prototype._get_queue = function(queue) {
+ return this['props'][this._get_queue_key(queue)];
+};
+MixpanelPersistence.prototype._get_or_create_queue = function(queue, default_val) {
+ var key = this._get_queue_key(queue);
+ default_val = _.isUndefined(default_val) ? {} : default_val;
+
+ return this['props'][key] || (this['props'][key] = default_val);
+};
+
+MixpanelPersistence.prototype.set_event_timer = function(event_name, timestamp) {
+ var timers = this['props'][EVENT_TIMERS_KEY] || {};
+ timers[event_name] = timestamp;
+ this['props'][EVENT_TIMERS_KEY] = timers;
+ this.save();
+};
+
+MixpanelPersistence.prototype.remove_event_timer = function(event_name) {
+ var timers = this['props'][EVENT_TIMERS_KEY] || {};
+ var timestamp = timers[event_name];
+ if (!_.isUndefined(timestamp)) {
+ delete this['props'][EVENT_TIMERS_KEY][event_name];
+ this.save();
+ }
+ return timestamp;
+};
+
+/**
+ * Mixpanel Library Object
+ * @constructor
+ */
+var MixpanelLib = function() {};
+
+/**
+ * Mixpanel People Object
+ * @constructor
+ */
+var MixpanelPeople = function() {};
+
+var MPNotif;
+
+/**
+ * create_mplib(token:string, config:object, name:string)
+ *
+ * This function is used by the init method of MixpanelLib objects
+ * as well as the main initializer at the end of the JSLib (that
+ * initializes document.mixpanel as well as any additional instances
+ * declared before this file has loaded).
+ */
+var create_mplib = function(token, config, name) {
+ var instance,
+ target = (name === PRIMARY_INSTANCE_NAME) ? mixpanel_master : mixpanel_master[name];
+
+ if (target && init_type === INIT_MODULE) {
+ instance = target;
+ } else {
+ if (target && !_.isArray(target)) {
+ console$1.error('You have already initialized ' + name);
+ return;
+ }
+ instance = new MixpanelLib();
+ }
+
+ instance._init(token, config, name);
+
+ instance['people'] = new MixpanelPeople();
+ instance['people']._init(instance);
+
+ // if any instance on the page has debug = true, we set the
+ // global debug to be true
+ Config.DEBUG = Config.DEBUG || instance.get_config('debug');
+
+ instance['__autotrack_enabled'] = instance.get_config('autotrack');
+ if (instance.get_config('autotrack')) {
+ var num_buckets = 100;
+ var num_enabled_buckets = 100;
+ if (!autotrack.enabledForProject(instance.get_config('token'), num_buckets, num_enabled_buckets)) {
+ instance['__autotrack_enabled'] = false;
+ console$1.log('Not in active bucket: disabling Automatic Event Collection.');
+ } else if (!autotrack.isBrowserSupported()) {
+ instance['__autotrack_enabled'] = false;
+ console$1.log('Disabling Automatic Event Collection because this browser is not supported');
+ } else {
+ autotrack.init(instance);
+ }
+ }
+
+ // if target is not defined, we called init after the lib already
+ // loaded, so there won't be an array of things to execute
+ if (!_.isUndefined(target) && _.isArray(target)) {
+ // Crunch through the people queue first - we queue this data up &
+ // flush on identify, so it's better to do all these operations first
+ instance._execute_array.call(instance['people'], target['people']);
+ instance._execute_array(target);
+ }
+
+ return instance;
+};
+
+// Initialization methods
+
+/**
+ * This function initializes a new instance of the Mixpanel tracking object.
+ * All new instances are added to the main mixpanel object as sub properties (such as
+ * mixpanel.library_name) and also returned by this function. To define a
+ * second instance on the page, you would call:
+ *
+ * mixpanel.init('new token', { your: 'config' }, 'library_name');
+ *
+ * and use it like so:
+ *
+ * mixpanel.library_name.track(...);
+ *
+ * @param {String} token Your Mixpanel API token
+ * @param {Object} [config] A dictionary of config options to override. See a list of default config options .
+ * @param {String} [name] The name for the new mixpanel instance that you want created
+ */
+MixpanelLib.prototype.init = function (token, config, name) {
+ if (_.isUndefined(name)) {
+ console$1.error('You must name your new library: init(token, config, name)');
+ return;
+ }
+ if (name === PRIMARY_INSTANCE_NAME) {
+ console$1.error('You must initialize the main mixpanel object right after you include the Mixpanel js snippet');
+ return;
+ }
+
+ var instance = create_mplib(token, config, name);
+ mixpanel_master[name] = instance;
+ instance._loaded();
+
+ return instance;
+};
+
+// mixpanel._init(token:string, config:object, name:string)
+//
+// This function sets up the current instance of the mixpanel
+// library. The difference between this method and the init(...)
+// method is this one initializes the actual instance, whereas the
+// init(...) method sets up a new library and calls _init on it.
+//
+MixpanelLib.prototype._init = function(token, config, name) {
+ this['__loaded'] = true;
+ this['config'] = {};
+
+ this.set_config(_.extend({}, DEFAULT_CONFIG, config, {
+ 'name': name,
+ 'token': token,
+ 'callback_fn': ((name === PRIMARY_INSTANCE_NAME) ? name : PRIMARY_INSTANCE_NAME + '.' + name) + '._jsc'
+ }));
+
+ this['_jsc'] = function() {};
+
+ this.__dom_loaded_queue = [];
+ this.__request_queue = [];
+ this.__disabled_events = [];
+ this._flags = {
+ 'disable_all_events': false,
+ 'identify_called': false
+ };
+
+ this['persistence'] = this['cookie'] = new MixpanelPersistence(this['config']);
+ this._init_gdpr_persistence();
+
+ this.register_once({'distinct_id': _.UUID()}, '');
+};
+
+// Private methods
+
+MixpanelLib.prototype._update_persistence = function() {
+ var disablePersistence = this.get_config('disable_persistence') || this.has_opted_out_tracking();
+ if (this['persistence'].disabled !== disablePersistence) {
+ this['persistence'].set_disabled(disablePersistence);
+ }
+};
+
+MixpanelLib.prototype._loaded = function() {
+ this.get_config('loaded')(this);
+
+ // this happens after so a user can call identify/name_tag in
+ // the loaded callback
+ if (this.get_config('track_pageview')) {
+ this.track_pageview();
+ }
+};
+
+MixpanelLib.prototype._dom_loaded = function() {
+ _.each(this.__dom_loaded_queue, function(item) {
+ this._track_dom.apply(this, item);
+ }, this);
+
+ if (!this.has_opted_out_tracking()) {
+ _.each(this.__request_queue, function(item) {
+ this._send_request.apply(this, item);
+ }, this);
+ }
+
+ delete this.__dom_loaded_queue;
+ delete this.__request_queue;
+};
+
+MixpanelLib.prototype._track_dom = function(DomClass, args) {
+ if (this.get_config('img')) {
+ console$1.error('You can\'t use DOM tracking functions with img = true.');
+ return false;
+ }
+
+ if (!DOM_LOADED) {
+ this.__dom_loaded_queue.push([DomClass, args]);
+ return false;
+ }
+
+ var dt = new DomClass().init(this);
+ return dt.track.apply(dt, args);
+};
+
+/**
+ * _prepare_callback() should be called by callers of _send_request for use
+ * as the callback argument.
+ *
+ * If there is no callback, this returns null.
+ * If we are going to make XHR/XDR requests, this returns a function.
+ * If we are going to use script tags, this returns a string to use as the
+ * callback GET param.
+ */
+MixpanelLib.prototype._prepare_callback = function(callback, data) {
+ if (_.isUndefined(callback)) {
+ return null;
+ }
+
+ if (USE_XHR) {
+ var callback_function = function(response) {
+ callback(response, data);
+ };
+ return callback_function;
+ } else {
+ // if the user gives us a callback, we store as a random
+ // property on this instances jsc function and update our
+ // callback string to reflect that.
+ var jsc = this['_jsc'];
+ var randomized_cb = '' + Math.floor(Math.random() * 100000000);
+ var callback_string = this.get_config('callback_fn') + '[' + randomized_cb + ']';
+ jsc[randomized_cb] = function(response) {
+ delete jsc[randomized_cb];
+ callback(response, data);
+ };
+ return callback_string;
+ }
+};
+
+MixpanelLib.prototype._send_request = function(url, data, callback) {
+ if (ENQUEUE_REQUESTS) {
+ this.__request_queue.push(arguments);
+ return;
+ }
+
+ // needed to correctly format responses
+ var verbose_mode = this.get_config('verbose');
+ if (data['verbose']) { verbose_mode = true; }
+
+ if (this.get_config('test')) { data['test'] = 1; }
+ if (verbose_mode) { data['verbose'] = 1; }
+ if (this.get_config('img')) { data['img'] = 1; }
+ if (!USE_XHR) {
+ if (callback) {
+ data['callback'] = callback;
+ } else if (verbose_mode || this.get_config('test')) {
+ // Verbose output (from verbose mode, or an error in test mode) is a json blob,
+ // which by itself is not valid javascript. Without a callback, this verbose output will
+ // cause an error when returned via jsonp, so we force a no-op callback param.
+ // See the ECMA script spec: http://www.ecma-international.org/ecma-262/5.1/#sec-12.4
+ data['callback'] = '(function(){})';
+ }
+ }
+
+ data['ip'] = this.get_config('ip')?1:0;
+ data['_'] = new Date().getTime().toString();
+ url += '?' + _.HTTPBuildQuery(data);
+
+ if ('img' in data) {
+ var img = document$1.createElement('img');
+ img.src = url;
+ document$1.body.appendChild(img);
+ } else if (USE_XHR) {
+ try {
+ var req = new XMLHttpRequest();
+ req.open('GET', url, true);
+
+ var headers = this.get_config('xhr_headers');
+ _.each(headers, function(headerValue, headerName) {
+ req.setRequestHeader(headerName, headerValue);
+ });
+
+ // send the mp_optout cookie
+ // withCredentials cannot be modified until after calling .open on Android and Mobile Safari
+ req.withCredentials = true;
+ req.onreadystatechange = function () {
+ if (req.readyState === 4) { // XMLHttpRequest.DONE == 4, except in safari 4
+ if (req.status === 200) {
+ if (callback) {
+ if (verbose_mode) {
+ var response;
+ try {
+ response = _.JSONDecode(req.responseText);
+ } catch (e) {
+ console$1.error(e);
+ return;
+ }
+ callback(response);
+ } else {
+ callback(Number(req.responseText));
+ }
+ }
+ } else {
+ var error = 'Bad HTTP status: ' + req.status + ' ' + req.statusText;
+ console$1.error(error);
+ if (callback) {
+ if (verbose_mode) {
+ callback({status: 0, error: error});
+ } else {
+ callback(0);
+ }
+ }
+ }
+ }
+ };
+ req.send(null);
+ } catch (e) {
+ console$1.error(e);
+ }
+ } else {
+ var script = document$1.createElement('script');
+ script.type = 'text/javascript';
+ script.async = true;
+ script.defer = true;
+ script.src = url;
+ var s = document$1.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(script, s);
+ }
+};
+
+/**
+ * _execute_array() deals with processing any mixpanel function
+ * calls that were called before the Mixpanel library were loaded
+ * (and are thus stored in an array so they can be called later)
+ *
+ * Note: we fire off all the mixpanel function calls && user defined
+ * functions BEFORE we fire off mixpanel tracking calls. This is so
+ * identify/register/set_config calls can properly modify early
+ * tracking calls.
+ *
+ * @param {Array} array
+ */
+MixpanelLib.prototype._execute_array = function(array) {
+ var fn_name, alias_calls = [], other_calls = [], tracking_calls = [];
+ _.each(array, function(item) {
+ if (item) {
+ fn_name = item[0];
+ if (typeof(item) === 'function') {
+ item.call(this);
+ } else if (_.isArray(item) && fn_name === 'alias') {
+ alias_calls.push(item);
+ } else if (_.isArray(item) && fn_name.indexOf('track') !== -1 && typeof(this[fn_name]) === 'function') {
+ tracking_calls.push(item);
+ } else {
+ other_calls.push(item);
+ }
+ }
+ }, this);
+
+ var execute = function(calls, context) {
+ _.each(calls, function(item) {
+ this[item[0]].apply(this, item.slice(1));
+ }, context);
+ };
+
+ execute(alias_calls, this);
+ execute(other_calls, this);
+ execute(tracking_calls, this);
+};
+
+/**
+ * push() keeps the standard async-array-push
+ * behavior around after the lib is loaded.
+ * This is only useful for external integrations that
+ * do not wish to rely on our convenience methods
+ * (created in the snippet).
+ *
+ * ### Usage:
+ * mixpanel.push(['register', { a: 'b' }]);
+ *
+ * @param {Array} item A [function_name, args...] array to be executed
+ */
+MixpanelLib.prototype.push = function(item) {
+ this._execute_array([item]);
+};
+
+/**
+ * Disable events on the Mixpanel object. If passed no arguments,
+ * this function disables tracking of any event. If passed an
+ * array of event names, those events will be disabled, but other
+ * events will continue to be tracked.
+ *
+ * Note: this function does not stop other mixpanel functions from
+ * firing, such as register() or people.set().
+ *
+ * @param {Array} [events] An array of event names to disable
+ */
+MixpanelLib.prototype.disable = function(events) {
+ if (typeof(events) === 'undefined') {
+ this._flags.disable_all_events = true;
+ } else {
+ this.__disabled_events = this.__disabled_events.concat(events);
+ }
+};
+
+/**
+ * Track an event. This is the most important and
+ * frequently used Mixpanel function.
+ *
+ * ### Usage:
+ *
+ * // track an event named 'Registered'
+ * mixpanel.track('Registered', {'Gender': 'Male', 'Age': 21});
+ *
+ * To track link clicks or form submissions, see track_links() or track_forms().
+ *
+ * @param {String} event_name The name of the event. This can be anything the user does - 'Button Click', 'Sign Up', 'Item Purchased', etc.
+ * @param {Object} [properties] A set of properties to include with the event you're sending. These describe the user who did the event or details about the event itself.
+ * @param {Function} [callback] If provided, the callback function will be called after tracking the event.
+ */
+MixpanelLib.prototype.track = addOptOutCheckMixpanelLib(function(event_name, properties, callback) {
+ if (typeof(callback) !== 'function') {
+ callback = function() {};
+ }
+
+ if (_.isUndefined(event_name)) {
+ console$1.error('No event name provided to mixpanel.track');
+ return;
+ }
+
+ if (this._event_is_disabled(event_name)) {
+ callback(0);
+ return;
+ }
+
+ // set defaults
+ properties = properties || {};
+ properties['token'] = this.get_config('token');
+
+ // set $duration if time_event was previously called for this event
+ var start_timestamp = this['persistence'].remove_event_timer(event_name);
+ if (!_.isUndefined(start_timestamp)) {
+ var duration_in_ms = new Date().getTime() - start_timestamp;
+ properties['$duration'] = parseFloat((duration_in_ms / 1000).toFixed(3));
+ }
+
+ // update persistence
+ this['persistence'].update_search_keyword(document$1.referrer);
+
+ if (this.get_config('store_google')) { this['persistence'].update_campaign_params(); }
+ if (this.get_config('save_referrer')) { this['persistence'].update_referrer_info(document$1.referrer); }
+
+ // note: extend writes to the first object, so lets make sure we
+ // don't write to the persistence properties object and info
+ // properties object by passing in a new object
+
+ // update properties with pageview info and super-properties
+ properties = _.extend(
+ {},
+ _.info.properties(),
+ this['persistence'].properties(),
+ properties
+ );
+
+ var property_blacklist = this.get_config('property_blacklist');
+ if (_.isArray(property_blacklist)) {
+ _.each(property_blacklist, function(blacklisted_prop) {
+ delete properties[blacklisted_prop];
+ });
+ } else {
+ console$1.error('Invalid value for property_blacklist config: ' + property_blacklist);
+ }
+
+ var data = {
+ 'event': event_name,
+ 'properties': properties
+ };
+
+ var truncated_data = _.truncate(data, 255);
+ var json_data = _.JSONEncode(truncated_data);
+ var encoded_data = _.base64Encode(json_data);
+
+ console$1.log('MIXPANEL REQUEST:');
+ console$1.log(truncated_data);
+
+ this._send_request(
+ this.get_config('api_host') + '/track/',
+ { 'data': encoded_data },
+ this._prepare_callback(callback, truncated_data)
+ );
+
+ return truncated_data;
+});
+
+/**
+ * Track a page view event, which is currently ignored by the server.
+ * This function is called by default on page load unless the
+ * track_pageview configuration variable is false.
+ *
+ * @param {String} [page] The url of the page to record. If you don't include this, it defaults to the current url.
+ * @api private
+ */
+MixpanelLib.prototype.track_pageview = function(page) {
+ if (_.isUndefined(page)) {
+ page = document$1.location.href;
+ }
+ this.track('mp_page_view', _.info.pageviewInfo(page));
+};
+
+/**
+ * Track clicks on a set of document elements. Selector must be a
+ * valid query. Elements must exist on the page at the time track_links is called.
+ *
+ * ### Usage:
+ *
+ * // track click for link id #nav
+ * mixpanel.track_links('#nav', 'Clicked Nav Link');
+ *
+ * ### Notes:
+ *
+ * This function will wait up to 300 ms for the Mixpanel
+ * servers to respond. If they have not responded by that time
+ * it will head to the link without ensuring that your event
+ * has been tracked. To configure this timeout please see the
+ * set_config() documentation below.
+ *
+ * If you pass a function in as the properties argument, the
+ * function will receive the DOMElement that triggered the
+ * event as an argument. You are expected to return an object
+ * from the function; any properties defined on this object
+ * will be sent to mixpanel as event properties.
+ *
+ * @type {Function}
+ * @param {Object|String} query A valid DOM query, element or jQuery-esque list
+ * @param {String} event_name The name of the event to track
+ * @param {Object|Function} [properties] A properties object or function that returns a dictionary of properties when passed a DOMElement
+ */
+MixpanelLib.prototype.track_links = function() {
+ return this._track_dom.call(this, LinkTracker, arguments);
+};
+
+/**
+ * Track form submissions. Selector must be a valid query.
+ *
+ * ### Usage:
+ *
+ * // track submission for form id 'register'
+ * mixpanel.track_forms('#register', 'Created Account');
+ *
+ * ### Notes:
+ *
+ * This function will wait up to 300 ms for the mixpanel
+ * servers to respond, if they have not responded by that time
+ * it will head to the link without ensuring that your event
+ * has been tracked. To configure this timeout please see the
+ * set_config() documentation below.
+ *
+ * If you pass a function in as the properties argument, the
+ * function will receive the DOMElement that triggered the
+ * event as an argument. You are expected to return an object
+ * from the function; any properties defined on this object
+ * will be sent to mixpanel as event properties.
+ *
+ * @type {Function}
+ * @param {Object|String} query A valid DOM query, element or jQuery-esque list
+ * @param {String} event_name The name of the event to track
+ * @param {Object|Function} [properties] This can be a set of properties, or a function that returns a set of properties after being passed a DOMElement
+ */
+MixpanelLib.prototype.track_forms = function() {
+ return this._track_dom.call(this, FormTracker, arguments);
+};
+
+/**
+ * Time an event by including the time between this call and a
+ * later 'track' call for the same event in the properties sent
+ * with the event.
+ *
+ * ### Usage:
+ *
+ * // time an event named 'Registered'
+ * mixpanel.time_event('Registered');
+ * mixpanel.track('Registered', {'Gender': 'Male', 'Age': 21});
+ *
+ * When called for a particular event name, the next track call for that event
+ * name will include the elapsed time between the 'time_event' and 'track'
+ * calls. This value is stored as seconds in the '$duration' property.
+ *
+ * @param {String} event_name The name of the event.
+ */
+MixpanelLib.prototype.time_event = function(event_name) {
+ if (_.isUndefined(event_name)) {
+ console$1.error('No event name provided to mixpanel.time_event');
+ return;
+ }
+
+ if (this._event_is_disabled(event_name)) {
+ return;
+ }
+
+ this['persistence'].set_event_timer(event_name, new Date().getTime());
+};
+
+/**
+ * Register a set of super properties, which are included with all
+ * events. This will overwrite previous super property values.
+ *
+ * ### Usage:
+ *
+ * // register 'Gender' as a super property
+ * mixpanel.register({'Gender': 'Female'});
+ *
+ * // register several super properties when a user signs up
+ * mixpanel.register({
+ * 'Email': 'jdoe@example.com',
+ * 'Account Type': 'Free'
+ * });
+ *
+ * @param {Object} properties An associative array of properties to store about the user
+ * @param {Number} [days] How many days since the user's last visit to store the super properties
+ */
+MixpanelLib.prototype.register = function(props, days) {
+ this['persistence'].register(props, days);
+};
+
+/**
+ * Register a set of super properties only once. This will not
+ * overwrite previous super property values, unlike register().
+ *
+ * ### Usage:
+ *
+ * // register a super property for the first time only
+ * mixpanel.register_once({
+ * 'First Login Date': new Date().toISOString()
+ * });
+ *
+ * ### Notes:
+ *
+ * If default_value is specified, current super properties
+ * with that value will be overwritten.
+ *
+ * @param {Object} properties An associative array of properties to store about the user
+ * @param {*} [default_value] Value to override if already set in super properties (ex: 'False') Default: 'None'
+ * @param {Number} [days] How many days since the users last visit to store the super properties
+ */
+MixpanelLib.prototype.register_once = function(props, default_value, days) {
+ this['persistence'].register_once(props, default_value, days);
+};
+
+/**
+ * Delete a super property stored with the current user.
+ *
+ * @param {String} property The name of the super property to remove
+ */
+MixpanelLib.prototype.unregister = function(property) {
+ this['persistence'].unregister(property);
+};
+
+MixpanelLib.prototype._register_single = function(prop, value) {
+ var props = {};
+ props[prop] = value;
+ this.register(props);
+};
+
+/**
+ * Identify a user with a unique ID instead of a Mixpanel
+ * randomly generated distinct_id. If the method is never called,
+ * then unique visitors will be identified by a UUID generated
+ * the first time they visit the site.
+ *
+ * ### Notes:
+ *
+ * You can call this function to overwrite a previously set
+ * unique ID for the current user. Mixpanel cannot translate
+ * between IDs at this time, so when you change a user's ID
+ * they will appear to be a new user.
+ *
+ * When used alone, mixpanel.identify will change the user's
+ * distinct_id to the unique ID provided. When used in tandem
+ * with mixpanel.alias, it will allow you to identify based on
+ * unique ID and map that back to the original, anonymous
+ * distinct_id given to the user upon her first arrival to your
+ * site (thus connecting anonymous pre-signup activity to
+ * post-signup activity). Though the two work together, do not
+ * call identify() at the same time as alias(). Calling the two
+ * at the same time can cause a race condition, so it is best
+ * practice to call identify on the original, anonymous ID
+ * right after you've aliased it.
+ * Learn more about how mixpanel.identify and mixpanel.alias can be used .
+ *
+ * @param {String} [unique_id] A string that uniquely identifies a user. If not provided, the distinct_id currently in the persistent store (cookie or localStorage) will be used.
+ */
+MixpanelLib.prototype.identify = function(
+ unique_id, _set_callback, _add_callback, _append_callback, _set_once_callback, _union_callback, _unset_callback
+) {
+ // Optional Parameters
+ // _set_callback:function A callback to be run if and when the People set queue is flushed
+ // _add_callback:function A callback to be run if and when the People add queue is flushed
+ // _append_callback:function A callback to be run if and when the People append queue is flushed
+ // _set_once_callback:function A callback to be run if and when the People set_once queue is flushed
+ // _union_callback:function A callback to be run if and when the People union queue is flushed
+ // _unset_callback:function A callback to be run if and when the People unset queue is flushed
+
+ // identify only changes the distinct id if it doesn't match either the existing or the alias;
+ // if it's new, blow away the alias as well.
+ if (unique_id !== this.get_distinct_id() && unique_id !== this.get_property(ALIAS_ID_KEY)) {
+ this.unregister(ALIAS_ID_KEY);
+ this._register_single('distinct_id', unique_id);
+ }
+ this._check_and_handle_notifications(this.get_distinct_id());
+ this._flags.identify_called = true;
+ // Flush any queued up people requests
+ this['people']._flush(_set_callback, _add_callback, _append_callback, _set_once_callback, _union_callback, _unset_callback);
+};
+
+/**
+ * Clears super properties and generates a new random distinct_id for this instance.
+ * Useful for clearing data when a user logs out.
+ */
+MixpanelLib.prototype.reset = function() {
+ this['persistence'].clear();
+ this._flags.identify_called = false;
+ this.register_once({'distinct_id': _.UUID()}, '');
+};
+
+/**
+ * Returns the current distinct id of the user. This is either the id automatically
+ * generated by the library or the id that has been passed by a call to identify().
+ *
+ * ### Notes:
+ *
+ * get_distinct_id() can only be called after the Mixpanel library has finished loading.
+ * init() has a loaded function available to handle this automatically. For example:
+ *
+ * // set distinct_id after the mixpanel library has loaded
+ * mixpanel.init('YOUR PROJECT TOKEN', {
+ * loaded: function(mixpanel) {
+ * distinct_id = mixpanel.get_distinct_id();
+ * }
+ * });
+ */
+MixpanelLib.prototype.get_distinct_id = function() {
+ return this.get_property('distinct_id');
+};
+
+/**
+ * Create an alias, which Mixpanel will use to link two distinct_ids going forward (not retroactively).
+ * Multiple aliases can map to the same original ID, but not vice-versa. Aliases can also be chained - the
+ * following is a valid scenario:
+ *
+ * mixpanel.alias('new_id', 'existing_id');
+ * ...
+ * mixpanel.alias('newer_id', 'new_id');
+ *
+ * If the original ID is not passed in, we will use the current distinct_id - probably the auto-generated GUID.
+ *
+ * ### Notes:
+ *
+ * The best practice is to call alias() when a unique ID is first created for a user
+ * (e.g., when a user first registers for an account and provides an email address).
+ * alias() should never be called more than once for a given user, except to
+ * chain a newer ID to a previously new ID, as described above.
+ *
+ * @param {String} alias A unique identifier that you want to use for this user in the future.
+ * @param {String} [original] The current identifier being used for this user.
+ */
+MixpanelLib.prototype.alias = function(alias, original) {
+ // If the $people_distinct_id key exists in persistence, there has been a previous
+ // mixpanel.people.identify() call made for this user. It is VERY BAD to make an alias with
+ // this ID, as it will duplicate users.
+ if (alias === this.get_property(PEOPLE_DISTINCT_ID_KEY)) {
+ console$1.critical('Attempting to create alias for existing People user - aborting.');
+ return -2;
+ }
+
+ var _this = this;
+ if (_.isUndefined(original)) {
+ original = this.get_distinct_id();
+ }
+ if (alias !== original) {
+ this._register_single(ALIAS_ID_KEY, alias);
+ return this.track('$create_alias', { 'alias': alias, 'distinct_id': original }, function() {
+ // Flush the people queue
+ _this.identify(alias);
+ });
+ } else {
+ console$1.error('alias matches current distinct_id - skipping api call.');
+ this.identify(alias);
+ return -1;
+ }
+};
+
+/**
+ * Provide a string to recognize the user by. The string passed to
+ * this method will appear in the Mixpanel Streams product rather
+ * than an automatically generated name. Name tags do not have to
+ * be unique.
+ *
+ * This value will only be included in Streams data.
+ *
+ * @param {String} name_tag A human readable name for the user
+ * @api private
+ */
+MixpanelLib.prototype.name_tag = function(name_tag) {
+ this._register_single('mp_name_tag', name_tag);
+};
+
+/**
+ * Update the configuration of a mixpanel library instance.
+ *
+ * The default config is:
+ *
+ * {
+ * // super properties cookie expiration (in days)
+ * cookie_expiration: 365
+ *
+ * // super properties span subdomains
+ * cross_subdomain_cookie: true
+ *
+ * // debug mode
+ * debug: false
+ *
+ * // if this is true, the mixpanel cookie or localStorage entry
+ * // will be deleted, and no user persistence will take place
+ * disable_persistence: false
+ *
+ * // if this is true, Mixpanel will automatically determine
+ * // City, Region and Country data using the IP address of
+ * //the client
+ * ip: true
+ *
+ * // opt users out of tracking by this Mixpanel instance by default
+ * opt_out_tracking_by_default: false
+ *
+ * // persistence mechanism used by opt-in/opt-out methods - cookie
+ * // or localStorage - falls back to cookie if localStorage is unavailable
+ * opt_out_tracking_persistence_type: 'localStorage'
+ *
+ * // customize the name of cookie/localStorage set by opt-in/opt-out methods
+ * opt_out_tracking_cookie_prefix: null
+ *
+ * // type of persistent store for super properties (cookie/
+ * // localStorage) if set to 'localStorage', any existing
+ * // mixpanel cookie value with the same persistence_name
+ * // will be transferred to localStorage and deleted
+ * persistence: 'cookie'
+ *
+ * // name for super properties persistent store
+ * persistence_name: ''
+ *
+ * // names of properties/superproperties which should never
+ * // be sent with track() calls
+ * property_blacklist: []
+ *
+ * // if this is true, mixpanel cookies will be marked as
+ * // secure, meaning they will only be transmitted over https
+ * secure_cookie: false
+ *
+ * // the amount of time track_links will
+ * // wait for Mixpanel's servers to respond
+ * track_links_timeout: 300
+ *
+ * // should we track a page view on page load
+ * track_pageview: true
+ *
+ * // if you set upgrade to be true, the library will check for
+ * // a cookie from our old js library and import super
+ * // properties from it, then the old cookie is deleted
+ * // The upgrade config option only works in the initialization,
+ * // so make sure you set it when you create the library.
+ * upgrade: false
+ *
+ * // extra HTTP request headers to set for each API request, in
+ * // the format {'Header-Name': value}
+ * xhr_headers: {}
+ * }
+ *
+ *
+ * @param {Object} config A dictionary of new configuration values to update
+ */
+MixpanelLib.prototype.set_config = function(config) {
+ if (_.isObject(config)) {
+ _.extend(this['config'], config);
+
+ if (!this.get_config('persistence_name')) {
+ this['config']['persistence_name'] = this['config']['cookie_name'];
+ }
+ if (!this.get_config('disable_persistence')) {
+ this['config']['disable_persistence'] = this['config']['disable_cookie'];
+ }
+
+ if (this['persistence']) {
+ this['persistence'].update_config(this['config']);
+ }
+ Config.DEBUG = Config.DEBUG || this.get_config('debug');
+ }
+};
+
+/**
+ * returns the current config object for the library.
+ */
+MixpanelLib.prototype.get_config = function(prop_name) {
+ return this['config'][prop_name];
+};
+
+/**
+ * Returns the value of the super property named property_name. If no such
+ * property is set, get_property() will return the undefined value.
+ *
+ * ### Notes:
+ *
+ * get_property() can only be called after the Mixpanel library has finished loading.
+ * init() has a loaded function available to handle this automatically. For example:
+ *
+ * // grab value for 'user_id' after the mixpanel library has loaded
+ * mixpanel.init('YOUR PROJECT TOKEN', {
+ * loaded: function(mixpanel) {
+ * user_id = mixpanel.get_property('user_id');
+ * }
+ * });
+ *
+ * @param {String} property_name The name of the super property you want to retrieve
+ */
+MixpanelLib.prototype.get_property = function(property_name) {
+ return this['persistence']['props'][property_name];
+};
+
+MixpanelLib.prototype.toString = function() {
+ var name = this.get_config('name');
+ if (name !== PRIMARY_INSTANCE_NAME) {
+ name = PRIMARY_INSTANCE_NAME + '.' + name;
+ }
+ return name;
+};
+
+MixpanelLib.prototype._event_is_disabled = function(event_name) {
+ return _.isBlockedUA(userAgent) ||
+ this._flags.disable_all_events ||
+ _.include(this.__disabled_events, event_name);
+};
+
+MixpanelLib.prototype._check_and_handle_notifications = addOptOutCheckMixpanelLib(function(distinct_id) {
+ if (
+ !distinct_id ||
+ this._flags.identify_called ||
+ this.get_config('disable_notifications')
+ ) {
+ return;
+ }
+
+ console$1.log('MIXPANEL NOTIFICATION CHECK');
+
+ var data = {
+ 'verbose': true,
+ 'version': '2',
+ 'lib': 'web',
+ 'token': this.get_config('token'),
+ 'distinct_id': distinct_id
+ };
+ var self = this;
+ this._send_request(
+ this.get_config('api_host') + '/decide/',
+ data,
+ this._prepare_callback(function(r) {
+ if (r['notifications'] && r['notifications'].length > 0) {
+ self._show_notification.call(self, r['notifications'][0]);
+ }
+ })
+ );
+});
+
+MixpanelLib.prototype._show_notification = function(notification_data) {
+ var notification = new MPNotif(notification_data, this);
+ notification.show();
+};
+
+// perform some housekeeping around GDPR persistence of opt-in/out state
+MixpanelLib.prototype._init_gdpr_persistence = function() {
+ var is_localStorage_requested = this.get_config('opt_out_tracking_persistence_type') === 'localStorage';
+
+ // try to convert opt-in/out cookies to localStorage if possible
+ if (is_localStorage_requested && _.localStorage.is_supported()) {
+ if (!this.has_opted_in_tracking() && this.has_opted_in_tracking({'persistence_type': 'cookie'})) {
+ this.opt_in_tracking();
+ }
+ if (!this.has_opted_out_tracking() && this.has_opted_out_tracking({'persistence_type': 'cookie'})) {
+ this.opt_out_tracking();
+ }
+ this.clear_opt_in_out_tracking({'persistence_type': 'cookie'});
+ }
+
+ // check whether we should opt out by default and update persistence accordingly
+ if (this.get_config('opt_out_tracking_by_default') || _.cookie.get('mp_optout')) {
+ _.cookie.remove('mp_optout');
+ this.opt_out_tracking();
+ }
+ this._update_persistence();
+};
+
+// call a base gdpr function after constructing the appropriate token and options args
+MixpanelLib.prototype._call_gdpr_func = function(func, options) {
+ options = _.extend({
+ 'track': _.bind(this.track, this),
+ 'persistence_type': this.get_config('opt_out_tracking_persistence_type'),
+ 'cookie_prefix': this.get_config('opt_out_tracking_cookie_prefix'),
+ 'cookie_expiration': this.get_config('cookie_expiration'),
+ 'cross_subdomain_cookie': this.get_config('cross_subdomain_cookie'),
+ 'secure_cookie': this.get_config('secure_cookie')
+ }, options);
+
+ // check if localStorage can be used for recording opt out status, fall back to cookie if not
+ if (!_.localStorage.is_supported()) {
+ options['persistence_type'] = 'cookie';
+ }
+
+ return func(this.get_config('token'), {
+ track: options['track'],
+ trackEventName: options['track_event_name'],
+ trackProperties: options['track_properties'],
+ persistenceType: options['persistence_type'],
+ persistencePrefix: options['cookie_prefix'],
+ cookieExpiration: options['cookie_expiration'],
+ crossSubdomainCookie: options['cross_subdomain_cookie'],
+ secureCookie: options['secure_cookie']
+ });
+};
+
+/**
+ * Opt the user in to data tracking and cookies/localstorage for this Mixpanel instance
+ *
+ * ### Usage
+ *
+ * // opt user in
+ * mixpanel.opt_in_tracking();
+ *
+ * // opt user in with specific event name, properties, cookie configuration
+ * mixpanel.opt_in_tracking({
+ * track_event_name: 'User opted in',
+ * track_event_properties: {
+ * 'Email': 'jdoe@example.com'
+ * },
+ * cookie_expiration: 30,
+ * secure_cookie: true
+ * });
+ *
+ * @param {Object} [options] A dictionary of config options to override
+ * @param {function} [options.track] Function used for tracking a Mixpanel event to record the opt-in action (default is this Mixpanel instance's track method)
+ * @param {string} [options.track_event_name=$opt_in] Event name to be used for tracking the opt-in action
+ * @param {Object} [options.track_properties] Set of properties to be tracked along with the opt-in action
+ * @param {string} [options.persistence_type=localStorage] Persistence mechanism used - cookie or localStorage - falls back to cookie if localStorage is unavailable
+ * @param {string} [options.cookie_prefix=__mp_opt_in_out] Custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookie_expiration] Number of days until the opt-in cookie expires (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.cross_subdomain_cookie] Whether the opt-in cookie is set as cross-subdomain or not (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.secure_cookie] Whether the opt-in cookie is set as secure or not (overrides value specified in this Mixpanel instance's config)
+ */
+MixpanelLib.prototype.opt_in_tracking = function(options) {
+ this._call_gdpr_func(optIn, options);
+ this._update_persistence();
+};
+
+/**
+ * Opt the user out of data tracking and cookies/localstorage for this Mixpanel instance
+ *
+ * ### Usage
+ *
+ * // opt user out
+ * mixpanel.opt_out_tracking();
+ *
+ * // opt user out with different cookie configuration from Mixpanel instance
+ * mixpanel.opt_out_tracking({
+ * cookie_expiration: 30,
+ * secure_cookie: true
+ * });
+ *
+ * @param {Object} [options] A dictionary of config options to override
+ * @param {boolean} [options.delete_user=true] If true, will delete the currently identified user's profile and clear all charges after opting the user out
+ * @param {string} [options.persistence_type=localStorage] Persistence mechanism used - cookie or localStorage - falls back to cookie if localStorage is unavailable
+ * @param {string} [options.cookie_prefix=__mp_opt_in_out] Custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookie_expiration] Number of days until the opt-in cookie expires (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.cross_subdomain_cookie] Whether the opt-in cookie is set as cross-subdomain or not (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.secure_cookie] Whether the opt-in cookie is set as secure or not (overrides value specified in this Mixpanel instance's config)
+ */
+MixpanelLib.prototype.opt_out_tracking = function(options) {
+ // delete use and clear charges since these methods may be disabled by opt-out
+ options = _.extend({'delete_user': true}, options);
+ if (options['delete_user'] && this['people'] && this['people']._identify_called()) {
+ this['people'].delete_user();
+ this['people'].clear_charges();
+ }
+
+ this._call_gdpr_func(optOut, options);
+ this._update_persistence();
+};
+
+/**
+ * Check whether the user has opted in to data tracking and cookies/localstorage for this Mixpanel instance
+ *
+ * ### Usage
+ *
+ * var has_opted_in = mixpanel.has_opted_in_tracking();
+ * // use has_opted_in value
+ *
+ * @param {Object} [options] A dictionary of config options to override
+ * @param {string} [options.persistence_type=localStorage] Persistence mechanism used - cookie or localStorage - falls back to cookie if localStorage is unavailable
+ * @param {string} [options.cookie_prefix=__mp_opt_in_out] Custom prefix to be used in the cookie/localstorage name
+ * @returns {boolean} current opt-in status
+ */
+MixpanelLib.prototype.has_opted_in_tracking = function(options) {
+ return this._call_gdpr_func(hasOptedIn, options);
+};
+
+/**
+ * Check whether the user has opted out of data tracking and cookies/localstorage for this Mixpanel instance
+ *
+ * ### Usage
+ *
+ * var has_opted_out = mixpanel.has_opted_out_tracking();
+ * // use has_opted_out value
+ *
+ * @param {Object} [options] A dictionary of config options to override
+ * @param {string} [options.persistence_type=localStorage] Persistence mechanism used - cookie or localStorage - falls back to cookie if localStorage is unavailable
+ * @param {string} [options.cookie_prefix=__mp_opt_in_out] Custom prefix to be used in the cookie/localstorage name
+ * @returns {boolean} current opt-out status
+ */
+MixpanelLib.prototype.has_opted_out_tracking = function(options) {
+ return this._call_gdpr_func(hasOptedOut, options);
+};
+
+/**
+ * Clear the user's opt in/out status of data tracking and cookies/localstorage for this Mixpanel instance
+ *
+ * ### Usage
+ *
+ * // clear user's opt-in/out status
+ * mixpanel.clear_opt_in_out_tracking();
+ *
+ * // clear user's opt-in/out status with specific cookie configuration - should match
+ * // configuration used when opt_in_tracking/opt_out_tracking methods were called.
+ * mixpanel.clear_opt_in_out_tracking({
+ * cookie_expiration: 30,
+ * secure_cookie: true
+ * });
+ *
+ * @param {Object} [options] A dictionary of config options to override
+ * @param {string} [options.persistence_type=localStorage] Persistence mechanism used - cookie or localStorage - falls back to cookie if localStorage is unavailable
+ * @param {string} [options.cookie_prefix=__mp_opt_in_out] Custom prefix to be used in the cookie/localstorage name
+ * @param {Number} [options.cookie_expiration] Number of days until the opt-in cookie expires (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.cross_subdomain_cookie] Whether the opt-in cookie is set as cross-subdomain or not (overrides value specified in this Mixpanel instance's config)
+ * @param {boolean} [options.secure_cookie] Whether the opt-in cookie is set as secure or not (overrides value specified in this Mixpanel instance's config)
+ */
+MixpanelLib.prototype.clear_opt_in_out_tracking = function(options) {
+ this._call_gdpr_func(clearOptInOut, options);
+ this._update_persistence();
+};
+
+
+MixpanelPeople.prototype._init = function(mixpanel_instance) {
+ this._mixpanel = mixpanel_instance;
+};
+
+/*
+ * Set properties on a user record.
+ *
+ * ### Usage:
+ *
+ * mixpanel.people.set('gender', 'm');
+ *
+ * // or set multiple properties at once
+ * mixpanel.people.set({
+ * 'Company': 'Acme',
+ * 'Plan': 'Premium',
+ * 'Upgrade date': new Date()
+ * });
+ * // properties can be strings, integers, dates, or lists
+ *
+ * @param {Object|String} prop If a string, this is the name of the property. If an object, this is an associative array of names and values.
+ * @param {*} [to] A value to set on the given property name
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.set = addOptOutCheckMixpanelPeople(function(prop, to, callback) {
+ var data = {};
+ var $set = {};
+ if (_.isObject(prop)) {
+ _.each(prop, function(v, k) {
+ if (!this._is_reserved_property(k)) {
+ $set[k] = v;
+ }
+ }, this);
+ callback = to;
+ } else {
+ $set[prop] = to;
+ }
+
+ // make sure that the referrer info has been updated and saved
+ if (this._get_config('save_referrer')) {
+ this._mixpanel['persistence'].update_referrer_info(document$1.referrer);
+ }
+
+ // update $set object with default people properties
+ $set = _.extend(
+ {},
+ _.info.people_properties(),
+ this._mixpanel['persistence'].get_referrer_info(),
+ $set
+ );
+
+ data[SET_ACTION] = $set;
+
+ return this._send_request(data, callback);
+});
+
+/*
+ * Set properties on a user record, only if they do not yet exist.
+ * This will not overwrite previous people property values, unlike
+ * people.set().
+ *
+ * ### Usage:
+ *
+ * mixpanel.people.set_once('First Login Date', new Date());
+ *
+ * // or set multiple properties at once
+ * mixpanel.people.set_once({
+ * 'First Login Date': new Date(),
+ * 'Starting Plan': 'Premium'
+ * });
+ *
+ * // properties can be strings, integers or dates
+ *
+ * @param {Object|String} prop If a string, this is the name of the property. If an object, this is an associative array of names and values.
+ * @param {*} [to] A value to set on the given property name
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.set_once = addOptOutCheckMixpanelPeople(function(prop, to, callback) {
+ var data = {};
+ var $set_once = {};
+ if (_.isObject(prop)) {
+ _.each(prop, function(v, k) {
+ if (!this._is_reserved_property(k)) {
+ $set_once[k] = v;
+ }
+ }, this);
+ callback = to;
+ } else {
+ $set_once[prop] = to;
+ }
+ data[SET_ONCE_ACTION] = $set_once;
+ return this._send_request(data, callback);
+});
+
+/*
+ * Unset properties on a user record (permanently removes the properties and their values from a profile).
+ *
+ * ### Usage:
+ *
+ * mixpanel.people.unset('gender');
+ *
+ * // or unset multiple properties at once
+ * mixpanel.people.unset(['gender', 'Company']);
+ *
+ * @param {Array|String} prop If a string, this is the name of the property. If an array, this is a list of property names.
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.unset = function(prop, callback) {
+ var data = {};
+ var $unset = [];
+ if (!_.isArray(prop)) {
+ prop = [prop];
+ }
+
+ _.each(prop, function(k) {
+ if (!this._is_reserved_property(k)) {
+ $unset.push(k);
+ }
+ }, this);
+
+ data[UNSET_ACTION] = $unset;
+
+ return this._send_request(data, callback);
+};
+
+/*
+ * Increment/decrement numeric people analytics properties.
+ *
+ * ### Usage:
+ *
+ * mixpanel.people.increment('page_views', 1);
+ *
+ * // or, for convenience, if you're just incrementing a counter by
+ * // 1, you can simply do
+ * mixpanel.people.increment('page_views');
+ *
+ * // to decrement a counter, pass a negative number
+ * mixpanel.people.increment('credits_left', -1);
+ *
+ * // like mixpanel.people.set(), you can increment multiple
+ * // properties at once:
+ * mixpanel.people.increment({
+ * counter1: 1,
+ * counter2: 6
+ * });
+ *
+ * @param {Object|String} prop If a string, this is the name of the property. If an object, this is an associative array of names and numeric values.
+ * @param {Number} [by] An amount to increment the given property
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.increment = addOptOutCheckMixpanelPeople(function(prop, by, callback) {
+ var data = {};
+ var $add = {};
+ if (_.isObject(prop)) {
+ _.each(prop, function(v, k) {
+ if (!this._is_reserved_property(k)) {
+ if (isNaN(parseFloat(v))) {
+ console$1.error('Invalid increment value passed to mixpanel.people.increment - must be a number');
+ return;
+ } else {
+ $add[k] = v;
+ }
+ }
+ }, this);
+ callback = by;
+ } else {
+ // convenience: mixpanel.people.increment('property'); will
+ // increment 'property' by 1
+ if (_.isUndefined(by)) {
+ by = 1;
+ }
+ $add[prop] = by;
+ }
+ data[ADD_ACTION] = $add;
+
+ return this._send_request(data, callback);
+});
+
+/*
+ * Append a value to a list-valued people analytics property.
+ *
+ * ### Usage:
+ *
+ * // append a value to a list, creating it if needed
+ * mixpanel.people.append('pages_visited', 'homepage');
+ *
+ * // like mixpanel.people.set(), you can append multiple
+ * // properties at once:
+ * mixpanel.people.append({
+ * list1: 'bob',
+ * list2: 123
+ * });
+ *
+ * @param {Object|String} prop If a string, this is the name of the property. If an object, this is an associative array of names and values.
+ * @param {*} [value] An item to append to the list
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.append = addOptOutCheckMixpanelPeople(function(list_name, value, callback) {
+ var data = {};
+ var $append = {};
+ if (_.isObject(list_name)) {
+ _.each(list_name, function(v, k) {
+ if (!this._is_reserved_property(k)) {
+ $append[k] = v;
+ }
+ }, this);
+ callback = value;
+ } else {
+ $append[list_name] = value;
+ }
+ data[APPEND_ACTION] = $append;
+
+ return this._send_request(data, callback);
+});
+
+/*
+ * Merge a given list with a list-valued people analytics property,
+ * excluding duplicate values.
+ *
+ * ### Usage:
+ *
+ * // merge a value to a list, creating it if needed
+ * mixpanel.people.union('pages_visited', 'homepage');
+ *
+ * // like mixpanel.people.set(), you can append multiple
+ * // properties at once:
+ * mixpanel.people.union({
+ * list1: 'bob',
+ * list2: 123
+ * });
+ *
+ * // like mixpanel.people.append(), you can append multiple
+ * // values to the same list:
+ * mixpanel.people.union({
+ * list1: ['bob', 'billy']
+ * });
+ *
+ * @param {Object|String} prop If a string, this is the name of the property. If an object, this is an associative array of names and values.
+ * @param {*} [value] Value / values to merge with the given property
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.union = addOptOutCheckMixpanelPeople(function(list_name, values, callback) {
+ var data = {};
+ var $union = {};
+ if (_.isObject(list_name)) {
+ _.each(list_name, function(v, k) {
+ if (!this._is_reserved_property(k)) {
+ $union[k] = _.isArray(v) ? v : [v];
+ }
+ }, this);
+ callback = values;
+ } else {
+ $union[list_name] = _.isArray(values) ? values : [values];
+ }
+ data[UNION_ACTION] = $union;
+
+ return this._send_request(data, callback);
+});
+
+/*
+ * Record that you have charged the current user a certain amount
+ * of money. Charges recorded with track_charge() will appear in the
+ * Mixpanel revenue report.
+ *
+ * ### Usage:
+ *
+ * // charge a user $50
+ * mixpanel.people.track_charge(50);
+ *
+ * // charge a user $30.50 on the 2nd of january
+ * mixpanel.people.track_charge(30.50, {
+ * '$time': new Date('jan 1 2012')
+ * });
+ *
+ * @param {Number} amount The amount of money charged to the current user
+ * @param {Object} [properties] An associative array of properties associated with the charge
+ * @param {Function} [callback] If provided, the callback will be called when the server responds
+ */
+MixpanelPeople.prototype.track_charge = addOptOutCheckMixpanelPeople(function(amount, properties, callback) {
+ if (!_.isNumber(amount)) {
+ amount = parseFloat(amount);
+ if (isNaN(amount)) {
+ console$1.error('Invalid value passed to mixpanel.people.track_charge - must be a number');
+ return;
+ }
+ }
+
+ return this.append('$transactions', _.extend({
+ '$amount': amount
+ }, properties), callback);
+});
+
+/*
+ * Permanently clear all revenue report transactions from the
+ * current user's people analytics profile.
+ *
+ * ### Usage:
+ *
+ * mixpanel.people.clear_charges();
+ *
+ * @param {Function} [callback] If provided, the callback will be called after the tracking event
+ */
+MixpanelPeople.prototype.clear_charges = function(callback) {
+ return this.set('$transactions', [], callback);
+};
+
+/*
+ * Permanently deletes the current people analytics profile from
+ * Mixpanel (using the current distinct_id).
+ *
+ * ### Usage:
+ *
+ * // remove the all data you have stored about the current user
+ * mixpanel.people.delete_user();
+ *
+ */
+MixpanelPeople.prototype.delete_user = function() {
+ if (!this._identify_called()) {
+ console$1.error('mixpanel.people.delete_user() requires you to call identify() first');
+ return;
+ }
+ var data = {'$delete': this._mixpanel.get_distinct_id()};
+ return this._send_request(data);
+};
+
+MixpanelPeople.prototype.toString = function() {
+ return this._mixpanel.toString() + '.people';
+};
+
+MixpanelPeople.prototype._send_request = function(data, callback) {
+ data['$token'] = this._get_config('token');
+ data['$distinct_id'] = this._mixpanel.get_distinct_id();
+
+ var date_encoded_data = _.encodeDates(data);
+ var truncated_data = _.truncate(date_encoded_data, 255);
+ var json_data = _.JSONEncode(date_encoded_data);
+ var encoded_data = _.base64Encode(json_data);
+
+ if (!this._identify_called()) {
+ this._enqueue(data);
+ if (!_.isUndefined(callback)) {
+ if (this._get_config('verbose')) {
+ callback({status: -1, error: null});
+ } else {
+ callback(-1);
+ }
+ }
+ return truncated_data;
+ }
+
+ console$1.log('MIXPANEL PEOPLE REQUEST:');
+ console$1.log(truncated_data);
+
+ this._mixpanel._send_request(
+ this._get_config('api_host') + '/engage/',
+ {'data': encoded_data},
+ this._mixpanel._prepare_callback(callback, truncated_data)
+ );
+
+ return truncated_data;
+};
+
+MixpanelPeople.prototype._get_config = function(conf_var) {
+ return this._mixpanel.get_config(conf_var);
+};
+
+MixpanelPeople.prototype._identify_called = function() {
+ return this._mixpanel._flags.identify_called === true;
+};
+
+// Queue up engage operations if identify hasn't been called yet.
+MixpanelPeople.prototype._enqueue = function(data) {
+ if (SET_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(SET_ACTION, data);
+ } else if (SET_ONCE_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(SET_ONCE_ACTION, data);
+ } else if (UNSET_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(UNSET_ACTION, data);
+ } else if (ADD_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(ADD_ACTION, data);
+ } else if (APPEND_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(APPEND_ACTION, data);
+ } else if (UNION_ACTION in data) {
+ this._mixpanel['persistence']._add_to_people_queue(UNION_ACTION, data);
+ } else {
+ console$1.error('Invalid call to _enqueue():', data);
+ }
+};
+
+MixpanelPeople.prototype._flush_one_queue = function(action, action_method, callback, queue_to_params_fn) {
+ var _this = this;
+ var queued_data = _.extend({}, this._mixpanel['persistence']._get_queue(action));
+ var action_params = queued_data;
+
+ if (!_.isUndefined(queued_data) && _.isObject(queued_data) && !_.isEmptyObject(queued_data)) {
+ _this._mixpanel['persistence']._pop_from_people_queue(action, queued_data);
+ if (queue_to_params_fn) {
+ action_params = queue_to_params_fn(queued_data);
+ }
+ action_method.call(_this, action_params, function(response, data) {
+ // on bad response, we want to add it back to the queue
+ if (response === 0) {
+ _this._mixpanel['persistence']._add_to_people_queue(action, queued_data);
+ }
+ if (!_.isUndefined(callback)) {
+ callback(response, data);
+ }
+ });
+ }
+};
+
+// Flush queued engage operations - order does not matter,
+// and there are network level race conditions anyway
+MixpanelPeople.prototype._flush = function(
+ _set_callback, _add_callback, _append_callback, _set_once_callback, _union_callback, _unset_callback
+) {
+ var _this = this;
+ var $append_queue = this._mixpanel['persistence']._get_queue(APPEND_ACTION);
+
+ this._flush_one_queue(SET_ACTION, this.set, _set_callback);
+ this._flush_one_queue(SET_ONCE_ACTION, this.set_once, _set_once_callback);
+ this._flush_one_queue(UNSET_ACTION, this.unset, _unset_callback, function(queue) { return _.keys(queue); });
+ this._flush_one_queue(ADD_ACTION, this.increment, _add_callback);
+ this._flush_one_queue(UNION_ACTION, this.union, _union_callback);
+
+ // we have to fire off each $append individually since there is
+ // no concat method server side
+ if (!_.isUndefined($append_queue) && _.isArray($append_queue) && $append_queue.length) {
+ var $append_item;
+ var callback = function(response, data) {
+ if (response === 0) {
+ _this._mixpanel['persistence']._add_to_people_queue(APPEND_ACTION, $append_item);
+ }
+ if (!_.isUndefined(_append_callback)) {
+ _append_callback(response, data);
+ }
+ };
+ for (var i = $append_queue.length - 1; i >= 0; i--) {
+ $append_item = $append_queue.pop();
+ _this.append($append_item, callback);
+ }
+ // Save the shortened append queue
+ _this._mixpanel['persistence'].save();
+ }
+};
+
+MixpanelPeople.prototype._is_reserved_property = function(prop) {
+ return prop === '$distinct_id' || prop === '$token';
+};
+
+
+// Internal class for notification display
+MixpanelLib._Notification = function(notif_data, mixpanel_instance) {
+ _.bind_instance_methods(this);
+
+ this.mixpanel = mixpanel_instance;
+ this.persistence = this.mixpanel['persistence'];
+
+ this.campaign_id = _.escapeHTML(notif_data['id']);
+ this.message_id = _.escapeHTML(notif_data['message_id']);
+
+ this.body = (_.escapeHTML(notif_data['body']) || '').replace(/\n/g, ' ');
+ this.cta = _.escapeHTML(notif_data['cta']) || 'Close';
+ this.notif_type = _.escapeHTML(notif_data['type']) || 'takeover';
+ this.style = _.escapeHTML(notif_data['style']) || 'light';
+ this.title = _.escapeHTML(notif_data['title']) || '';
+ this.video_width = MPNotif.VIDEO_WIDTH;
+ this.video_height = MPNotif.VIDEO_HEIGHT;
+
+ // These fields are url-sanitized in the backend already.
+ this.dest_url = notif_data['cta_url'] || null;
+ this.image_url = notif_data['image_url'] || null;
+ this.thumb_image_url = notif_data['thumb_image_url'] || null;
+ this.video_url = notif_data['video_url'] || null;
+
+ this.clickthrough = true;
+ if (!this.dest_url) {
+ this.dest_url = '#dismiss';
+ this.clickthrough = false;
+ }
+
+ this.mini = this.notif_type === 'mini';
+ if (!this.mini) {
+ this.notif_type = 'takeover';
+ }
+ this.notif_width = !this.mini ? MPNotif.NOTIF_WIDTH : MPNotif.NOTIF_WIDTH_MINI;
+
+ this._set_client_config();
+ this.imgs_to_preload = this._init_image_html();
+ this._init_video();
+};
+
+MPNotif = MixpanelLib._Notification;
+
+MPNotif.ANIM_TIME = 200;
+MPNotif.MARKUP_PREFIX = 'mixpanel-notification';
+MPNotif.BG_OPACITY = 0.6;
+MPNotif.NOTIF_TOP = 25;
+MPNotif.NOTIF_START_TOP = 200;
+MPNotif.NOTIF_WIDTH = 388;
+MPNotif.NOTIF_WIDTH_MINI = 420;
+MPNotif.NOTIF_HEIGHT_MINI = 85;
+MPNotif.THUMB_BORDER_SIZE = 5;
+MPNotif.THUMB_IMG_SIZE = 60;
+MPNotif.THUMB_OFFSET = Math.round(MPNotif.THUMB_IMG_SIZE / 2);
+MPNotif.VIDEO_WIDTH = 595;
+MPNotif.VIDEO_HEIGHT = 334;
+
+MPNotif.prototype.show = function() {
+ var self = this;
+ this._set_client_config();
+
+ // don't display until HTML body exists
+ if (!this.body_el) {
+ setTimeout(function() { self.show(); }, 300);
+ return;
+ }
+
+ this._init_styles();
+ this._init_notification_el();
+
+ // wait for any images to load before showing notification
+ this._preload_images(this._attach_and_animate);
+};
+
+MPNotif.prototype.dismiss = _.safewrap(function() {
+ if (!this.marked_as_shown) {
+ // unexpected condition: user interacted with notif even though we didn't consider it
+ // visible (see _mark_as_shown()); send tracking signals to mark delivery
+ this._mark_delivery({'invisible': true});
+ }
+
+ var exiting_el = this.showing_video ? this._get_el('video') : this._get_notification_display_el();
+ if (this.use_transitions) {
+ this._remove_class('bg', 'visible');
+ this._add_class(exiting_el, 'exiting');
+ setTimeout(this._remove_notification_el, MPNotif.ANIM_TIME);
+ } else {
+ var notif_attr, notif_start, notif_goal;
+ if (this.mini) {
+ notif_attr = 'right';
+ notif_start = 20;
+ notif_goal = -100;
+ } else {
+ notif_attr = 'top';
+ notif_start = MPNotif.NOTIF_TOP;
+ notif_goal = MPNotif.NOTIF_START_TOP + MPNotif.NOTIF_TOP;
+ }
+ this._animate_els([
+ {
+ el: this._get_el('bg'),
+ attr: 'opacity',
+ start: MPNotif.BG_OPACITY,
+ goal: 0.0
+ },
+ {
+ el: exiting_el,
+ attr: 'opacity',
+ start: 1.0,
+ goal: 0.0
+ },
+ {
+ el: exiting_el,
+ attr: notif_attr,
+ start: notif_start,
+ goal: notif_goal
+ }
+ ], MPNotif.ANIM_TIME, this._remove_notification_el);
+ }
+});
+
+MPNotif.prototype._add_class = _.safewrap(function(el, class_name) {
+ class_name = MPNotif.MARKUP_PREFIX + '-' + class_name;
+ if (typeof el === 'string') {
+ el = this._get_el(el);
+ }
+ if (!el.className) {
+ el.className = class_name;
+ } else if (!~(' ' + el.className + ' ').indexOf(' ' + class_name + ' ')) {
+ el.className += ' ' + class_name;
+ }
+});
+MPNotif.prototype._remove_class = _.safewrap(function(el, class_name) {
+ class_name = MPNotif.MARKUP_PREFIX + '-' + class_name;
+ if (typeof el === 'string') {
+ el = this._get_el(el);
+ }
+ if (el.className) {
+ el.className = (' ' + el.className + ' ')
+ .replace(' ' + class_name + ' ', '')
+ .replace(/^[\s\xA0]+/, '')
+ .replace(/[\s\xA0]+$/, '');
+ }
+});
+
+MPNotif.prototype._animate_els = _.safewrap(function(anims, mss, done_cb, start_time) {
+ var self = this,
+ in_progress = false,
+ ai, anim,
+ cur_time = 1 * new Date(), time_diff;
+
+ start_time = start_time || cur_time;
+ time_diff = cur_time - start_time;
+
+ for (ai = 0; ai < anims.length; ai++) {
+ anim = anims[ai];
+ if (typeof anim.val === 'undefined') {
+ anim.val = anim.start;
+ }
+ if (anim.val !== anim.goal) {
+ in_progress = true;
+ var anim_diff = anim.goal - anim.start,
+ anim_dir = anim.goal >= anim.start ? 1 : -1;
+ anim.val = anim.start + anim_diff * time_diff / mss;
+ if (anim.attr !== 'opacity') {
+ anim.val = Math.round(anim.val);
+ }
+ if ((anim_dir > 0 && anim.val >= anim.goal) || (anim_dir < 0 && anim.val <= anim.goal)) {
+ anim.val = anim.goal;
+ }
+ }
+ }
+ if (!in_progress) {
+ if (done_cb) {
+ done_cb();
+ }
+ return;
+ }
+
+ for (ai = 0; ai < anims.length; ai++) {
+ anim = anims[ai];
+ if (anim.el) {
+ var suffix = anim.attr === 'opacity' ? '' : 'px';
+ anim.el.style[anim.attr] = String(anim.val) + suffix;
+ }
+ }
+ setTimeout(function() { self._animate_els(anims, mss, done_cb, start_time); }, 10);
+});
+
+MPNotif.prototype._attach_and_animate = _.safewrap(function() {
+ var self = this;
+
+ // no possibility to double-display
+ if (this.shown || this._get_shown_campaigns()[this.campaign_id]) {
+ return;
+ }
+ this.shown = true;
+
+ this.body_el.appendChild(this.notification_el);
+ setTimeout(function() {
+ var notif_el = self._get_notification_display_el();
+ if (self.use_transitions) {
+ if (!self.mini) {
+ self._add_class('bg', 'visible');
+ }
+ self._add_class(notif_el, 'visible');
+ self._mark_as_shown();
+ } else {
+ var notif_attr, notif_start, notif_goal;
+ if (self.mini) {
+ notif_attr = 'right';
+ notif_start = -100;
+ notif_goal = 20;
+ } else {
+ notif_attr = 'top';
+ notif_start = MPNotif.NOTIF_START_TOP + MPNotif.NOTIF_TOP;
+ notif_goal = MPNotif.NOTIF_TOP;
+ }
+ self._animate_els([
+ {
+ el: self._get_el('bg'),
+ attr: 'opacity',
+ start: 0.0,
+ goal: MPNotif.BG_OPACITY
+ },
+ {
+ el: notif_el,
+ attr: 'opacity',
+ start: 0.0,
+ goal: 1.0
+ },
+ {
+ el: notif_el,
+ attr: notif_attr,
+ start: notif_start,
+ goal: notif_goal
+ }
+ ], MPNotif.ANIM_TIME, self._mark_as_shown);
+ }
+ }, 100);
+ _.register_event(self._get_el('cancel'), 'click', function(e) {
+ e.preventDefault();
+ self.dismiss();
+ });
+ var click_el = self._get_el('button') ||
+ self._get_el('mini-content');
+ _.register_event(click_el, 'click', function(e) {
+ e.preventDefault();
+ if (self.show_video) {
+ self._track_event('$campaign_open', {'$resource_type': 'video'});
+ self._switch_to_video();
+ } else {
+ self.dismiss();
+ if (self.clickthrough) {
+ self._track_event('$campaign_open', {'$resource_type': 'link'}, function() {
+ window$1.location.href = self.dest_url;
+ });
+ }
+ }
+ });
+});
+
+MPNotif.prototype._get_el = function(id) {
+ return document$1.getElementById(MPNotif.MARKUP_PREFIX + '-' + id);
+};
+
+MPNotif.prototype._get_notification_display_el = function() {
+ return this._get_el(this.notif_type);
+};
+
+MPNotif.prototype._get_shown_campaigns = function() {
+ return this.persistence['props'][CAMPAIGN_IDS_KEY] || (this.persistence['props'][CAMPAIGN_IDS_KEY] = {});
+};
+
+MPNotif.prototype._browser_lte = function(browser, version) {
+ return this.browser_versions[browser] && this.browser_versions[browser] <= version;
+};
+
+MPNotif.prototype._init_image_html = function() {
+ var imgs_to_preload = [];
+
+ if (!this.mini) {
+ if (this.image_url) {
+ imgs_to_preload.push(this.image_url);
+ this.img_html = ' ';
+ } else {
+ this.img_html = '';
+ }
+ if (this.thumb_image_url) {
+ imgs_to_preload.push(this.thumb_image_url);
+ this.thumb_img_html =
+ '' +
+ ' ' +
+ '
';
+ } else {
+ this.thumb_img_html = '';
+ }
+ } else {
+ this.thumb_image_url = this.thumb_image_url || '//cdn.mxpnl.com/site_media/images/icons/notifications/mini-news-dark.png';
+ imgs_to_preload.push(this.thumb_image_url);
+ }
+
+ return imgs_to_preload;
+};
+
+MPNotif.prototype._init_notification_el = function() {
+ var notification_html = '';
+ var video_src = '';
+ var video_html = '';
+ var cancel_html = '';
+
+ this.notification_el = document$1.createElement('div');
+ this.notification_el.id = MPNotif.MARKUP_PREFIX + '-wrapper';
+ if (!this.mini) {
+ // TAKEOVER notification
+ var close_html = (this.clickthrough || this.show_video) ? '' : '
',
+ play_html = this.show_video ? '
' : '';
+ if (this._browser_lte('ie', 7)) {
+ close_html = '';
+ play_html = '';
+ }
+ notification_html =
+ '' +
+ this.thumb_img_html +
+ '
' +
+ cancel_html +
+ '
' +
+ this.img_html +
+ '
' + this.title + '
' +
+ '
' + this.body + '
' +
+ '
' +
+ '
' +
+ '
' +
+ '
' +
+ '
';
+ } else {
+ // MINI notification
+ notification_html =
+ '' +
+ '
' +
+ cancel_html +
+ '
' +
+ '
' +
+ '
' +
+ '
';
+ }
+ if (this.youtube_video) {
+ video_src = '//www.youtube.com/embed/' + this.youtube_video +
+ '?wmode=transparent&showinfo=0&modestbranding=0&rel=0&autoplay=1&loop=0&vq=hd1080';
+ if (this.yt_custom) {
+ video_src += '&enablejsapi=1&html5=1&controls=0';
+ video_html =
+ '';
+ }
+ } else if (this.vimeo_video) {
+ video_src = '//player.vimeo.com/video/' + this.vimeo_video + '?autoplay=1&title=0&byline=0&portrait=0';
+ }
+ if (this.show_video) {
+ this.video_iframe =
+ '';
+ video_html =
+ '' +
+ '
' +
+ '
' +
+ video_html +
+ '
' +
+ '
';
+ }
+ var main_html = video_html + notification_html;
+ if (this.flip_animate) {
+ main_html =
+ (this.mini ? notification_html : '') +
+ '' +
+ (this.mini ? video_html : main_html) +
+ '
';
+ }
+
+ this.notification_el.innerHTML =
+ ('' +
+ '
' +
+ '
' +
+ '
' +
+ main_html +
+ '
' +
+ '
' +
+ '
')
+ .replace(/class=\"/g, 'class="' + MPNotif.MARKUP_PREFIX + '-')
+ .replace(/id=\"/g, 'id="' + MPNotif.MARKUP_PREFIX + '-');
+};
+
+MPNotif.prototype._init_styles = function() {
+ if (this.style === 'dark') {
+ this.style_vals = {
+ bg: '#1d1f25',
+ bg_actions: '#282b32',
+ bg_hover: '#3a4147',
+ bg_light: '#4a5157',
+ border_gray: '#32353c',
+ cancel_opacity: '0.4',
+ mini_hover: '#2a3137',
+ text_title: '#fff',
+ text_main: '#9498a3',
+ text_tagline: '#464851',
+ text_hover: '#ddd'
+ };
+ } else {
+ this.style_vals = {
+ bg: '#fff',
+ bg_actions: '#e7eaee',
+ bg_hover: '#eceff3',
+ bg_light: '#f5f5f5',
+ border_gray: '#e4ecf2',
+ cancel_opacity: '1.0',
+ mini_hover: '#fafafa',
+ text_title: '#5c6578',
+ text_main: '#8b949b',
+ text_tagline: '#ced9e6',
+ text_hover: '#7c8598'
+ };
+ }
+ var shadow = '0px 0px 35px 0px rgba(45, 49, 56, 0.7)',
+ video_shadow = shadow,
+ mini_shadow = shadow,
+ thumb_total_size = MPNotif.THUMB_IMG_SIZE + MPNotif.THUMB_BORDER_SIZE * 2,
+ anim_seconds = (MPNotif.ANIM_TIME / 1000) + 's';
+ if (this.mini) {
+ shadow = 'none';
+ }
+
+ // don't display on small viewports
+ var notif_media_queries = {},
+ min_width = MPNotif.NOTIF_WIDTH_MINI + 20;
+ notif_media_queries['@media only screen and (max-width: ' + (min_width - 1) + 'px)'] = {
+ '#overlay': {
+ 'display': 'none'
+ }
+ };
+ var notif_styles = {
+ '.flipped': {
+ 'transform': 'rotateY(180deg)'
+ },
+ '#overlay': {
+ 'position': 'fixed',
+ 'top': '0',
+ 'left': '0',
+ 'width': '100%',
+ 'height': '100%',
+ 'overflow': 'auto',
+ 'text-align': 'center',
+ 'z-index': '10000',
+ 'font-family': '"Helvetica", "Arial", sans-serif',
+ '-webkit-font-smoothing': 'antialiased',
+ '-moz-osx-font-smoothing': 'grayscale'
+ },
+ '#overlay.mini': {
+ 'height': '0',
+ 'overflow': 'visible'
+ },
+ '#overlay a': {
+ 'width': 'initial',
+ 'padding': '0',
+ 'text-decoration': 'none',
+ 'text-transform': 'none',
+ 'color': 'inherit'
+ },
+ '#bgwrapper': {
+ 'position': 'relative',
+ 'width': '100%',
+ 'height': '100%'
+ },
+ '#bg': {
+ 'position': 'fixed',
+ 'top': '0',
+ 'left': '0',
+ 'width': '100%',
+ 'height': '100%',
+ 'min-width': this.doc_width * 4 + 'px',
+ 'min-height': this.doc_height * 4 + 'px',
+ 'background-color': 'black',
+ 'opacity': '0.0',
+ '-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=60)', // IE8
+ 'filter': 'alpha(opacity=60)', // IE5-7
+ 'transition': 'opacity ' + anim_seconds
+ },
+ '#bg.visible': {
+ 'opacity': MPNotif.BG_OPACITY
+ },
+ '.mini #bg': {
+ 'width': '0',
+ 'height': '0',
+ 'min-width': '0'
+ },
+ '#flipcontainer': {
+ 'perspective': '1000px',
+ 'position': 'absolute',
+ 'width': '100%'
+ },
+ '#flipper': {
+ 'position': 'relative',
+ 'transform-style': 'preserve-3d',
+ 'transition': '0.3s'
+ },
+ '#takeover': {
+ 'position': 'absolute',
+ 'left': '50%',
+ 'width': MPNotif.NOTIF_WIDTH + 'px',
+ 'margin-left': Math.round(-MPNotif.NOTIF_WIDTH / 2) + 'px',
+ 'backface-visibility': 'hidden',
+ 'transform': 'rotateY(0deg)',
+ 'opacity': '0.0',
+ 'top': MPNotif.NOTIF_START_TOP + 'px',
+ 'transition': 'opacity ' + anim_seconds + ', top ' + anim_seconds
+ },
+ '#takeover.visible': {
+ 'opacity': '1.0',
+ 'top': MPNotif.NOTIF_TOP + 'px'
+ },
+ '#takeover.exiting': {
+ 'opacity': '0.0',
+ 'top': MPNotif.NOTIF_START_TOP + 'px'
+ },
+ '#thumbspacer': {
+ 'height': MPNotif.THUMB_OFFSET + 'px'
+ },
+ '#thumbborder-wrapper': {
+ 'position': 'absolute',
+ 'top': (-MPNotif.THUMB_BORDER_SIZE) + 'px',
+ 'left': (MPNotif.NOTIF_WIDTH / 2 - MPNotif.THUMB_OFFSET - MPNotif.THUMB_BORDER_SIZE) + 'px',
+ 'width': thumb_total_size + 'px',
+ 'height': (thumb_total_size / 2) + 'px',
+ 'overflow': 'hidden'
+ },
+ '#thumbborder': {
+ 'position': 'absolute',
+ 'width': thumb_total_size + 'px',
+ 'height': thumb_total_size + 'px',
+ 'border-radius': thumb_total_size + 'px',
+ 'background-color': this.style_vals.bg_actions,
+ 'opacity': '0.5'
+ },
+ '#thumbnail': {
+ 'position': 'absolute',
+ 'top': '0px',
+ 'left': (MPNotif.NOTIF_WIDTH / 2 - MPNotif.THUMB_OFFSET) + 'px',
+ 'width': MPNotif.THUMB_IMG_SIZE + 'px',
+ 'height': MPNotif.THUMB_IMG_SIZE + 'px',
+ 'overflow': 'hidden',
+ 'z-index': '100',
+ 'border-radius': MPNotif.THUMB_IMG_SIZE + 'px'
+ },
+ '#mini': {
+ 'position': 'absolute',
+ 'right': '20px',
+ 'top': MPNotif.NOTIF_TOP + 'px',
+ 'width': this.notif_width + 'px',
+ 'height': MPNotif.NOTIF_HEIGHT_MINI * 2 + 'px',
+ 'margin-top': 20 - MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'backface-visibility': 'hidden',
+ 'opacity': '0.0',
+ 'transform': 'rotateX(90deg)',
+ 'transition': 'opacity 0.3s, transform 0.3s, right 0.3s'
+ },
+ '#mini.visible': {
+ 'opacity': '1.0',
+ 'transform': 'rotateX(0deg)'
+ },
+ '#mini.exiting': {
+ 'opacity': '0.0',
+ 'right': '-150px'
+ },
+ '#mainbox': {
+ 'border-radius': '4px',
+ 'box-shadow': shadow,
+ 'text-align': 'center',
+ 'background-color': this.style_vals.bg,
+ 'font-size': '14px',
+ 'color': this.style_vals.text_main
+ },
+ '#mini #mainbox': {
+ 'height': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'margin-top': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'border-radius': '3px',
+ 'transition': 'background-color ' + anim_seconds
+ },
+ '#mini-border': {
+ 'height': (MPNotif.NOTIF_HEIGHT_MINI + 6) + 'px',
+ 'width': (MPNotif.NOTIF_WIDTH_MINI + 6) + 'px',
+ 'position': 'absolute',
+ 'top': '-3px',
+ 'left': '-3px',
+ 'margin-top': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'border-radius': '6px',
+ 'opacity': '0.25',
+ 'background-color': '#fff',
+ 'z-index': '-1',
+ 'box-shadow': mini_shadow
+ },
+ '#mini-icon': {
+ 'position': 'relative',
+ 'display': 'inline-block',
+ 'width': '75px',
+ 'height': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'border-radius': '3px 0 0 3px',
+ 'background-color': this.style_vals.bg_actions,
+ 'background': 'linear-gradient(135deg, ' + this.style_vals.bg_light + ' 0%, ' + this.style_vals.bg_actions + ' 100%)',
+ 'transition': 'background-color ' + anim_seconds
+ },
+ '#mini:hover #mini-icon': {
+ 'background-color': this.style_vals.mini_hover
+ },
+ '#mini:hover #mainbox': {
+ 'background-color': this.style_vals.mini_hover
+ },
+ '#mini-icon-img': {
+ 'position': 'absolute',
+ 'background-image': 'url(' + this.thumb_image_url + ')',
+ 'width': '48px',
+ 'height': '48px',
+ 'top': '20px',
+ 'left': '12px'
+ },
+ '#content': {
+ 'padding': '30px 20px 0px 20px'
+ },
+ '#mini-content': {
+ 'text-align': 'left',
+ 'height': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'cursor': 'pointer'
+ },
+ '#img': {
+ 'width': '328px',
+ 'margin-top': '30px',
+ 'border-radius': '5px'
+ },
+ '#title': {
+ 'max-height': '600px',
+ 'overflow': 'hidden',
+ 'word-wrap': 'break-word',
+ 'padding': '25px 0px 20px 0px',
+ 'font-size': '19px',
+ 'font-weight': 'bold',
+ 'color': this.style_vals.text_title
+ },
+ '#body': {
+ 'max-height': '600px',
+ 'margin-bottom': '25px',
+ 'overflow': 'hidden',
+ 'word-wrap': 'break-word',
+ 'line-height': '21px',
+ 'font-size': '15px',
+ 'font-weight': 'normal',
+ 'text-align': 'left'
+ },
+ '#mini #body': {
+ 'display': 'inline-block',
+ 'max-width': '250px',
+ 'margin': '0 0 0 30px',
+ 'height': MPNotif.NOTIF_HEIGHT_MINI + 'px',
+ 'font-size': '16px',
+ 'letter-spacing': '0.8px',
+ 'color': this.style_vals.text_title
+ },
+ '#mini #body-text': {
+ 'display': 'table',
+ 'height': MPNotif.NOTIF_HEIGHT_MINI + 'px'
+ },
+ '#mini #body-text div': {
+ 'display': 'table-cell',
+ 'vertical-align': 'middle'
+ },
+ '#tagline': {
+ 'margin-bottom': '15px',
+ 'font-size': '10px',
+ 'font-weight': '600',
+ 'letter-spacing': '0.8px',
+ 'color': '#ccd7e0',
+ 'text-align': 'left'
+ },
+ '#tagline a': {
+ 'color': this.style_vals.text_tagline,
+ 'transition': 'color ' + anim_seconds
+ },
+ '#tagline a:hover': {
+ 'color': this.style_vals.text_hover
+ },
+ '#cancel': {
+ 'position': 'absolute',
+ 'right': '0',
+ 'width': '8px',
+ 'height': '8px',
+ 'padding': '10px',
+ 'border-radius': '20px',
+ 'margin': '12px 12px 0 0',
+ 'box-sizing': 'content-box',
+ 'cursor': 'pointer',
+ 'transition': 'background-color ' + anim_seconds
+ },
+ '#mini #cancel': {
+ 'margin': '7px 7px 0 0'
+ },
+ '#cancel-icon': {
+ 'width': '8px',
+ 'height': '8px',
+ 'overflow': 'hidden',
+ 'background-image': 'url(//cdn.mxpnl.com/site_media/images/icons/notifications/cancel-x.png)',
+ 'opacity': this.style_vals.cancel_opacity
+ },
+ '#cancel:hover': {
+ 'background-color': this.style_vals.bg_hover
+ },
+ '#button': {
+ 'display': 'block',
+ 'height': '60px',
+ 'line-height': '60px',
+ 'text-align': 'center',
+ 'background-color': this.style_vals.bg_actions,
+ 'border-radius': '0 0 4px 4px',
+ 'overflow': 'hidden',
+ 'cursor': 'pointer',
+ 'transition': 'background-color ' + anim_seconds
+ },
+ '#button-close': {
+ 'display': 'inline-block',
+ 'width': '9px',
+ 'height': '60px',
+ 'margin-right': '8px',
+ 'vertical-align': 'top',
+ 'background-image': 'url(//cdn.mxpnl.com/site_media/images/icons/notifications/close-x-' + this.style + '.png)',
+ 'background-repeat': 'no-repeat',
+ 'background-position': '0px 25px'
+ },
+ '#button-play': {
+ 'display': 'inline-block',
+ 'width': '30px',
+ 'height': '60px',
+ 'margin-left': '15px',
+ 'background-image': 'url(//cdn.mxpnl.com/site_media/images/icons/notifications/play-' + this.style + '-small.png)',
+ 'background-repeat': 'no-repeat',
+ 'background-position': '0px 15px'
+ },
+ 'a#button-link': {
+ 'display': 'inline-block',
+ 'vertical-align': 'top',
+ 'text-align': 'center',
+ 'font-size': '17px',
+ 'font-weight': 'bold',
+ 'overflow': 'hidden',
+ 'word-wrap': 'break-word',
+ 'color': this.style_vals.text_title,
+ 'transition': 'color ' + anim_seconds
+ },
+ '#button:hover': {
+ 'background-color': this.style_vals.bg_hover,
+ 'color': this.style_vals.text_hover
+ },
+ '#button:hover a': {
+ 'color': this.style_vals.text_hover
+ },
+
+ '#video-noflip': {
+ 'position': 'relative',
+ 'top': (-this.video_height * 2) + 'px'
+ },
+ '#video-flip': {
+ 'backface-visibility': 'hidden',
+ 'transform': 'rotateY(180deg)'
+ },
+ '#video': {
+ 'position': 'absolute',
+ 'width': (this.video_width - 1) + 'px',
+ 'height': this.video_height + 'px',
+ 'top': MPNotif.NOTIF_TOP + 'px',
+ 'margin-top': '100px',
+ 'left': '50%',
+ 'margin-left': Math.round(-this.video_width / 2) + 'px',
+ 'overflow': 'hidden',
+ 'border-radius': '5px',
+ 'box-shadow': video_shadow,
+ 'transform': 'translateZ(1px)', // webkit rendering bug http://stackoverflow.com/questions/18167981/clickable-link-area-unexpectedly-smaller-after-css-transform
+ 'transition': 'opacity ' + anim_seconds + ', top ' + anim_seconds
+ },
+ '#video.exiting': {
+ 'opacity': '0.0',
+ 'top': this.video_height + 'px'
+ },
+ '#video-holder': {
+ 'position': 'absolute',
+ 'width': (this.video_width - 1) + 'px',
+ 'height': this.video_height + 'px',
+ 'overflow': 'hidden',
+ 'border-radius': '5px'
+ },
+ '#video-frame': {
+ 'margin-left': '-1px',
+ 'width': this.video_width + 'px'
+ },
+ '#video-controls': {
+ 'opacity': '0',
+ 'transition': 'opacity 0.5s'
+ },
+ '#video:hover #video-controls': {
+ 'opacity': '1.0'
+ },
+ '#video .video-progress-el': {
+ 'position': 'absolute',
+ 'bottom': '0',
+ 'height': '25px',
+ 'border-radius': '0 0 0 5px'
+ },
+ '#video-progress': {
+ 'width': '90%'
+ },
+ '#video-progress-total': {
+ 'width': '100%',
+ 'background-color': this.style_vals.bg,
+ 'opacity': '0.7'
+ },
+ '#video-elapsed': {
+ 'width': '0',
+ 'background-color': '#6cb6f5',
+ 'opacity': '0.9'
+ },
+ '#video #video-time': {
+ 'width': '10%',
+ 'right': '0',
+ 'font-size': '11px',
+ 'line-height': '25px',
+ 'color': this.style_vals.text_main,
+ 'background-color': '#666',
+ 'border-radius': '0 0 5px 0'
+ }
+ };
+
+ // IE hacks
+ if (this._browser_lte('ie', 8)) {
+ _.extend(notif_styles, {
+ '* html #overlay': {
+ 'position': 'absolute'
+ },
+ '* html #bg': {
+ 'position': 'absolute'
+ },
+ 'html, body': {
+ 'height': '100%'
+ }
+ });
+ }
+ if (this._browser_lte('ie', 7)) {
+ _.extend(notif_styles, {
+ '#mini #body': {
+ 'display': 'inline',
+ 'zoom': '1',
+ 'border': '1px solid ' + this.style_vals.bg_hover
+ },
+ '#mini #body-text': {
+ 'padding': '20px'
+ },
+ '#mini #mini-icon': {
+ 'display': 'none'
+ }
+ });
+ }
+
+ // add vendor-prefixed style rules
+ var VENDOR_STYLES = ['backface-visibility', 'border-radius', 'box-shadow', 'opacity',
+ 'perspective', 'transform', 'transform-style', 'transition'],
+ VENDOR_PREFIXES = ['khtml', 'moz', 'ms', 'o', 'webkit'];
+ for (var selector in notif_styles) {
+ for (var si = 0; si < VENDOR_STYLES.length; si++) {
+ var prop = VENDOR_STYLES[si];
+ if (prop in notif_styles[selector]) {
+ var val = notif_styles[selector][prop];
+ for (var pi = 0; pi < VENDOR_PREFIXES.length; pi++) {
+ notif_styles[selector]['-' + VENDOR_PREFIXES[pi] + '-' + prop] = val;
+ }
+ }
+ }
+ }
+
+ var inject_styles = function(styles, media_queries) {
+ var create_style_text = function(style_defs) {
+ var st = '';
+ for (var selector in style_defs) {
+ var mp_selector = selector
+ .replace(/#/g, '#' + MPNotif.MARKUP_PREFIX + '-')
+ .replace(/\./g, '.' + MPNotif.MARKUP_PREFIX + '-');
+ st += '\n' + mp_selector + ' {';
+ var props = style_defs[selector];
+ for (var k in props) {
+ st += k + ':' + props[k] + ';';
+ }
+ st += '}';
+ }
+ return st;
+ };
+ var create_media_query_text = function(mq_defs) {
+ var mqt = '';
+ for (var mq in mq_defs) {
+ mqt += '\n' + mq + ' {' + create_style_text(mq_defs[mq]) + '\n}';
+ }
+ return mqt;
+ };
+
+ var style_text = create_style_text(styles) + create_media_query_text(media_queries),
+ head_el = document$1.head || document$1.getElementsByTagName('head')[0] || document$1.documentElement,
+ style_el = document$1.createElement('style');
+ head_el.appendChild(style_el);
+ style_el.setAttribute('type', 'text/css');
+ if (style_el.styleSheet) { // IE
+ style_el.styleSheet.cssText = style_text;
+ } else {
+ style_el.textContent = style_text;
+ }
+ };
+ inject_styles(notif_styles, notif_media_queries);
+};
+
+MPNotif.prototype._init_video = _.safewrap(function() {
+ if (!this.video_url) {
+ return;
+ }
+ var self = this;
+
+ // Youtube iframe API compatibility
+ self.yt_custom = 'postMessage' in window$1;
+
+ self.dest_url = self.video_url;
+ var youtube_match = self.video_url.match(
+ // http://stackoverflow.com/questions/2936467/parse-youtube-video-id-using-preg-match
+ /(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i
+ ),
+ vimeo_match = self.video_url.match(
+ /vimeo\.com\/.*?(\d+)/i
+ );
+ if (youtube_match) {
+ self.show_video = true;
+ self.youtube_video = youtube_match[1];
+
+ if (self.yt_custom) {
+ window$1['onYouTubeIframeAPIReady'] = function() {
+ if (self._get_el('video-frame')) {
+ self._yt_video_ready();
+ }
+ };
+
+ // load Youtube iframe API; see https://developers.google.com/youtube/iframe_api_reference
+ var tag = document$1.createElement('script');
+ tag.src = '//www.youtube.com/iframe_api';
+ var firstScriptTag = document$1.getElementsByTagName('script')[0];
+ firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
+ }
+ } else if (vimeo_match) {
+ self.show_video = true;
+ self.vimeo_video = vimeo_match[1];
+ }
+
+ // IE <= 7, FF <= 3: fall through to video link rather than embedded player
+ if (self._browser_lte('ie', 7) || self._browser_lte('firefox', 3)) {
+ self.show_video = false;
+ self.clickthrough = true;
+ }
+});
+
+MPNotif.prototype._mark_as_shown = _.safewrap(function() {
+ // click on background to dismiss
+ var self = this;
+ _.register_event(self._get_el('bg'), 'click', function() {
+ self.dismiss();
+ });
+
+ var get_style = function(el, style_name) {
+ var styles = {};
+ if (document$1.defaultView && document$1.defaultView.getComputedStyle) {
+ styles = document$1.defaultView.getComputedStyle(el, null); // FF3 requires both args
+ } else if (el.currentStyle) { // IE
+ styles = el.currentStyle;
+ }
+ return styles[style_name];
+ };
+
+ if (this.campaign_id) {
+ var notif_el = this._get_el('overlay');
+ if (notif_el && get_style(notif_el, 'visibility') !== 'hidden' && get_style(notif_el, 'display') !== 'none') {
+ this._mark_delivery();
+ }
+ }
+});
+
+MPNotif.prototype._mark_delivery = _.safewrap(function(extra_props) {
+ if (!this.marked_as_shown) {
+ this.marked_as_shown = true;
+
+ if (this.campaign_id) {
+ // mark notification shown (local cache)
+ this._get_shown_campaigns()[this.campaign_id] = 1 * new Date();
+ this.persistence.save();
+ }
+
+ // track delivery
+ this._track_event('$campaign_delivery', extra_props);
+
+ // mark notification shown (mixpanel property)
+ this.mixpanel['people']['append']({
+ '$campaigns': this.campaign_id,
+ '$notifications': {
+ 'campaign_id': this.campaign_id,
+ 'message_id': this.message_id,
+ 'type': 'web',
+ 'time': new Date()
+ }
+ });
+ }
+});
+
+MPNotif.prototype._preload_images = function(all_loaded_cb) {
+ var self = this;
+ if (this.imgs_to_preload.length === 0) {
+ all_loaded_cb();
+ return;
+ }
+
+ var preloaded_imgs = 0;
+ var img_objs = [];
+ var onload = function() {
+ preloaded_imgs++;
+ if (preloaded_imgs === self.imgs_to_preload.length && all_loaded_cb) {
+ all_loaded_cb();
+ all_loaded_cb = null;
+ }
+ };
+ for (var i = 0; i < this.imgs_to_preload.length; i++) {
+ var img = new Image();
+ img.onload = onload;
+ img.src = this.imgs_to_preload[i];
+ if (img.complete) {
+ onload();
+ }
+ img_objs.push(img);
+ }
+
+ // IE6/7 doesn't fire onload reliably
+ if (this._browser_lte('ie', 7)) {
+ setTimeout(function() {
+ var imgs_loaded = true;
+ for (i = 0; i < img_objs.length; i++) {
+ if (!img_objs[i].complete) {
+ imgs_loaded = false;
+ }
+ }
+ if (imgs_loaded && all_loaded_cb) {
+ all_loaded_cb();
+ all_loaded_cb = null;
+ }
+ }, 500);
+ }
+};
+
+MPNotif.prototype._remove_notification_el = _.safewrap(function() {
+ window$1.clearInterval(this._video_progress_checker);
+ this.notification_el.style.visibility = 'hidden';
+ this.body_el.removeChild(this.notification_el);
+});
+
+MPNotif.prototype._set_client_config = function() {
+ var get_browser_version = function(browser_ex) {
+ var match = navigator.userAgent.match(browser_ex);
+ return match && match[1];
+ };
+ this.browser_versions = {};
+ this.browser_versions['chrome'] = get_browser_version(/Chrome\/(\d+)/);
+ this.browser_versions['firefox'] = get_browser_version(/Firefox\/(\d+)/);
+ this.browser_versions['ie'] = get_browser_version(/MSIE (\d+).+/);
+ if (!this.browser_versions['ie'] && !(window$1.ActiveXObject) && 'ActiveXObject' in window$1) {
+ this.browser_versions['ie'] = 11;
+ }
+
+ this.body_el = document$1.body || document$1.getElementsByTagName('body')[0];
+ if (this.body_el) {
+ this.doc_width = Math.max(
+ this.body_el.scrollWidth, document$1.documentElement.scrollWidth,
+ this.body_el.offsetWidth, document$1.documentElement.offsetWidth,
+ this.body_el.clientWidth, document$1.documentElement.clientWidth
+ );
+ this.doc_height = Math.max(
+ this.body_el.scrollHeight, document$1.documentElement.scrollHeight,
+ this.body_el.offsetHeight, document$1.documentElement.offsetHeight,
+ this.body_el.clientHeight, document$1.documentElement.clientHeight
+ );
+ }
+
+ // detect CSS compatibility
+ var ie_ver = this.browser_versions['ie'];
+ var sample_styles = document$1.createElement('div').style,
+ is_css_compatible = function(rule) {
+ if (rule in sample_styles) {
+ return true;
+ }
+ if (!ie_ver) {
+ rule = rule[0].toUpperCase() + rule.slice(1);
+ var props = ['O' + rule, 'Webkit' + rule, 'Moz' + rule];
+ for (var i = 0; i < props.length; i++) {
+ if (props[i] in sample_styles) {
+ return true;
+ }
+ }
+ }
+ return false;
+ };
+ this.use_transitions = this.body_el &&
+ is_css_compatible('transition') &&
+ is_css_compatible('transform');
+ this.flip_animate = (this.browser_versions['chrome'] >= 33 || this.browser_versions['firefox'] >= 15) &&
+ this.body_el &&
+ is_css_compatible('backfaceVisibility') &&
+ is_css_compatible('perspective') &&
+ is_css_compatible('transform');
+};
+
+MPNotif.prototype._switch_to_video = _.safewrap(function() {
+ var self = this,
+ anims = [
+ {
+ el: self._get_notification_display_el(),
+ attr: 'opacity',
+ start: 1.0,
+ goal: 0.0
+ },
+ {
+ el: self._get_notification_display_el(),
+ attr: 'top',
+ start: MPNotif.NOTIF_TOP,
+ goal: -500
+ },
+ {
+ el: self._get_el('video-noflip'),
+ attr: 'opacity',
+ start: 0.0,
+ goal: 1.0
+ },
+ {
+ el: self._get_el('video-noflip'),
+ attr: 'top',
+ start: -self.video_height * 2,
+ goal: 0
+ }
+ ];
+
+ if (self.mini) {
+ var bg = self._get_el('bg'),
+ overlay = self._get_el('overlay');
+ bg.style.width = '100%';
+ bg.style.height = '100%';
+ overlay.style.width = '100%';
+
+ self._add_class(self._get_notification_display_el(), 'exiting');
+ self._add_class(bg, 'visible');
+
+ anims.push({
+ el: self._get_el('bg'),
+ attr: 'opacity',
+ start: 0.0,
+ goal: MPNotif.BG_OPACITY
+ });
+ }
+
+ var video_el = self._get_el('video-holder');
+ video_el.innerHTML = self.video_iframe;
+
+ var video_ready = function() {
+ if (window$1['YT'] && window$1['YT']['loaded']) {
+ self._yt_video_ready();
+ }
+ self.showing_video = true;
+ self._get_notification_display_el().style.visibility = 'hidden';
+ };
+ if (self.flip_animate) {
+ self._add_class('flipper', 'flipped');
+ setTimeout(video_ready, MPNotif.ANIM_TIME);
+ } else {
+ self._animate_els(anims, MPNotif.ANIM_TIME, video_ready);
+ }
+});
+
+MPNotif.prototype._track_event = function(event_name, properties, cb) {
+ if (this.campaign_id) {
+ properties = properties || {};
+ properties = _.extend(properties, {
+ 'campaign_id': this.campaign_id,
+ 'message_id': this.message_id,
+ 'message_type': 'web_inapp',
+ 'message_subtype': this.notif_type
+ });
+ this.mixpanel['track'](event_name, properties, cb);
+ } else if (cb) {
+ cb.call();
+ }
+};
+
+MPNotif.prototype._yt_video_ready = _.safewrap(function() {
+ var self = this;
+ if (self.video_inited) {
+ return;
+ }
+ self.video_inited = true;
+
+ var progress_bar = self._get_el('video-elapsed'),
+ progress_time = self._get_el('video-time'),
+ progress_el = self._get_el('video-progress');
+
+ new window$1['YT']['Player'](MPNotif.MARKUP_PREFIX + '-video-frame', {
+ 'events': {
+ 'onReady': function(event) {
+ var ytplayer = event['target'],
+ video_duration = ytplayer['getDuration'](),
+ pad = function(i) {
+ return ('00' + i).slice(-2);
+ },
+ update_video_time = function(current_time) {
+ var secs = Math.round(video_duration - current_time),
+ mins = Math.floor(secs / 60),
+ hours = Math.floor(mins / 60);
+ secs -= mins * 60;
+ mins -= hours * 60;
+ progress_time.innerHTML = '-' + (hours ? hours + ':' : '') + pad(mins) + ':' + pad(secs);
+ };
+ update_video_time(0);
+ self._video_progress_checker = window$1.setInterval(function() {
+ var current_time = ytplayer['getCurrentTime']();
+ progress_bar.style.width = (current_time / video_duration * 100) + '%';
+ update_video_time(current_time);
+ }, 250);
+ _.register_event(progress_el, 'click', function(e) {
+ var clickx = Math.max(0, e.pageX - progress_el.getBoundingClientRect().left);
+ ytplayer['seekTo'](video_duration * clickx / progress_el.clientWidth, true);
+ });
+ }
+ }
+ });
+});
+
+// EXPORTS (for closure compiler)
+
+// MixpanelLib Exports
+MixpanelLib.prototype['init'] = MixpanelLib.prototype.init;
+MixpanelLib.prototype['reset'] = MixpanelLib.prototype.reset;
+MixpanelLib.prototype['disable'] = MixpanelLib.prototype.disable;
+MixpanelLib.prototype['time_event'] = MixpanelLib.prototype.time_event;
+MixpanelLib.prototype['track'] = MixpanelLib.prototype.track;
+MixpanelLib.prototype['track_links'] = MixpanelLib.prototype.track_links;
+MixpanelLib.prototype['track_forms'] = MixpanelLib.prototype.track_forms;
+MixpanelLib.prototype['track_pageview'] = MixpanelLib.prototype.track_pageview;
+MixpanelLib.prototype['register'] = MixpanelLib.prototype.register;
+MixpanelLib.prototype['register_once'] = MixpanelLib.prototype.register_once;
+MixpanelLib.prototype['unregister'] = MixpanelLib.prototype.unregister;
+MixpanelLib.prototype['identify'] = MixpanelLib.prototype.identify;
+MixpanelLib.prototype['alias'] = MixpanelLib.prototype.alias;
+MixpanelLib.prototype['name_tag'] = MixpanelLib.prototype.name_tag;
+MixpanelLib.prototype['set_config'] = MixpanelLib.prototype.set_config;
+MixpanelLib.prototype['get_config'] = MixpanelLib.prototype.get_config;
+MixpanelLib.prototype['get_property'] = MixpanelLib.prototype.get_property;
+MixpanelLib.prototype['get_distinct_id'] = MixpanelLib.prototype.get_distinct_id;
+MixpanelLib.prototype['toString'] = MixpanelLib.prototype.toString;
+MixpanelLib.prototype['_check_and_handle_notifications'] = MixpanelLib.prototype._check_and_handle_notifications;
+MixpanelLib.prototype['_show_notification'] = MixpanelLib.prototype._show_notification;
+MixpanelLib.prototype['opt_out_tracking'] = MixpanelLib.prototype.opt_out_tracking;
+MixpanelLib.prototype['opt_in_tracking'] = MixpanelLib.prototype.opt_in_tracking;
+MixpanelLib.prototype['has_opted_out_tracking'] = MixpanelLib.prototype.has_opted_out_tracking;
+MixpanelLib.prototype['has_opted_in_tracking'] = MixpanelLib.prototype.has_opted_in_tracking;
+MixpanelLib.prototype['clear_opt_in_out_tracking'] = MixpanelLib.prototype.clear_opt_in_out_tracking;
+
+// MixpanelPersistence Exports
+MixpanelPersistence.prototype['properties'] = MixpanelPersistence.prototype.properties;
+MixpanelPersistence.prototype['update_search_keyword'] = MixpanelPersistence.prototype.update_search_keyword;
+MixpanelPersistence.prototype['update_referrer_info'] = MixpanelPersistence.prototype.update_referrer_info;
+MixpanelPersistence.prototype['get_cross_subdomain'] = MixpanelPersistence.prototype.get_cross_subdomain;
+MixpanelPersistence.prototype['clear'] = MixpanelPersistence.prototype.clear;
+
+// MixpanelPeople Exports
+MixpanelPeople.prototype['set'] = MixpanelPeople.prototype.set;
+MixpanelPeople.prototype['set_once'] = MixpanelPeople.prototype.set_once;
+MixpanelPeople.prototype['unset'] = MixpanelPeople.prototype.unset;
+MixpanelPeople.prototype['increment'] = MixpanelPeople.prototype.increment;
+MixpanelPeople.prototype['append'] = MixpanelPeople.prototype.append;
+MixpanelPeople.prototype['union'] = MixpanelPeople.prototype.union;
+MixpanelPeople.prototype['track_charge'] = MixpanelPeople.prototype.track_charge;
+MixpanelPeople.prototype['clear_charges'] = MixpanelPeople.prototype.clear_charges;
+MixpanelPeople.prototype['delete_user'] = MixpanelPeople.prototype.delete_user;
+MixpanelPeople.prototype['toString'] = MixpanelPeople.prototype.toString;
+
+_.safewrap_class(MixpanelLib, ['identify', '_check_and_handle_notifications', '_show_notification']);
+
+var instances = {};
+var extend_mp = function() {
+ // add all the sub mixpanel instances
+ _.each(instances, function(instance, name) {
+ if (name !== PRIMARY_INSTANCE_NAME) { mixpanel_master[name] = instance; }
+ });
+
+ // add private functions as _
+ mixpanel_master['_'] = _;
+};
+
+var override_mp_init_func = function() {
+ // we override the snippets init function to handle the case where a
+ // user initializes the mixpanel library after the script loads & runs
+ mixpanel_master['init'] = function(token, config, name) {
+ if (name) {
+ // initialize a sub library
+ if (!mixpanel_master[name]) {
+ mixpanel_master[name] = instances[name] = create_mplib(token, config, name);
+ mixpanel_master[name]._loaded();
+ }
+ return mixpanel_master[name];
+ } else {
+ var instance = mixpanel_master;
+
+ if (instances[PRIMARY_INSTANCE_NAME]) {
+ // main mixpanel lib already initialized
+ instance = instances[PRIMARY_INSTANCE_NAME];
+ } else if (token) {
+ // intialize the main mixpanel lib
+ instance = create_mplib(token, config, PRIMARY_INSTANCE_NAME);
+ instance._loaded();
+ instances[PRIMARY_INSTANCE_NAME] = instance;
+ }
+
+ mixpanel_master = instance;
+ if (init_type === INIT_SNIPPET) {
+ window$1[PRIMARY_INSTANCE_NAME] = mixpanel_master;
+ }
+ extend_mp();
+ }
+ };
+};
+
+var add_dom_loaded_handler = function() {
+ // Cross browser DOM Loaded support
+ function dom_loaded_handler() {
+ // function flag since we only want to execute this once
+ if (dom_loaded_handler.done) { return; }
+ dom_loaded_handler.done = true;
+
+ DOM_LOADED = true;
+ ENQUEUE_REQUESTS = false;
+
+ _.each(instances, function(inst) {
+ inst._dom_loaded();
+ });
+ }
+
+ function do_scroll_check() {
+ try {
+ document$1.documentElement.doScroll('left');
+ } catch(e) {
+ setTimeout(do_scroll_check, 1);
+ return;
+ }
+
+ dom_loaded_handler();
+ }
+
+ if (document$1.addEventListener) {
+ if (document$1.readyState === 'complete') {
+ // safari 4 can fire the DOMContentLoaded event before loading all
+ // external JS (including this file). you will see some copypasta
+ // on the internet that checks for 'complete' and 'loaded', but
+ // 'loaded' is an IE thing
+ dom_loaded_handler();
+ } else {
+ document$1.addEventListener('DOMContentLoaded', dom_loaded_handler, false);
+ }
+ } else if (document$1.attachEvent) {
+ // IE
+ document$1.attachEvent('onreadystatechange', dom_loaded_handler);
+
+ // check to make sure we arn't in a frame
+ var toplevel = false;
+ try {
+ toplevel = window$1.frameElement === null;
+ } catch(e) {
+ // noop
+ }
+
+ if (document$1.documentElement.doScroll && toplevel) {
+ do_scroll_check();
+ }
+ }
+
+ // fallback handler, always will work
+ _.register_event(window$1, 'load', dom_loaded_handler, true);
+};
+
+function init_as_module() {
+ init_type = INIT_MODULE;
+ mixpanel_master = new MixpanelLib();
+
+ override_mp_init_func();
+ mixpanel_master['init']();
+ add_dom_loaded_handler();
+
+ return mixpanel_master;
+}
+
+var mixpanel = init_as_module();
+
+module.exports = mixpanel;
+},{}],2:[function(require,module,exports){
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var click_action_1 = __importDefault(require("./actions/click-action"));
+var ActionFactory = /** @class */ (function () {
+ function ActionFactory() {
+ }
+ ActionFactory.createAction = function (type, config) {
+ // Check if the action is available
+ if (ActionFactory.classDictionary[type] == undefined) {
+ throw new Error('[BitAnalytics] ' + type + ' is not available.');
+ }
+ else {
+ // Create a action
+ var action = Object.create(ActionFactory.classDictionary[type].prototype);
+ action.constructor.apply(action, [config]);
+ action = action;
+ return action;
+ }
+ };
+ ActionFactory.classDictionary = {
+ 'click': click_action_1.default
+ };
+ return ActionFactory;
+}());
+exports.default = ActionFactory;
+
+},{"./actions/click-action":5}],3:[function(require,module,exports){
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var ActionHandlers = /** @class */ (function () {
+ function ActionHandlers() {
+ this.actions = [];
+ var self = this;
+ var callback = function () {
+ if (self.timeout) {
+ clearTimeout(self.timeout);
+ }
+ self.timeout = setTimeout(function () {
+ console.log('[BitAnalytics] Content modified, refreshing trackers');
+ self.refreshTrackers();
+ self.timeout = undefined;
+ }, 300);
+ };
+ if (MutationObserver) {
+ var targetNode = document.getElementsByTagName('body');
+ var config = { attributes: true, childList: true, subtree: true };
+ // Create an observer instance linked to the callback function
+ var observer = new MutationObserver(callback);
+ // Start observing the target node for configured mutations
+ observer.observe(targetNode[0], config);
+ }
+ else {
+ window.addEventListener("DOMSubtreeModified", callback);
+ }
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ ActionHandlers.prototype.refreshTrackers = function () {
+ this.actions.map(function (action) {
+ try {
+ action.stopTracking();
+ }
+ catch (err) {
+ console.log(err);
+ }
+ try {
+ action.startTracking();
+ }
+ catch (err) {
+ console.log(err);
+ }
+ });
+ };
+ ActionHandlers.prototype.trackAction = function (action) {
+ this.actions.push(action);
+ };
+ return ActionHandlers;
+}());
+exports.default = ActionHandlers;
+
+},{}],4:[function(require,module,exports){
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var Action = /** @class */ (function () {
+ function Action(config) {
+ if (!config.name) {
+ throw new Error('[BitAnalytics] Action should have a name config : { name : ... }');
+ }
+ this.name = config.name;
+ this.isTracking = false;
+ }
+ return Action;
+}());
+exports.default = Action;
+
+},{}],5:[function(require,module,exports){
+"use strict";
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var action_1 = __importDefault(require("../action"));
+var log_event_handlers_1 = __importDefault(require("../log-event-handlers"));
+var log_event_1 = __importDefault(require("../log-event"));
+var ClickAction = /** @class */ (function (_super) {
+ __extends(ClickAction, _super);
+ function ClickAction(config) {
+ var _this = _super.call(this, config) || this;
+ _this.params = [];
+ if (!config.class || !config.channels) {
+ throw new Error('[BitAnalytics] ClickAction should have a config like this : { class : ..., channels: ... }');
+ }
+ if (config.params) {
+ _this.params = config.params;
+ }
+ _this.class = config.class;
+ _this.channels = config.channels;
+ var self = _this;
+ _this.listener = function (event) {
+ /*console.log('on click');
+ console.log(event.target.id);
+ console.log(event.target.outerHTML);
+ console.log(event.target.outerText);*/
+ var params = {};
+ var target = _this.searchTarget(event.srcElement);
+ // If I found my element, that should happen 100%
+ if (target) {
+ self.params.map(function (param) {
+ var value = target[param];
+ if (value) {
+ params[param] = value;
+ }
+ else {
+ var item = target.attributes.getNamedItem(param);
+ if (item) {
+ params[param] = item.value;
+ }
+ }
+ });
+ }
+ var logEvent = new log_event_1.default(self.name, [params], self.channels);
+ log_event_handlers_1.default.sharedInstance().postEvent(logEvent);
+ };
+ _this.isTracking = false;
+ return _this;
+ }
+ /**
+ *
+ * Private methods
+ *
+ */
+ ClickAction.prototype.searchTarget = function (element) {
+ if (element && element.classList && element.classList.contains(this.class)) {
+ return element;
+ }
+ else if (element.parentElement) {
+ return this.searchTarget(element.parentElement);
+ }
+ else {
+ return undefined;
+ }
+ };
+ /**
+ *
+ * Public methods
+ *
+ */
+ ClickAction.prototype.startTracking = function () {
+ if (this.isTracking) {
+ throw new Error('[BitAnalytics] The tacking is already started');
+ }
+ this.isTracking = true;
+ var elements = document.getElementsByClassName(this.class);
+ // Add event listener to all the elements found
+ for (var i = 0; i < elements.length; i++) {
+ var element = elements[i];
+ console.log('init ' + this.name);
+ element.addEventListener('click', this.listener);
+ }
+ };
+ ClickAction.prototype.stopTracking = function () {
+ if (!this.isTracking) {
+ throw new Error('[BitAnalytics] The tacking is already stopped');
+ }
+ var elements = document.getElementsByClassName(this.class);
+ // Add event listener to all the elements found
+ for (var i = 0; i < elements.length; i++) {
+ var element = elements[i];
+ element.removeEventListener('click', this.listener);
+ }
+ this.isTracking = false;
+ };
+ return ClickAction;
+}(action_1.default));
+exports.default = ClickAction;
+
+},{"../action":4,"../log-event":15,"../log-event-handlers":14}],6:[function(require,module,exports){
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var log_event_handlers_1 = __importDefault(require("./log-event-handlers"));
+var log_event_1 = __importDefault(require("./log-event"));
+var action_factory_1 = __importDefault(require("./action-factory"));
+var adjust_channel_1 = __importDefault(require("./channels/adjust-channel"));
+var mixpanel_channel_1 = __importDefault(require("./channels/mixpanel-channel"));
+var action_handlers_1 = __importDefault(require("./action-handlers"));
+var channels;
+(function (channels) {
+ channels.AdjustChannel = adjust_channel_1.default;
+ channels.MixpanelChannel = mixpanel_channel_1.default;
+})(channels = exports.channels || (exports.channels = {}));
+var BitAnalytics = /** @class */ (function () {
+ function BitAnalytics() {
+ }
+ BitAnalytics.initialize = function (os, appVersion, channelConfigs) {
+ if (window == undefined) {
+ console.error('[BitAnalytics] BitAnalytics cannot be integrated in window.');
+ }
+ BitAnalytics.LogEventHandlers = new log_event_handlers_1.default(os, appVersion, channelConfigs);
+ BitAnalytics.ActionHandlers = new action_handlers_1.default();
+ BitAnalytics.LogEvent = log_event_1.default;
+ BitAnalytics.ActionFactory = action_factory_1.default;
+ };
+ BitAnalytics.main = function () {
+ if (window) {
+ window.BitAnalytics = BitAnalytics;
+ }
+ };
+ return BitAnalytics;
+}());
+exports.default = BitAnalytics;
+BitAnalytics.main();
+
+},{"./action-factory":2,"./action-handlers":3,"./channels/adjust-channel":9,"./channels/mixpanel-channel":12,"./log-event":15,"./log-event-handlers":14}],7:[function(require,module,exports){
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var adjust_channel_1 = __importDefault(require("./channels/adjust-channel"));
+var firebase_channel_1 = __importDefault(require("./channels/firebase-channel"));
+var ga_channel_1 = __importDefault(require("./channels/ga-channel"));
+var mixpanel_channel_1 = __importDefault(require("./channels/mixpanel-channel"));
+var ChannelFactory = /** @class */ (function () {
+ function ChannelFactory() {
+ }
+ ChannelFactory.createChannel = function (name, config) {
+ // Check if the channel is available
+ if (ChannelFactory.classDictionary[name] == undefined) {
+ throw new Error('[BitAnalytics] ' + name + ' is not available.');
+ }
+ else {
+ // Create a channel
+ var channel = Object.create(ChannelFactory.classDictionary[name].prototype);
+ channel.constructor.apply(channel, [name, config]);
+ channel = channel;
+ return channel;
+ }
+ };
+ ChannelFactory.classDictionary = {
+ 'adjust': adjust_channel_1.default,
+ 'firebase': firebase_channel_1.default,
+ 'ga': ga_channel_1.default,
+ 'mixpanel': mixpanel_channel_1.default
+ };
+ return ChannelFactory;
+}());
+exports.default = ChannelFactory;
+
+},{"./channels/adjust-channel":9,"./channels/firebase-channel":10,"./channels/ga-channel":11,"./channels/mixpanel-channel":12}],8:[function(require,module,exports){
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var Channel = /** @class */ (function () {
+ function Channel(name) {
+ this.isReady = false;
+ this.queue = new Array();
+ this.name = name;
+ }
+ /**
+ *
+ * Protected methods
+ *
+ */
+ Channel.prototype.flush = function () {
+ this.queue.forEach(function (f) {
+ f();
+ });
+ this.queue = new Array();
+ };
+ Channel.prototype.enqueue = function (f) {
+ this.queue.push(f);
+ };
+ return Channel;
+}());
+exports.default = Channel;
+
+},{}],9:[function(require,module,exports){
+"use strict";
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var channel_1 = __importDefault(require("../channel"));
+// Loading Adjust websdk
+require('../external-libs/adjust');
+var AdjustChannel = /** @class */ (function (_super) {
+ __extends(AdjustChannel, _super);
+ function AdjustChannel(name, config) {
+ var _this = _super.call(this, name) || this;
+ if (!config.token) {
+ throw new Error('[BitAnalytics] Adjust config is missing token.');
+ }
+ if (!config.eventTypes) {
+ throw new Error('[BitAnalytics] Adjust config is missing event types.');
+ }
+ if (!Adjust) {
+ throw new Error('[BitAnalytics] Adjust cordova plugin is not installed correctly.');
+ }
+ _this.eventTypes = config.eventTypes;
+ var os = _this.adjustedOs(config.os);
+ _this.advertisingId = _this.getAdvertisingId(os);
+ console.log('Advertising ID for adjust: ' + _this.advertisingId);
+ // TODO: Different initialisation for Cordova.
+ var sessionParams = {
+ app_version: config.appVersion,
+ app_version_short: config.appVersion,
+ os_name: os
+ };
+ _this.addAdvertisingId(os, sessionParams);
+ var environment = config.environment || 'production';
+ _this.adjustInstance = new Adjust(config.token, environment, os);
+ _this.adjustInstance.trackSession(sessionParams);
+ _this.isReady = true;
+ return _this;
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ AdjustChannel.prototype.postEvent = function (name, params) {
+ if (this.isReady) {
+ var eventType = this.eventTypes[name];
+ // Each event needs to be added on adjust, and config for adjust.
+ if (!eventType) {
+ throw new Error('This event name does not exist on Adjust.');
+ }
+ params.os = this.adjustedOs(params.os);
+ this.addAdvertisingId(params.os, params);
+ this.adjustInstance.trackEvent(eventType, params);
+ }
+ };
+ /**
+ *
+ * Private methods
+ *
+ */
+ AdjustChannel.prototype.addAdvertisingId = function (os, params) {
+ if (os === 'ios') {
+ params.idfa = this.advertisingId;
+ }
+ else if (os === 'android') {
+ params.gps_adid = this.advertisingId;
+ }
+ else {
+ params.win_hwid = this.advertisingId;
+ params.win_naid = this.advertisingId;
+ params.win_adid = this.advertisingId;
+ }
+ };
+ // Desktop version will pretend to be Windows
+ AdjustChannel.prototype.adjustedOs = function (os) {
+ if (os === 'ios' || os === 'android') {
+ return os;
+ }
+ else {
+ return 'wstore';
+ }
+ };
+ AdjustChannel.prototype.generateRandomGuid = function () {
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
+ return v.toString(16);
+ });
+ };
+ // Example: 107e8ea14329d4a2194ebbb6dc0c0fd7
+ AdjustChannel.prototype.generateWindowsAdvertisingId = function () {
+ var id = '';
+ for (var i = 0; i < 32; i++) {
+ id += Math.floor(Math.random() * 16).toString(16);
+ }
+ return id;
+ };
+ // https://docs.adjust.com/en/event-tracking/
+ AdjustChannel.prototype.getAdvertisingId = function (os) {
+ var adid = localStorage.getItem('adid');
+ if (!adid) {
+ if (os === 'ios') {
+ adid = this.generateRandomGuid().toUpperCase();
+ }
+ else if (os === 'android') {
+ adid = this.generateRandomGuid();
+ }
+ else {
+ adid = this.generateWindowsAdvertisingId();
+ }
+ localStorage.setItem('adid', adid);
+ }
+ return adid;
+ };
+ return AdjustChannel;
+}(channel_1.default));
+exports.default = AdjustChannel;
+
+},{"../channel":8,"../external-libs/adjust":13}],10:[function(require,module,exports){
+"use strict";
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var channel_1 = __importDefault(require("../channel"));
+var FirebaseChannel = /** @class */ (function (_super) {
+ __extends(FirebaseChannel, _super);
+ function FirebaseChannel(name, config) {
+ var _this = _super.call(this, name) || this;
+ /**
+ * Firebase available only on ios and android
+ */
+ if (config.os != 'android' && config.os != 'ios') {
+ throw new Error('[BitAnalytics] Firebase is not supported on ' + config.os);
+ }
+ if (!window.FirebasePlugin) {
+ throw new Error('[BitAnalytics] Firebase cordova plugin is not installed correctly.');
+ }
+ _this.firebaseInstance = window.FirebasePlugin;
+ _this.isReady = true;
+ return _this;
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ FirebaseChannel.prototype.postEvent = function (name, params) {
+ var _this = this;
+ var sanitizedParams = this.sanitizeParams(params);
+ if (!this.isReady) {
+ this.enqueue(function () { _this.postEvent(name, sanitizedParams); });
+ }
+ else {
+ this.firebaseInstance.logEvent(name, sanitizedParams);
+ }
+ };
+ // [Firebase/Analytics][I-ACS013002] Event parameter name must contain only letters, numbers, or underscores
+ FirebaseChannel.prototype.sanitizeParams = function (params) {
+ var keys = Object.keys(params);
+ var keysLength = keys.length;
+ var sanitized = {};
+ for (var i = 0; i < keysLength; i++) {
+ var key = keys[i];
+ var cleanKey = key.replace('-', '_').replace(/[\W]+/g, '');
+ sanitized[cleanKey] = params[key];
+ }
+ return sanitized;
+ };
+ return FirebaseChannel;
+}(channel_1.default));
+exports.default = FirebaseChannel;
+
+},{"../channel":8}],11:[function(require,module,exports){
+"use strict";
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var channel_1 = __importDefault(require("../channel"));
+var GoogleAnalyticsChannel = /** @class */ (function (_super) {
+ __extends(GoogleAnalyticsChannel, _super);
+ function GoogleAnalyticsChannel(name, config) {
+ var _this = _super.call(this, name) || this;
+ _this.dataLayer = null;
+ _this.gaInstance = null;
+ _this.trackingId = '';
+ _this.eventLabels = ['id'];
+ if (!config.trackingId) {
+ throw new Error('[BitAnalytics] Google Analytics config is missing tracking ID.');
+ }
+ if (config.eventLabels) {
+ _this.eventLabels = config.eventLabels;
+ }
+ _this.trackingId = config.trackingId;
+ _this.setUpGa();
+ return _this;
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ GoogleAnalyticsChannel.prototype.postEvent = function (name, params) {
+ // Default Google Analytics Events
+ // https://developers.google.com/analytics/devguides/collection/gtagjs/events
+ // Useful to convert to these, or start with these?
+ if (this.isReady) {
+ params.event_category = name;
+ for (var _i = 0, _a = this.eventLabels; _i < _a.length; _i++) {
+ var eventLabel = _a[_i];
+ if (params[eventLabel]) {
+ params.event_label = params[eventLabel];
+ break;
+ }
+ }
+ this.gtag('event', name, params);
+ }
+ };
+ /**
+ *
+ * Private methods
+ *
+ */
+ /**
+ * Mimics function in the tracking snippet
+ */
+ GoogleAnalyticsChannel.prototype.gtag = function () {
+ var args = [];
+ for (var _i = 0; _i < arguments.length; _i++) {
+ args[_i] = arguments[_i];
+ }
+ console.log(arguments);
+ window.dataLayer.push(arguments);
+ };
+ GoogleAnalyticsChannel.prototype.setUpGa = function () {
+ // From what GA recommends to insert into page
+ window.dataLayer = window.dataLayer || [];
+ this.gtag('js', new Date());
+ this.gtag('config', this.trackingId);
+ this.isReady = true;
+ };
+ return GoogleAnalyticsChannel;
+}(channel_1.default));
+exports.default = GoogleAnalyticsChannel;
+
+},{"../channel":8}],12:[function(require,module,exports){
+"use strict";
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var channel_1 = __importDefault(require("../channel"));
+var mixpanel = require('mixpanel-browser');
+var MixpanelChannel = /** @class */ (function (_super) {
+ __extends(MixpanelChannel, _super);
+ function MixpanelChannel(name, config) {
+ var _this = _super.call(this, name) || this;
+ if (!config.token) {
+ throw new DOMException('[BitAnalytics] Config incorrect.');
+ }
+ _this.mixpanelInstance = mixpanel;
+ mixpanel.init(config.token, config.config);
+ return _this;
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ MixpanelChannel.prototype.postEvent = function (name, params) {
+ var result = this.mixpanelInstance.track(name);
+ };
+ return MixpanelChannel;
+}(channel_1.default));
+exports.default = MixpanelChannel;
+
+},{"../channel":8,"mixpanel-browser":1}],13:[function(require,module,exports){
+"use strict";
+(function (window) {
+ var sendRequest = function (method, url, data, success_cb, error_cb) {
+ var req = new XMLHttpRequest();
+ req.open(method, url, !0);
+ req.setRequestHeader("Client-SDK", "js4.0.0");
+ req.onreadystatechange = function () { if (req.readyState == 4) {
+ if (req.status >= 200 && req.status < 400) {
+ !!success_cb && success_cb(req.responseText);
+ }
+ else if (!!error_cb) {
+ !!error_cb && error_cb(new Error("Server responded with HTTP " + req.status), xhr);
+ }
+ } };
+ if (!!error_cb) {
+ req.onerror = error_cb;
+ }
+ req.send(data);
+ };
+ var encodeQueryString = function (params) {
+ var pairs = [];
+ for (var k in params) {
+ if (!params.hasOwnProperty(k)) {
+ continue;
+ }
+ pairs.push(encodeURIComponent(k) + "=" + encodeURIComponent(params[k]));
+ }
+ return pairs.join("&");
+ };
+ var cloneObj = function (obj) {
+ var copy = {};
+ if (typeof (obj) != "object" || !obj) {
+ return copy;
+ }
+ for (var k in obj) {
+ if (!obj.hasOwnProperty(k)) {
+ continue;
+ }
+ copy[k] = obj[k];
+ }
+ return copy;
+ };
+ if (!'withCredentials' in new XMLHttpRequest()) {
+ sendRequest = function () { };
+ }
+ window.Adjust = function (app_token, environment, os_name) { this.trackSession = function (device_ids) { var params = cloneObj(device_ids); params.app_token = app_token; params.os_name = os_name; params.environment = environment; sendRequest("GET", "https://app.adjust.com/session?" + encodeQueryString(params)); }; this.trackEvent = function (event_token, device_ids) { var params = cloneObj(device_ids); params.app_token = app_token; params.event_token = event_token; params.os_name = os_name; params.environment = environment; sendRequest("GET", "https://app.adjust.com/event?" + encodeQueryString(params)); }; };
+})(window);
+
+},{}],14:[function(require,module,exports){
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+var channel_factory_1 = __importDefault(require("./channel-factory"));
+var LogEventHandlers = /** @class */ (function () {
+ function LogEventHandlers(os, appVersion, channelConfigs) {
+ this.os = os;
+ this.appVersion = appVersion;
+ this.channels = [];
+ this.isReady = false; // Ready once all channels are ready or one channel is ready?
+ this.initializeChannels(channelConfigs);
+ LogEventHandlers.instance = this;
+ }
+ /**
+ *
+ * Public methods
+ *
+ */
+ LogEventHandlers.sharedInstance = function () {
+ if (LogEventHandlers.instance) {
+ return LogEventHandlers.instance;
+ }
+ else {
+ throw new Error('[BitAnalytics] LogEventHandlers need to be initialized');
+ }
+ };
+ LogEventHandlers.prototype.postEvent = function (logEvent) {
+ var _this = this;
+ /**
+ * 0 is shared params
+ * 1 is first channel
+ * 2 is second channel
+ * ...
+ */
+ var logEventParams = logEvent.params;
+ // params
+ var params = {
+ 'os': this.os,
+ 'appVersion': this.appVersion
+ };
+ // Concat the shared params
+ if (logEventParams.length > 0) {
+ // concat specific params needed
+ params = this.concatObject(logEventParams[0], params);
+ }
+ // Post event depending of the channel
+ logEvent.channelNames.map(function (channelName, i) {
+ var channel = _this.getChannelByName(channelName);
+ if (channel) {
+ // Real index (first param is shared by all channels)
+ var index = i + 1;
+ // concat if needed
+ if (logEventParams.length > index) {
+ // concat specific params needed
+ params = _this.concatObject(logEventParams[index], params);
+ }
+ console.log('[BitAnalytics] Params: ' + JSON.stringify(params));
+ try {
+ channel.postEvent(logEvent.name, params);
+ console.log('[BitAnalytics] LogEvent "' + logEvent.name + '" sent to ' + channelName + '.');
+ }
+ catch (e) {
+ console.error('[BitAnalytics] LogEvent "' + logEvent.name + '" failed to send with "' + channelName + '. ');
+ console.log(e);
+ }
+ }
+ else {
+ // Channel not available
+ console.log('[BitAnalytics] LogEvent "' + logEvent.name + '" cannot send to ' + channelName + ', this channel is not available.');
+ }
+ });
+ };
+ /**
+ *
+ * Private methods
+ *
+ */
+ LogEventHandlers.prototype.concatObject = function (from, to) {
+ var keys = Object.keys(from);
+ keys.map(function (key) {
+ if (!to[key]) {
+ to[key] = from[key];
+ }
+ });
+ return to;
+ };
+ LogEventHandlers.prototype.getChannelByName = function (channelName) {
+ var channels = this.channels.filter(function (channel) { return channel.name == channelName; });
+ if (channels.length > 0) {
+ return channels[0];
+ }
+ else {
+ return undefined;
+ }
+ };
+ LogEventHandlers.prototype.initializeChannels = function (channelConfigs) {
+ var _this = this;
+ // Get the channel names by the keys
+ var channelNames = Object.keys(channelConfigs);
+ // Iterate to init the several channels given in the config
+ channelNames.map(function (channelName) {
+ var channelConfig = channelConfigs[channelName];
+ // OS shared to check the availability of this channel on this OS.
+ channelConfig.os = _this.os;
+ channelConfig.appVersion = _this.appVersion;
+ try {
+ var channel = channel_factory_1.default.createChannel(channelName, channelConfig);
+ _this.channels.push(channel);
+ }
+ catch (error) {
+ console.log('[BitAnalytics] ' + error.name + ': ' + error.message);
+ }
+ });
+ };
+ return LogEventHandlers;
+}());
+exports.default = LogEventHandlers;
+
+},{"./channel-factory":7}],15:[function(require,module,exports){
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var LogEvent = /** @class */ (function () {
+ function LogEvent(name, params, channelNames) {
+ if (channelNames.length == 0) {
+ throw new Error('[BitAnalytics] Minimum one channel is needed.');
+ }
+ this.name = name;
+ this.params = params;
+ this.channelNames = channelNames;
+ }
+ return LogEvent;
+}());
+exports.default = LogEvent;
+
+},{}]},{},[6])(6)
+});
diff --git a/i18n/docs/appstore_en.txt b/i18n/docs/appstore_en.txt
index bdcad6673..6b7cd0a60 100644
--- a/i18n/docs/appstore_en.txt
+++ b/i18n/docs/appstore_en.txt
@@ -1,23 +1,23 @@
-Secure bitcoin on your own terms with an open source, multisignature wallet from BitPay.
-Copay users can hold funds individually or share finances securely with other users with multisignature wallets, which prevent unauthorized payments by requiring multiple approvals. Here are some ways Copay can be used with others:
-
-To save for vacations or joint purchases with friends
-To track family spending and allowances
-To manage business, club, or organization funds and expenses
-
-We built the following features into this version of Copay for a bitcoin wallet that doesn't compromise on security or accessibility:
-
-Multiple wallet creation and management in-app
-Intuitive multisignature security for personal or shared wallets
-Easy spending proposal flow for shared wallets and group payments
-Hierarchical deterministic (HD) address generation and wallet backups
-Device-based security: all private keys are stored locally, not in the cloud
-Support for Bitcoin testnet wallets
-Synchronous access across all major mobile and desktop platforms
-Payment protocol (BIP70-BIP73) support: easily-identifiable payment requests and verifiably secure bitcoin payments
-Support for 150+ currency pricing options and unit denomination in BTC or bits
-Email notifications for payments and transfers
-Customizable wallet naming and background colors
-9 supported languages (EN, CS, FR, DE, IT, ES, JA, PL, RU)
-
-Copay is free and open source software run on non-proprietary servers, so there's no need to rely on any company for continuous support. Anyone can review or contribute to Copay's source code on GitHub (https://github.com/bitpay/copay).
+Secure bitcoin on your own terms with an open source, multisignature wallet from BitPay.
+Copay users can hold funds individually or share finances securely with other users with multisignature wallets, which prevent unauthorized payments by requiring multiple approvals. Here are some ways Copay can be used with others:
+
+To save for vacations or joint purchases with friends
+To track family spending and allowances
+To manage business, club, or organization funds and expenses
+
+We built the following features into this version of Copay for a bitcoin wallet that doesn't compromise on security or accessibility:
+
+Multiple wallet creation and management in-app
+Intuitive multisignature security for personal or shared wallets
+Easy spending proposal flow for shared wallets and group payments
+Hierarchical deterministic (HD) address generation and wallet backups
+Device-based security: all private keys are stored locally, not in the cloud
+Support for Bitcoin testnet wallets
+Synchronous access across all major mobile and desktop platforms
+Payment protocol (BIP70-BIP73) support: easily-identifiable payment requests and verifiably secure bitcoin payments
+Support for 150+ currency pricing options and unit denomination in BTC or bits
+Email notifications for payments and transfers
+Customizable wallet naming and background colors
+9 supported languages (EN, CS, FR, DE, IT, ES, JA, PL, RU)
+
+Copay is free and open source software run on non-proprietary servers, so there's no need to rely on any company for continuous support. Anyone can review or contribute to Copay's source code on GitHub (https://github.com/bitpay/copay).
diff --git a/i18n/docs/updateinfo_en.txt b/i18n/docs/updateinfo_en.txt
index 8b1378917..d3f5a12fa 100644
--- a/i18n/docs/updateinfo_en.txt
+++ b/i18n/docs/updateinfo_en.txt
@@ -1 +1 @@
-
+
diff --git a/i18n/po/ca/template-ca.po b/i18n/po/ca/template-ca.po
new file mode 100644
index 000000000..088cd870b
--- /dev/null
+++ b/i18n/po/ca/template-ca.po
@@ -0,0 +1,3760 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Project-Id-Version: bitcoincom-wallet\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: crowdin.com\n"
+"X-Crowdin-Project: bitcoincom-wallet\n"
+"X-Crowdin-Language: ca\n"
+"X-Crowdin-File: template.pot\n"
+"Last-Translator: emilold\n"
+"Language-Team: Catalan\n"
+"Language: ca\n"
+"PO-Revision-Date: 2018-07-27 08:43\n"
+
+#: www/views/modals/paypro.html:34
+msgid "(Trusted)"
+msgstr "(De confiança)"
+
+#: www/views/includes/txp.html:23
+#: www/views/includes/walletHistory.html:64
+msgid "(possible double spend)"
+msgstr "(possible doble despesa)"
+
+#: www/views/modals/txp-details.html:159
+msgid "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
+msgstr "* Una proposta de pagament es pot suprimir si 1) en sou el creador i si cap altre copagador l'ha firmat, o 2) si han passat 24 hores des de la creació de la proposta."
+
+#: www/views/tx-details.html:82
+msgid "- {{btx.feeRateStr}} of the transaction"
+msgstr "- {{btx.feeRateStr}} de la transacció"
+
+#: www/views/modals/txp-details.html:102
+msgid "- {{tx.feeRateStr}} of the transaction"
+msgstr "- {{tx.feeRateStr}} de la transacció"
+
+#: www/views/feedback/rateApp.html:7
+msgid "5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!"
+msgstr "Una valoració de 5 estrelles ens ajuda a ampliar la utilització de {{appName}}. Com més usuaris tingui, més recursos es podran dedicar a l'aplicació!"
+
+#: www/views/mercadoLibre.html:18
+#: www/views/mercadoLibre.html:40
+msgid "Only redeemable on Mercado Livre (Brazil)"
+msgstr "Només bescanviable a Mercado Livre (Brasil)"
+
+#: src/js/controllers/feedback/send.js:27
+#: www/views/feedback/complete.html:21
+msgid "A member of the team will review your feedback as soon as possible."
+msgstr "Un membre de l'equip revisarà els vostres comentaris al més aviat possible."
+
+#: src/js/controllers/confirm.js:401
+msgid "A total of {{amountAboveMaxSizeStr}} were excluded. The maximum size allowed for a transaction was exceeded."
+msgstr "S'han exclòs un total de {{amountAboveMaxSizeStr}}. S'ha superat el màxim permès per a una transacció."
+
+#: src/js/controllers/confirm.js:395
+msgid "A total of {{amountBelowFeeStr}} were excluded. These funds come from UTXOs smaller than the network fee provided."
+msgstr "S'han exclòs un total de {{amountBelowFeeStr}}. Aquests fons provenen d'UTXOs més petits que la comissió de xarxa prevista."
+
+#: src/js/controllers/preferencesAbout.js:6
+#: www/views/tab-settings.html:156
+msgid "About"
+msgstr "Informació"
+
+#: src/js/controllers/modals/txpDetails.js:62
+#: src/js/controllers/tx-details.js:79
+msgid "Accepted"
+msgstr "Acceptada"
+
+#: www/views/preferencesInformation.html:72
+msgid "Account"
+msgstr "Compte"
+
+#: www/views/join.html:72
+#: www/views/tab-create-personal.html:45
+#: www/views/tab-create-shared.html:74
+#: www/views/tab-import-hardware.html:19
+msgid "Account Number"
+msgstr "Número de compte"
+
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Transaccions instantànies amb comissions baixes"
+
+#: www/views/preferencesBitpayServices.html:23
+msgid "Accounts"
+msgstr "Comptes"
+
+#: www/views/bitpayCard.html:56
+msgid "Activity"
+msgstr "Activitat"
+
+#: src/js/services/bitpayAccountService.js:83
+msgid "Add Account"
+msgstr "Afegeix un compte"
+
+#: src/js/services/bitpayAccountService.js:69
+msgid "Add BitPay Account?"
+msgstr "Voleu afegir un compte de BitPay?"
+
+#: www/views/addressbook.add.html:4
+#: www/views/addressbook.html:22
+msgid "Add Contact"
+msgstr "Afegeix un contacte"
+
+#: www/views/bitpayCard.html:28
+msgid "Add Funds"
+msgstr "Afegeix fons"
+
+#: www/views/confirm.html:94
+msgid "Add Memo"
+msgstr "Afegeix una nota"
+
+#: www/views/join.html:87
+#: www/views/tab-create-personal.html:59
+#: www/views/tab-create-shared.html:88
+msgid "Add a password"
+msgstr "Afegiu una contrasenya"
+
+#: www/views/includes/accountSelector.html:27
+msgid "Add account"
+msgstr "Afegeix un compte"
+
+#: www/views/join.html:90
+#: www/views/tab-create-personal.html:62
+#: www/views/tab-create-shared.html:91
+msgid "Add an optional password to secure the recovery phrase"
+msgstr "Afegeix una contrasenya opcional per assegurar la frase de recuperació"
+
+#: www/views/includes/incomingDataMenu.html:41
+msgid "Add as a contact"
+msgstr "Afegeix com a contacte"
+
+#: src/js/controllers/confirm.js:424
+msgid "Add description"
+msgstr "Afegeix una descripció"
+
+#: www/views/topup.html:6
+msgid "Add funds"
+msgstr "Afegeix fons"
+
+#: src/js/services/bitpayAccountService.js:78
+msgid "Add this BitPay account ({{email}})?"
+msgstr "Voleu afegir aquest compte de BitPay ({{email}})?"
+
+#: www/views/add.html:3
+msgid "Add wallet"
+msgstr "Afegeix una cartera"
+
+#: www/views/addressbook.view.html:26
+#: www/views/customAmount.html:28
+#: www/views/modals/paypro.html:24
+msgid "Address"
+msgstr "Adreça"
+
+#: www/views/addressbook.html:6
+#: www/views/tab-settings.html:13
+msgid "Address Book"
+msgstr "Llibreta d'adreces"
+
+#: www/views/preferencesInformation.html:41
+msgid "Address Type"
+msgstr "Tipus d'adreça"
+
+#: www/views/addresses.html:64
+msgid "Addresses With Balance"
+msgstr "Adreces amb saldo"
+
+#: www/views/tab-settings.html:149
+msgid "Advanced"
+msgstr "Avançats"
+
+#: www/views/advancedSettings.html:3
+msgid "Advanced Settings"
+msgstr "Paràmetres avançats"
+
+#: www/views/bitpayCard.html:62
+msgid "All"
+msgstr "Tots"
+
+#: www/views/allAddresses.html:3
+msgid "All Addresses"
+msgstr "Totes les adreces"
+
+#: www/views/modals/wallet-balance.html:18
+msgid "All of your bitcoin wallet balance may not be available for immediate spending."
+msgstr "És possible que no tot el saldo de la vostra cartera de bitcoins estigui disponible per a despeses immediates."
+
+#: www/views/tab-receive.html:25
+msgid "All signing devices must be added to this multisig wallet before bitcoin addresses can be created."
+msgstr "Tots els dispositius dels firmants s'han d'afegir a aquesta cartera multifirma abans que es puguin crear adreces bitcoin."
+
+#: www/views/tab-scan.html:21
+msgid "Allow Camera Access"
+msgstr "Permet l'accés a la càmera"
+
+#: www/views/onboarding/notifications.html:7
+msgid "Allow notifications"
+msgstr "Permet les notificacions"
+
+#: www/views/onboarding/disclaimer.html:14
+msgid "Almost done! Let's review."
+msgstr "Gairebé ja estem! Repassem-ho."
+
+#: www/views/preferencesAltCurrency.html:4
+#: www/views/tab-settings.html:79
+msgid "Alternative Currency"
+msgstr "Moneda alternativa"
+
+#: src/js/controllers/buyAmazon.js:98
+msgid "Amazon.com is not available at this moment. Please try back later."
+msgstr "Amazon.com no està disponible en aquest moment. Torneu-ho a provar més tard."
+
+#: www/views/amount.html:44
+#: www/views/customAmount.html:34
+#: www/views/includes/output.html:7
+msgid "Amount"
+msgstr "Import"
+
+#: src/js/services/bwcError.js:110
+msgid "Amount below minimum allowed"
+msgstr "Import inferior al mínim permès"
+
+#: src/js/controllers/confirm.js:216
+msgid "Amount too big"
+msgstr "Import massa gran"
+
+#: www/views/includes/walletHistory.html:31
+msgid "Amount too low to spend"
+msgstr "Import massa petit per gastar-lo"
+
+#: src/js/controllers/tab-home.js:147
+msgid "An update to this app is available. For your security, please update to the latest version."
+msgstr "Hi ha una actualització d'aquesta aplicació. Per seguretat, actualitzeu-la amb la darrera versió."
+
+#: www/views/backupWarning.html:14
+msgid "Anyone with your backup phrase can access or spend your bitcoin."
+msgstr "Qualsevol persona que tingui la vostra frase de seguretat pot gastar els vostres bitcoins o accedir-hi."
+
+#: www/views/addresses.html:94
+msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
+msgstr "Comissió aproximada de la de xarxa Bitcoin per transferir el saldo de la cartera (amb prioritat normal)"
+
+#: www/views/backupWarning.html:10
+msgid "Are you being watched?"
+msgstr "Us vigilen?"
+
+#: src/js/controllers/preferencesExternal.js:15
+msgid "Are you being watched? Anyone with your recovery phrase can access or spend your bitcoin."
+msgstr "Us vigilen? Qualsevol persona que tingui la vostra frase de recuperació pot gastar els vostres bitcoins o accedir-hi."
+
+#: src/js/controllers/copayers.js:56
+msgid "Are you sure you want to cancel and delete this wallet?"
+msgstr "Segur que voleu cancel·lar i suprimir aquesta cartera?"
+
+#: src/js/controllers/addressbookView.js:37
+msgid "Are you sure you want to delete this contact?"
+msgstr "Segur que voleu suprimir aquest contacte?"
+
+#: src/js/controllers/preferencesDelete.js:25
+msgid "Are you sure you want to delete this wallet?"
+msgstr "Segur que voleu suprimir aquesta cartera?"
+
+#: src/js/controllers/modals/txpDetails.js:154
+msgid "Are you sure you want to reject this transaction?"
+msgstr "Segur que voleu rebutjar aquesta transacció?"
+
+#: src/js/controllers/modals/txpDetails.js:171
+msgid "Are you sure you want to remove this transaction?"
+msgstr "Segur que voleu suprimir aquesta transacció?"
+
+#: src/js/controllers/onboarding/backupRequest.js:23
+msgid "Are you sure you want to skip it?"
+msgstr "Segur que el voleu ometre?"
+
+#: www/views/modals/bitpay-card-confirmation.html:4
+msgid "Are you sure you would like to log out of your BitPay Card account?"
+msgstr "Segur que voleu sortir del compte BitPay Card?"
+
+#: src/js/controllers/preferencesBitpayCard.js:7
+#: src/js/controllers/preferencesBitpayServices.js:20
+msgid "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
+msgstr "Segur que voleu suprimir la BitPay Card ({{lastFourDigits}}) d'aquest dispositiu?"
+
+#: www/views/includes/walletInfo.html:10
+msgid "Auditable"
+msgstr "Auditable"
+
+#: www/views/modals/wallet-balance.html:42
+msgid "Available"
+msgstr "Disponible"
+
+#: www/views/includes/available-balance.html:3
+msgid "Available Balance"
+msgstr "Saldo disponible"
+
+#: www/views/modals/chooseFeeLevel.html:24
+#: www/views/preferencesFee.html:15
+msgid "Average confirmation time"
+msgstr "Temps de mitjà de confirmació"
+
+#: www/views/join.html:143
+#: www/views/tab-create-personal.html:113
+#: www/views/tab-create-shared.html:142
+#: www/views/tab-import-phrase.html:51
+msgid "BIP32 path for address derivation"
+msgstr "Camí BIP32 per a la derivació de l'adreça"
+
+#: www/views/cashScan.html:25
+msgid "BTC wallets"
+msgstr "Carteres BTC"
+
+#: www/views/preferences.html:34
+msgid "Backup"
+msgstr "Còpia de seguretat"
+
+#: www/views/includes/backupNeededPopup.html:7
+msgid "Backup Needed"
+msgstr "Cal còpia de seguretat"
+
+#: src/js/controllers/lockSetup.js:87
+msgid "Backup all livenet wallets before using this function"
+msgstr "Feu còpia de seguretat de totes les carteres (livenet) abans de fer servir aquesta funció"
+
+#: src/js/controllers/cashScan.js:64
+#: www/views/includes/walletListSettings.html:12
+#: www/views/preferences.html:36
+msgid "Backup needed"
+msgstr "Cal còpia de seguretat"
+
+#: www/views/includes/backupNeededPopup.html:9
+msgid "Backup now"
+msgstr "Feu còpia de seguretat ara"
+
+#: www/views/onboarding/backupRequest.html:11
+#: www/views/tab-export-file.html:89
+msgid "Backup wallet"
+msgstr "Fes còpia de seguretat de la cartera"
+
+#: src/js/controllers/lockSetup.js:84
+msgid "Backup your wallet before using this function"
+msgstr "Feu còpia de seguretat de la cartera abans de fer servir aquesta funció"
+
+#: src/js/services/profileService.js:446
+msgid "Bad wallet invitation"
+msgstr "Invitació de cartera incorrecta"
+
+#: www/views/preferencesInformation.html:102
+msgid "Balance By Address"
+msgstr "Saldo per adreça"
+
+#: www/views/includes/confirmBackupPopup.html:7
+msgid "Be sure to store your recovery phrase in a secure place. If this app is deleted, your money cannot be recovered without it."
+msgstr "Sobretot, deseu la vostra frase de recuperació en un lloc segur. Si se suprimeix aquesta aplicació, no podreu recuperar els diners sense la frase."
+
+#: www/views/preferencesBitpayServices.html:9
+msgid "BitPay Visa® Cards"
+msgstr "Targetes BitPay Visa®"
+
+#: www/views/addressbook.add.html:38
+#: www/views/includes/incomingDataMenu.html:29
+msgid "Bitcoin Address"
+msgstr "Adreça Bitcoin"
+
+#: www/views/cashScan.html:4
+msgid "Bitcoin Cash (BCH) Balances"
+msgstr "Saldos Bitcoin Cash (BCH)"
+
+#: www/views/preferencesCash.html:3
+#: www/views/tab-settings.html:47
+msgid "Bitcoin Cash Support"
+msgstr "Assistència Bitcoin Cash"
+
+#: www/views/tab-home.html:98
+#: www/views/tab-settings.html:115
+msgid "Bitcoin Cash Wallets"
+msgstr "Carteres Bitcoin Cash"
+
+#: www/views/modals/chooseFeeLevel.html:4
+#: www/views/preferencesFee.html:4
+#: www/views/tab-settings.html:90
+msgid "Bitcoin Network Fee Policy"
+msgstr "Política de comissions de la xarxa Bitcoin"
+
+#: www/views/tab-home.html:83
+#: www/views/tab-settings.html:107
+msgid "Bitcoin Core Wallets"
+msgstr "Carteres Bitcoin Core"
+
+#: src/js/services/incomingData.js:151
+msgid "Bitcoin cash Payment"
+msgstr "Pagament en Bitcoin Cash"
+
+#: www/views/onboarding/tour.html:31
+msgid "Bitcoin is a currency."
+msgstr "Bitcoin és una moneda."
+
+#: www/views/onboarding/disclaimer.html:15
+msgid "Bitcoin is different – it cannot be safely held with a bank or web service."
+msgstr "Bitcoin és diferent – no es pot guardar amb seguretat en un banc o servei web."
+
+#: www/views/onboarding/tour.html:18
+msgid "Bitcoin is secure, digital money."
+msgstr "Bitcoin es una moneda, digital segura."
+
+#: www/views/preferencesFee.html:11
+msgid "Bitcoin transactions include a fee collected by miners on the network."
+msgstr "Les transaccions de bitcoins inclouen una comissió que cobren els miners de la xarxa."
+
+#: www/views/buyAmazon.html:108
+msgid "Bought {{amountUnitStr}}"
+msgstr "{{amountUnitStr}} comprats"
+
+#: www/views/modals/txp-details.html:36
+msgid "Broadcast Payment"
+msgstr "Emet el pagament"
+
+#: src/js/controllers/modals/txpDetails.js:64
+#: src/js/controllers/tx-details.js:81
+msgid "Broadcasted"
+msgstr "Emès"
+
+#: src/js/services/onGoingProcess.js:11
+msgid "Broadcasting transaction"
+msgstr "S'està emetent la transacció"
+
+#: www/views/unsupported.html:6
+msgid "Browser unsupported"
+msgstr "Navegador no compatible"
+
+#: www/views/buyAmazon.html:5
+#: www/views/buyMercadoLibre.html:6
+msgid "Buy"
+msgstr "Compra"
+
+#: www/views/includes/buyAndSellCard.html:3
+msgid "Buy & Sell Bitcoin"
+msgstr "Compra & ven bitcoins"
+
+#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
+msgid "Buy Bitcoin"
+msgstr "Compra bitcoins"
+
+#: www/views/mercadoLibre.html:22
+#: www/views/mercadoLibre.html:50
+msgid "Buy a Gift Card"
+msgstr "Compra una targeta regal"
+
+#: src/js/controllers/buyAmazon.js:334
+msgid "Buy from"
+msgstr "Compra des de"
+
+#: src/js/services/onGoingProcess.js:40
+msgid "Buying Bitcoin..."
+msgstr "S'estan comprant bitcoins..."
+
+#: src/js/services/onGoingProcess.js:12
+msgid "Calculating fee"
+msgstr "S'està calculant la comissió"
+
+#: src/js/controllers/buyAmazon.js:313
+#: src/js/controllers/buyMercadoLibre.js:307
+#: src/js/controllers/confirm.js:550
+#: src/js/controllers/topup.js:287
+#: src/js/services/incomingData.js:154
+#: src/js/services/popupService.js:62
+#: src/js/services/popupService.js:73
+#: www/views/addressbook.add.html:10
+#: www/views/feedback/send.html:5
+#: www/views/includes/incomingDataMenu.html:22
+#: www/views/includes/incomingDataMenu.html:54
+#: www/views/includes/incomingDataMenu.html:73
+#: www/views/includes/incomingDataMenu.html:97
+#: www/views/includes/note.html:6
+#: www/views/modals/bitpay-card-confirmation.html:8
+#: www/views/modals/confirmation.html:13
+msgid "Cancel"
+msgstr "Cancel·la"
+
+#: www/views/copayers.html:36
+msgid "Cancel invitation"
+msgstr "Cancel·la la invitació"
+
+#: src/js/controllers/onboarding/tour.js:52
+msgid "Cannot Create Wallet"
+msgstr "No es pot crear la cartera"
+
+#: src/js/services/profileService.js:442
+msgid "Cannot join the same wallet more that once"
+msgstr "No us podeu unir a la mateixa cartera més d'un cop"
+
+#: www/views/includes/bitpayCardsCard.html:2
+msgid "Cards"
+msgstr "Targetes"
+
+#: www/views/modals/paypro.html:30
+msgid "Certified by"
+msgstr "Certificat per"
+
+#: www/views/preferencesExternal.html:19
+msgid "Check installation and retry."
+msgstr "Comproveu la instal·lació i torneu-ho a provar."
+
+#: www/views/tab-import-file.html:4
+msgid "Choose a backup file from your computer"
+msgstr "Trieu un fitxer de còpia de seguretat de l'ordinador"
+
+#: www/views/modals/wallets.html:9
+msgid "Choose your destination wallet"
+msgstr "Trieu la cartera de destinació"
+
+#: www/views/modals/wallets.html:10
+msgid "Choose your source wallet"
+msgstr "Trieu la cartera d'origen"
+
+#: www/views/backup.html:61
+msgid "Clear"
+msgstr "Esborra"
+
+#: www/views/preferencesHistory.html:24
+msgid "Clear cache"
+msgstr "Esborra la memòria cau"
+
+#: src/js/controllers/confirm.js:373
+#: src/js/controllers/modals/txpDetails.js:49
+msgid "Click to accept"
+msgstr "Feu clic per acceptar"
+
+#: src/js/controllers/confirm.js:367
+msgid "Click to pay"
+msgstr "Feu clic per pagar"
+
+#: src/js/controllers/confirm.js:379
+#: src/js/controllers/modals/txpDetails.js:42
+msgid "Click to send"
+msgstr "Feu clic per enviar"
+
+#: www/views/customAmount.html:4
+#: www/views/modals/mercadolibre-card-details.html:3
+#: www/views/modals/paypro.html:4
+#: www/views/modals/pin.html:3
+#: www/views/modals/search.html:3
+#: www/views/modals/wallet-balance.html:3
+#: www/views/modals/wallets.html:5
+msgid "Close"
+msgstr "Tanca"
+
+#: www/views/includes/cash.html:2
+#: www/views/preferencesInformation.html:17
+msgid "Coin"
+msgstr "Moneda"
+
+#: www/views/preferences.html:22
+msgid "Color"
+msgstr "Color"
+
+#: www/views/preferencesAbout.html:21
+msgid "Commit hash"
+msgstr "Hash de confirmació"
+
+#: www/views/preferences.html:49
+msgid "Complete the backup process to use this option"
+msgstr "Completeu el procés de còpia de seguretat per utilitzar aquesta opció"
+
+#: www/views/bitpayCard.html:93
+msgid "Completed"
+msgstr "Completat"
+
+#: src/js/controllers/buyAmazon.js:311
+#: src/js/controllers/buyMercadoLibre.js:305
+#: src/js/controllers/confirm.js:549
+#: src/js/controllers/copayers.js:55
+#: src/js/controllers/topup.js:285
+#: www/views/backup.html:60
+#: www/views/backup.html:79
+#: www/views/confirm.html:4
+#: www/views/onboarding/collectEmail.html:32
+msgid "Confirm"
+msgstr "Confirma"
+
+#: www/views/modals/terms.html:26
+#: www/views/onboarding/disclaimer.html:44
+msgid "Confirm & Finish"
+msgstr "Confirmeu & finalitzeu"
+
+#: www/views/buyAmazon.html:90
+msgid "Confirm purchase"
+msgstr "Confirmeu la compra"
+
+#: www/views/modals/pin.html:10
+msgid "Confirm your PIN"
+msgstr "Confirmeu el PIN"
+
+#: src/js/services/walletService.js:1033
+msgid "Confirm your new spending password"
+msgstr "Confirmeu la nova contrasenya de despeses"
+
+#: www/views/tx-details.html:98
+msgid "Confirmations"
+msgstr "Confirmacions"
+
+#: www/views/bitpayCard.html:68
+#: www/views/modals/wallet-balance.html:61
+msgid "Confirming"
+msgstr "S'està confirmant"
+
+#: www/views/bitpayCardIntro.html:37
+msgid "Connect my BitPay Card"
+msgstr "Connecta la meva BitPay Card"
+
+#: src/js/services/onGoingProcess.js:13
+msgid "Connecting to Coinbase..."
+msgstr "S'està connectant a Coinbase..."
+
+#: src/js/services/onGoingProcess.js:14
+msgid "Connecting to Glidera..."
+msgstr "S'està connectant a Glidera..."
+
+#: src/js/services/bwcError.js:53
+msgid "Connection reset by peer"
+msgstr "Connexió reiniciada per un parell"
+
+#: www/views/tab-send.html:85
+msgid "Contacts"
+msgstr "Contactes"
+
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Adreces utilitzades freqüentment desades"
+
+#: www/views/onboarding/notifications.html:9
+msgid "Continue"
+msgstr "Continua"
+
+#: www/views/preferencesLanguage.html:26
+msgid "Contribute Translations"
+msgstr "Contribuïu a les traduccions"
+
+#: src/js/controllers/confirm.js:130
+msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
+msgstr "Copay només admet Bitcoin Cash si s'utilitza la nova versió d'adreces"
+
+#: src/js/services/bwcError.js:62
+msgid "Copayer already in this wallet"
+msgstr "Copayer ja és en aquesta cartera"
+
+#: src/js/services/bwcError.js:77
+msgid "Copayer already voted on this spend proposal"
+msgstr "Copayer ja ha votat aquesta proposta de despesa"
+
+#: src/js/services/bwcError.js:107
+msgid "Copayer data mismatch"
+msgstr "Discrepància en les dades de Copayer"
+
+#: www/views/includes/walletActivity.html:2
+msgid "Copayer joined"
+msgstr "Copayer s'ha unit"
+
+#: www/views/preferencesInformation.html:94
+msgid "Copayer {{$index}}"
+msgstr "Copayer {{$index}}"
+
+#: src/js/controllers/copayers.js:79
+#: src/js/controllers/export.js:193
+#: www/views/includes/copyToClipboard.html:4
+msgid "Copied to clipboard"
+msgstr "Copiat al porta-retalls"
+
+#: www/views/tab-export-file.html:94
+msgid "Copy this text as it is to a safe place (notepad or email)"
+msgstr "Copieu aquest text tal qual en un lloc segur (bloc de notes o correu electrònic)"
+
+#: www/views/includes/incomingDataMenu.html:51
+#: www/views/includes/incomingDataMenu.html:70
+#: www/views/includes/incomingDataMenu.html:94
+#: www/views/includes/logOptions.html:9
+#: www/views/tab-export-file.html:78
+msgid "Copy to clipboard"
+msgstr "Copia al porta-retalls"
+
+#: src/js/controllers/buyMercadoLibre.js:102
+msgid "Could not access Gift Card Service"
+msgstr "No s'ha pogut accedir al servei de targetes regal"
+
+#: www/views/tab-import-phrase.html:2
+msgid "Could not access the wallet at the server. Please check:"
+msgstr "No s'ha pogut accedir a la cartera al servidor. Comproveu:"
+
+#: src/js/controllers/buyAmazon.js:102
+msgid "Could not access to Amazon.com"
+msgstr "No s'ha pogut accedir a Amazon.com"
+
+#: src/js/services/profileService.js:511
+msgid "Could not access wallet"
+msgstr "No s'ha pogut accedir a la cartera"
+
+#: src/js/controllers/confirm.js:210
+msgid "Could not add message to imported wallet without shared encrypting key"
+msgstr "No s'ha pogut afegir cap missatge a la cartera importada sense la clau d'encriptatge compartida"
+
+#: src/js/controllers/modals/txpDetails.js:199
+msgid "Could not broadcast payment"
+msgstr "No s'ha pogut emetre el pagament"
+
+#: src/js/services/bwcError.js:41
+msgid "Could not build transaction"
+msgstr "No s'ha pogut generar una transacció"
+
+#: src/js/services/walletService.js:854
+msgid "Could not create address"
+msgstr "No s'ha pogut crear una adreça"
+
+#: src/js/controllers/topup.js:92
+msgid "Could not create the invoice"
+msgstr "No s'ha pogut crear la factura"
+
+#: src/js/controllers/buyAmazon.js:164
+#: src/js/controllers/buyMercadoLibre.js:164
+#: src/js/controllers/topup.js:142
+msgid "Could not create transaction"
+msgstr "No s'ha pogut crear una transacció"
+
+#: src/js/services/profileService.js:350
+msgid "Could not create using the specified extended private key"
+msgstr "No s'ha pogut crear utilitzant la clau privada ampliada especificada"
+
+#: src/js/services/profileService.js:362
+msgid "Could not create using the specified extended public key"
+msgstr "No s'ha pogut crear utilitzant la clau pública ampliada especificada"
+
+#: src/js/services/profileService.js:338
+msgid "Could not create: Invalid wallet recovery phrase"
+msgstr "No s'ha pogut crear: la frase de recuperació de la cartera no és vàlida"
+
+#: src/js/controllers/import.js:114
+msgid "Could not decrypt file, check your password"
+msgstr "No s'ha pogut desencriptar el fitxer; comproveu la contrasenya"
+
+#: src/js/controllers/modals/txpDetails.js:181
+msgid "Could not delete payment proposal"
+msgstr "No s'ha pogut suprimir la proposta de pagament"
+
+#: src/js/controllers/cashScan.js:117
+msgid "Could not duplicate"
+msgstr "No s'ha pogut duplicar"
+
+#: src/js/services/feeService.js:73
+msgid "Could not get dynamic fee"
+msgstr "No s'ha pogut obtenir una comissió dinàmica"
+
+#: src/js/services/feeService.js:43
+msgid "Could not get dynamic fee for level: {{feeLevel}}"
+msgstr "No s'ha pogut obtenir la comissió dinàmica per al nivell: {{feeLevel}}"
+
+#: src/js/controllers/modals/feeLevels.js:112
+msgid "Could not get fee levels"
+msgstr "No s'han pogut obtenir els nivells de comissió"
+
+#: src/js/controllers/buyAmazon.js:122
+#: src/js/controllers/buyMercadoLibre.js:122
+#: src/js/controllers/topup.js:100
+msgid "Could not get the invoice"
+msgstr "No s'ha pogut obtenir la factura"
+
+#: src/js/controllers/bitpayCard.js:66
+msgid "Could not get transactions"
+msgstr "No s'han pogut obtenir les transaccions"
+
+#: src/js/services/profileService.js:615
+#: src/js/services/profileService.js:650
+#: src/js/services/profileService.js:674
+msgid "Could not import"
+msgstr "No s'ha pogut importar"
+
+#: src/js/services/profileService.js:584
+msgid "Could not import. Check input file and spending password"
+msgstr "No s'ha pogut importar. Comproveu el fitxer d'entrada i la contrasenya de despeses"
+
+#: src/js/services/profileService.js:457
+msgid "Could not join wallet"
+msgstr "No s'ha pogut unir a la cartera"
+
+#: src/js/controllers/modals/txpDetails.js:161
+msgid "Could not reject payment"
+msgstr "No s'ha pogut rebutjar el pagament"
+
+#: src/js/controllers/preferencesBitpayServices.js:33
+msgid "Could not remove account"
+msgstr "No s'ha pogut suprimir el compte"
+
+#: src/js/controllers/preferencesBitpayCard.js:20
+#: src/js/controllers/preferencesBitpayServices.js:50
+msgid "Could not remove card"
+msgstr "No s'ha pogut suprimir la targeta"
+
+#: src/js/services/walletService.js:776
+msgid "Could not save preferences on the server"
+msgstr "No s'han pogut desar les preferències al servidor"
+
+#: src/js/controllers/modals/txpDetails.js:147
+msgid "Could not send payment"
+msgstr "No s'ha pogut enviar el pagament"
+
+#: src/js/controllers/buyAmazon.js:325
+#: src/js/controllers/buyMercadoLibre.js:318
+#: src/js/controllers/topup.js:299
+msgid "Could not send transaction"
+msgstr "No s'ha pogut enviar la transacció"
+
+#: www/views/walletDetails.html:210
+msgid "Could not update transaction history"
+msgstr "No s'ha pogut actualitzar l'historial de transaccions"
+
+#: src/js/controllers/addresses.js:29
+#: src/js/controllers/addresses.js:37
+#: src/js/controllers/copayers.js:30
+#: src/js/controllers/walletDetails.js:78
+msgid "Could not update wallet"
+msgstr "No s'ha pogut actualitzar la cartera"
+
+#: www/views/tab-create-personal.html:3
+msgid "Create Personal Wallet"
+msgstr "Crea una cartera personal"
+
+#: www/views/tab-create-shared.html:3
+msgid "Create Shared Wallet"
+msgstr "Crea una cartera compartida"
+
+#: www/views/onboarding/tour.html:51
+#: www/views/tab-home.html:75
+#: www/views/tab-send.html:75
+msgid "Create bitcoin wallet"
+msgstr "Crea una cartera bitcoin"
+
+#: www/views/tab-create-personal.html:131
+msgid "Create new wallet"
+msgstr "Crea una cartera nova"
+
+#: www/views/add.html:22
+msgid "Create shared wallet"
+msgstr "Crea una cartera compartida"
+
+#: www/views/tab-create-shared.html:160
+msgid "Create {{formData.requiredCopayers}}-of-{{formData.totalCopayers}} wallet"
+msgstr "Crea una cartera {{formData.requiredCopayers}}-de-{{formData.totalCopayers}}"
+
+#: www/views/modals/txp-details.html:81
+#: www/views/tx-details.html:60
+msgid "Created by"
+msgstr "Creada per"
+
+#: src/js/services/onGoingProcess.js:18
+msgid "Creating Wallet..."
+msgstr "S'està creant la cartera..."
+
+#: src/js/services/onGoingProcess.js:17
+msgid "Creating transaction"
+msgstr "S'està creant la transacció"
+
+#: www/views/modals/chooseFeeLevel.html:34
+#: www/views/preferencesFee.html:20
+msgid "Current fee rate for this policy"
+msgstr "Comissió actual d'aquesta política"
+
+#: src/js/services/feeService.js:15
+msgid "Custom"
+msgstr "Personalitzada"
+
+#: www/views/customAmount.html:9
+msgid "Custom Amount"
+msgstr "Quantitat personalitzada"
+
+#: src/js/controllers/preferencesFee.js:85
+msgid "Custom Fee"
+msgstr "Comissió personalitzada"
+
+#: www/views/modals/mercadolibre-card-details.html:56
+#: www/views/modals/txp-details.html:87
+#: www/views/tx-details.html:66
+msgid "Date"
+msgstr "Data"
+
+#: www/views/preferencesDeleteWallet.html:21
+msgid "Delete"
+msgstr "Suprimeix"
+
+#: www/views/modals/txp-details.html:164
+msgid "Delete Payment Proposal"
+msgstr "Suprimeix la proposta de pagament"
+
+#: www/views/preferencesAdvanced.html:33
+#: www/views/preferencesDeleteWallet.html:3
+msgid "Delete Wallet"
+msgstr "Suprimeix la cartera"
+
+#: www/views/copayers.html:59
+msgid "Delete it and create a new one"
+msgstr "Suprimeix-la i crea'n una de nova"
+
+#: src/js/services/onGoingProcess.js:19
+msgid "Deleting Wallet..."
+msgstr "S'està suprimint la cartera..."
+
+#: src/js/services/onGoingProcess.js:28
+msgid "Deleting payment proposal"
+msgstr "S'està suprimint la proposta de pagament"
+
+#: www/views/join.html:141
+#: www/views/tab-create-personal.html:111
+#: www/views/tab-create-shared.html:140
+#: www/views/tab-import-phrase.html:49
+msgid "Derivation Path"
+msgstr "Camí de derivació"
+
+#: www/views/preferencesInformation.html:47
+msgid "Derivation Strategy"
+msgstr "Estratègia de derivació"
+
+#: www/views/buyAmazon.html:39
+#: www/views/buyMercadoLibre.html:38
+#: www/views/modals/mercadolibre-card-details.html:6
+#: www/views/topup.html:45
+msgid "Details"
+msgstr "Detalls"
+
+#: src/js/controllers/lockSetup.js:9
+#: src/js/controllers/tab-settings.js:65
+#: www/views/tab-settings.html:50
+msgid "Disabled"
+msgstr "Deshabilitat"
+
+#: www/views/includes/backupNeededPopup.html:10
+#: www/views/onboarding/backupRequest.html:12
+msgid "Do it later"
+msgstr "Ho faré més tard"
+
+#: www/views/tab-export-file.html:29
+msgid "Do not include private key"
+msgstr "No incloguis la clau privada"
+
+#: www/views/preferencesLanguage.html:21
+msgid "Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language."
+msgstr "No la vostra llengua a Crowdin? Poseu-vos en contacte amb el propietari a Crowdin! Ens agradaria molt incloure-hi la vostra llengua."
+
+#: www/views/tab-export-file.html:59
+#: www/views/tab-home.html:22
+msgid "Download"
+msgstr "Descarrega"
+
+#: www/views/cashScan.html:37
+msgid "Duplicate for BCH"
+msgstr "Duplica per BCH"
+
+#: src/js/services/onGoingProcess.js:49
+msgid "Duplicating wallet..."
+msgstr "S'està duplicant la cartera..."
+
+#: www/views/addresses.html:19
+msgid "Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment."
+msgstr "Cada cartera bitcoin pot generar milers de milions d'adreces a partir de les vostres 12 paraules de seguretat. Cada cop que rebeu un pagament es genera i es mostra una nova adreça automàticament."
+
+#: src/js/services/feeService.js:13
+msgid "Economy"
+msgstr "Econòmic"
+
+#: www/views/onboarding/collectEmail.html:27
+msgid "Edit"
+msgstr "Edita"
+
+#: www/views/addressbook.add.html:29
+#: www/views/addressbook.view.html:22
+msgid "Email"
+msgstr "Correu electrònic"
+
+#: www/views/preferencesNotifications.html:42
+msgid "Email Address"
+msgstr "Adreça electrònica"
+
+#: src/js/services/bwcError.js:122
+msgid "Empty addresses limit reached. New addresses cannot be generated."
+msgstr "S'ha assolit el límit d'adreces buides. No poden generar adreces noves."
+
+#: www/views/preferencesCash.html:17
+msgid "Enable Bitcoin Cash wallet creation and operation within the App."
+msgstr "Habiliteu la creació de la cartera de Bitcoin Cash i la gestió dins de l'aplicació."
+
+#: www/views/tab-scan.html:19
+msgid "Enable camera access in your device settings to get started."
+msgstr "Habiliteu l'accés a la càmera des dels paràmetres del vostre dispositiu per començar."
+
+#: www/views/preferencesNotifications.html:29
+msgid "Enable email notifications"
+msgstr "Habiliteu les notificacions de correu electrònic"
+
+#: www/views/preferencesNotifications.html:12
+msgid "Enable push notifications"
+msgstr "Habiliteu les notificacions push"
+
+#: www/views/preferencesNotifications.html:33
+msgid "Enable sound"
+msgstr "Habiliteu el so"
+
+#: www/views/tab-scan.html:18
+msgid "Enable the camera to get started."
+msgstr "Habiliteu la càmera per començar."
+
+#: www/views/tab-settings.html:49
+msgid "Enabled"
+msgstr "S'ha habilitat"
+
+#: src/js/services/walletService.js:1047
+#: src/js/services/walletService.js:1062
+msgid "Enter Spending Password"
+msgstr "Introduïu la contrasenya de despeses"
+
+#: src/js/services/bitpayAccountService.js:110
+msgid "Enter Two Factor for your BitPay account"
+msgstr "Introduïu l'autenticació de doble factor per al vostre compte BitPay"
+
+#: www/views/amount.html:4
+msgid "Enter amount"
+msgstr "Introduïu la quantitat"
+
+#: www/views/modals/chooseFeeLevel.html:41
+msgid "Enter custom fee"
+msgstr "Introduïu la comissió personalitzada"
+
+#: src/js/services/walletService.js:1029
+msgid "Enter new spending password"
+msgstr "Introduïu la nova contrasenya de despeses"
+
+#: www/views/join.html:79
+#: www/views/tab-create-personal.html:51
+#: www/views/tab-create-shared.html:80
+msgid "Enter the recovery phrase (BIP39)"
+msgstr "Introduïu la frase de recuperació (BIP39)"
+
+#: www/views/onboarding/collectEmail.html:13
+msgid "Enter your email"
+msgstr "Introduïu l'adreça electrònica"
+
+#: www/views/backup.html:69
+msgid "Enter your password"
+msgstr "Introduïu la contrasenya"
+
+#. Trying to import a malformed wallet export QR code
+#: src/js/controllers/activity.js:45
+#: src/js/controllers/addressbookAdd.js:30
+#: src/js/controllers/addressbookView.js:42
+#: src/js/controllers/addresses.js:125
+#: src/js/controllers/addresses.js:126
+#: src/js/controllers/bitpayCard.js:66
+#: src/js/controllers/bitpayCardIntro.js:40
+#: src/js/controllers/bitpayCardIntro.js:81
+#: src/js/controllers/buyAmazon.js:24
+#: src/js/controllers/buyAmazon.js:35
+#: src/js/controllers/buyMercadoLibre.js:24
+#: src/js/controllers/buyMercadoLibre.js:35
+#: src/js/controllers/confirm.js:307
+#: src/js/controllers/copayers.js:67
+#: src/js/controllers/create.js:161
+#: src/js/controllers/create.js:174
+#: src/js/controllers/create.js:180
+#: src/js/controllers/create.js:186
+#: src/js/controllers/create.js:208
+#: src/js/controllers/create.js:215
+#: src/js/controllers/create.js:233
+#: src/js/controllers/export.js:109
+#: src/js/controllers/export.js:115
+#: src/js/controllers/export.js:126
+#: src/js/controllers/export.js:154
+#: src/js/controllers/export.js:160
+#: src/js/controllers/export.js:171
+#: src/js/controllers/export.js:47
+#: src/js/controllers/export.js:53
+#: src/js/controllers/feedback/send.js:23
+#: src/js/controllers/import.js:119
+#: src/js/controllers/import.js:131
+#: src/js/controllers/import.js:149
+#: src/js/controllers/import.js:200
+#: src/js/controllers/import.js:229
+#: src/js/controllers/import.js:238
+#: src/js/controllers/import.js:254
+#: src/js/controllers/import.js:266
+#: src/js/controllers/import.js:278
+#: src/js/controllers/import.js:288
+#: src/js/controllers/import.js:312
+#: src/js/controllers/import.js:325
+#: src/js/controllers/import.js:335
+#: src/js/controllers/import.js:345
+#: src/js/controllers/import.js:369
+#: src/js/controllers/import.js:382
+#: src/js/controllers/import.js:85
+#: src/js/controllers/import.js:98
+#: src/js/controllers/join.js:125
+#: src/js/controllers/join.js:139
+#: src/js/controllers/join.js:145
+#: src/js/controllers/join.js:151
+#: src/js/controllers/join.js:174
+#: src/js/controllers/join.js:182
+#: src/js/controllers/join.js:200
+#: src/js/controllers/modals/feeLevels.js:9
+#: src/js/controllers/modals/txpDetails.js:140
+#: src/js/controllers/paperWallet.js:47
+#: src/js/controllers/preferencesBitpayCard.js:20
+#: src/js/controllers/preferencesBitpayServices.js:33
+#: src/js/controllers/preferencesBitpayServices.js:50
+#: src/js/controllers/preferencesDelete.js:36
+#: src/js/controllers/preferencesExternal.js:20
+#: src/js/controllers/tab-home.js:174
+#: src/js/controllers/tab-send.js:143
+#: src/js/controllers/tabsController.js:36
+#: src/js/controllers/tabsController.js:7
+#: src/js/controllers/topup.js:21
+#: src/js/controllers/topup.js:32
+#: src/js/controllers/tx-details.js:119
+#: src/js/services/incomingData.js:101
+#: src/js/services/incomingData.js:125
+#: src/js/services/incomingData.js:168
+#: www/views/mercadoLibreCards.html:19
+#: www/views/modals/mercadolibre-card-details.html:45
+msgid "Error"
+msgstr "Error"
+
+#: src/js/controllers/confirm.js:502
+msgid "Error at confirm"
+msgstr "Error en confirmar"
+
+#: src/js/controllers/buyAmazon.js:179
+msgid "Error creating gift card"
+msgstr "Error en crear la targeta regal"
+
+#: src/js/controllers/buyAmazon.js:94
+#: src/js/controllers/buyMercadoLibre.js:94
+msgid "Error creating the invoice"
+msgstr "Error en crear la factura"
+
+#: src/js/services/profileService.js:412
+msgid "Error creating wallet"
+msgstr "Error en crear la cartera"
+
+#: src/js/controllers/confirm.js:296
+msgid "Error getting SendMax information"
+msgstr "Error en obtenir la informació SendMax"
+
+#: src/js/controllers/buyAmazon.js:136
+#: src/js/controllers/buyMercadoLibre.js:136
+#: src/js/controllers/topup.js:114
+msgid "Error in Payment Protocol"
+msgstr "Error al protocol de pagament"
+
+#: src/js/controllers/bitpayCardIntro.js:14
+msgid "Error pairing BitPay Account"
+msgstr "Error de sincronització amb el compte de BitPay"
+
+#: src/js/controllers/paperWallet.js:41
+msgid "Error scanning funds:"
+msgstr "Error en escanejar els fons:"
+
+#: src/js/controllers/paperWallet.js:90
+msgid "Error sweeping wallet:"
+msgstr "Error en escombrar la cartera:"
+
+#: src/js/controllers/bitpayCardIntro.js:20
+msgid "Error updating Debit Cards"
+msgstr "Error en actualitzar les targetes de dèbit"
+
+#: src/js/services/bwcError.js:143
+msgid "Exceeded daily limit of $500 per user"
+msgstr "Superat el límit diari de 500 $ per usuari"
+
+#: src/js/controllers/confirm.js:461
+#: www/views/confirm.html:27
+#: www/views/mercadoLibreCards.html:25
+#: www/views/modals/mercadolibre-card-details.html:34
+#: www/views/modals/txp-details.html:119
+msgid "Expired"
+msgstr "Caducada"
+
+#: www/views/modals/paypro.html:54
+#: www/views/modals/txp-details.html:125
+msgid "Expires"
+msgstr "Caduca el"
+
+#: www/views/preferencesAdvanced.html:21
+msgid "Export Wallet"
+msgstr "Exporta la cartera"
+
+#: www/views/preferencesHistory.html:11
+#: www/views/preferencesHistory.html:14
+msgid "Export to file"
+msgstr "Exporta a un fitxer"
+
+#: www/views/export.html:3
+msgid "Export wallet"
+msgstr "Exporta la cartera"
+
+#: src/js/services/walletService.js:1174
+#: www/views/tab-export-qrCode.html:9
+msgid "Exporting via QR not supported for this wallet"
+msgstr "Aquesta cartera no admet l'exportació mitjançant QR"
+
+#: www/views/preferencesInformation.html:89
+msgid "Extended Public Keys"
+msgstr "Claus públiques ampliades"
+
+#: src/js/services/onGoingProcess.js:20
+msgid "Extracting Wallet information..."
+msgstr "S'està extraient informació de la cartera..."
+
+#: src/js/controllers/export.js:115
+#: src/js/controllers/export.js:126
+#: src/js/controllers/export.js:160
+#: src/js/controllers/export.js:171
+#: www/views/tab-export-file.html:4
+msgid "Failed to export"
+msgstr "L'exportació ha fallat"
+
+#: www/views/tab-create-personal.html:14
+#: www/views/tab-create-shared.html:14
+msgid "Family vacation funds"
+msgstr "Fons per a les vacances familiars"
+
+#: www/views/tx-details.html:79
+msgid "Fee"
+msgstr "Comissió"
+
+#: www/views/modals/chooseFeeLevel.html:75
+msgid "Fee level"
+msgstr "Nivell de comissió"
+
+#: src/js/controllers/modals/feeLevels.js:100
+msgid "Fee level is not defined"
+msgstr "El nivell de comissió no està definit"
+
+#: www/views/confirm.html:79
+#: www/views/modals/txp-details.html:99
+msgid "Fee:"
+msgstr "Comissió:"
+
+#: src/js/controllers/feedback/send.js:23
+msgid "Feedback could not be submitted. Please try again later."
+msgstr "No s'ha pogut enviar el comentari. Torneu-ho a provar més tard."
+
+#: src/js/services/onGoingProcess.js:42
+msgid "Fetching BitPay Account..."
+msgstr "S'està obtenint el compte BitPay..."
+
+#: src/js/services/onGoingProcess.js:21
+msgid "Fetching payment information"
+msgstr "S'està obtenint la informació del pagament"
+
+#: www/views/export.html:14
+#: www/views/import.html:16
+msgid "File/Text"
+msgstr "Fitxer/Text"
+
+#: www/views/preferencesLogs.html:17
+msgid "Filter setting"
+msgstr "Paràmetres del filtre"
+
+#: src/js/services/fingerprintService.js:43
+#: src/js/services/fingerprintService.js:48
+msgid "Finger Scan Failed"
+msgstr "L'escaneig del dit ha fallat"
+
+#: src/js/controllers/feedback/send.js:34
+#: www/views/feedback/complete.html:7
+msgid "Finish"
+msgstr "Finalitza"
+
+#: www/views/tab-create-personal.html:123
+#: www/views/tab-create-shared.html:152
+msgid "For audit purposes"
+msgstr "Amb finalitats d'auditoria"
+
+#: src/js/controllers/topup.js:308
+#: www/views/buyAmazon.html:29
+#: www/views/buyMercadoLibre.html:28
+#: www/views/confirm.html:65
+#: www/views/modals/txp-details.html:74
+#: www/views/topup.html:34
+#: www/views/tx-details.html:52
+msgid "From"
+msgstr "Des de"
+
+#: src/js/controllers/bitpayCardIntro.js:71
+msgid "From BitPay account"
+msgstr "Des del compte de BitPay"
+
+#: www/views/tab-import-phrase.html:57
+msgid "From Hardware Wallet"
+msgstr "Des d'una cartera física"
+
+#: www/views/tab-export-qrCode.html:5
+msgid "From the destination device, go to Add wallet > Import wallet and scan this QR code"
+msgstr "Des del dispositiu de destinació, aneu a Afegeix cartera > Importa cartera i escanegeu aquest codi QR"
+
+#: src/js/services/bwcError.js:74
+msgid "Funds are locked by pending spend proposals"
+msgstr "Els fons estan bloquejats per propostes de despeses pendents"
+
+#: www/views/paperWallet.html:16
+msgid "Funds found:"
+msgstr "Fons trobats:"
+
+#: www/views/topup.html:49
+msgid "Funds to be added"
+msgstr "Fons per afegir"
+
+#: www/views/paperWallet.html:51
+msgid "Funds transferred"
+msgstr "Fons transferits"
+
+#: www/views/topup.html:103
+msgid "Funds were added to debit card"
+msgstr "Els fons s'han afegit a la targeta de dèbit"
+
+#: www/views/paperWallet.html:22
+msgid "Funds will be transferred to"
+msgstr "Els fons es transferiran a"
+
+#: www/views/tab-receive.html:51
+msgid "Generate new address"
+msgstr "Genera una adreça nova"
+
+#: src/js/services/onGoingProcess.js:22
+msgid "Generating .csv file..."
+msgstr "S'està generant un fitxer. csv..."
+
+#: src/js/services/onGoingProcess.js:37
+msgid "Generating new address..."
+msgstr "S'està generant una adreça nova..."
+
+#: www/views/bitpayCardIntro.html:23
+msgid "Get local cash anywhere you go, from any Visa® compatible ATM. ATM bank fees may apply."
+msgstr "Retireu moneda local a qualsevol lloc on aneu, des de qualsevol caixer automàtic compatible amb Visa® . Pot ser que el banc del caixer apliqui comissions."
+
+#: www/views/onboarding/collectEmail.html:15
+msgid "Get news and updates from BitPay"
+msgstr "Rebeu notícies i actualitzacions de BitPay"
+
+#: www/views/onboarding/welcome.html:8
+msgctxt "button"
+msgid "Get started"
+msgstr "Comença"
+
+#: www/views/bitpayCard.html:49
+msgid "Get started"
+msgstr "Comença"
+
+#: www/views/addressbook.html:20
+msgid "Get started by adding your first one."
+msgstr "Comenceu afegint el primer contacte."
+
+#: src/js/services/onGoingProcess.js:23
+msgid "Getting fee levels..."
+msgstr "S'estan obtenint els nivells de comissió..."
+
+#: www/views/buyAmazon.html:43
+#: www/views/buyMercadoLibre.html:42
+msgid "Gift Card"
+msgstr "Targeta regal"
+
+#: www/views/modals/mercadolibre-card-details.html:30
+#: www/views/modals/mercadolibre-card-details.html:35
+msgid "Gift Card is not available to use anymore"
+msgstr "La targeta regal ja no està disponible"
+
+#: src/js/controllers/buyAmazon.js:204
+msgid "Gift card expired"
+msgstr "La targeta regal ha caducat"
+
+#: www/views/buyAmazon.html:111
+msgid "Gift card generated and ready to use."
+msgstr "Targeta regal generada i a punt per ser utilitzada."
+
+#: src/js/controllers/bitpayCard.js:114
+#: src/js/controllers/bitpayCard.js:124
+#: src/js/controllers/cashScan.js:20
+#: src/js/controllers/onboarding/terms.js:23
+#: src/js/controllers/preferences.js:67
+#: src/js/controllers/preferencesAbout.js:16
+#: src/js/controllers/preferencesCash.js:34
+#: src/js/controllers/preferencesLanguage.js:14
+#: src/js/controllers/tab-home.js:149
+#: src/js/controllers/tab-settings.js:53
+#: src/js/controllers/tx-details.js:193
+#: src/js/controllers/tx-details.js:56
+msgid "Go Back"
+msgstr "Enrere"
+
+#: src/js/controllers/confirm.js:131
+#: src/js/controllers/onboarding/backupRequest.js:20
+#: src/js/controllers/onboarding/backupRequest.js:26
+#: src/js/services/bitpayAccountService.js:84
+msgid "Go back"
+msgstr "Enrere"
+
+#: www/views/backupWarning.html:15
+#: www/views/includes/confirmBackupPopup.html:8
+#: www/views/onboarding/tour.html:23
+msgid "Got it"
+msgstr "Entesos"
+
+#: www/views/preferencesInformation.html:53
+#: www/views/preferencesInformation.html:59
+msgid "Hardware Wallet"
+msgstr "Cartera física"
+
+#: www/views/preferencesExternal.html:18
+msgid "Hardware not connected."
+msgstr "Equip no connectat."
+
+#: www/views/import.html:20
+msgid "Hardware wallet"
+msgstr "Cartera física"
+
+#: src/js/controllers/create.js:180
+#: src/js/controllers/join.js:145
+msgid "Hardware wallets are not yet supported with Bitcoin Cash"
+msgstr "Bitcoin Cash encara no admet les carteres físiques"
+
+#: www/views/tab-settings.html:20
+msgid "Help & Support"
+msgstr "Ajuda i assistència"
+
+#: src/js/controllers/bitpayCard.js:112
+#: src/js/controllers/tab-settings.js:51
+msgid "Help and support information is available at the website."
+msgstr "La informació d'ajuda i assistència està disponible al lloc web."
+
+#: www/views/addresses.html:25
+msgid "Hide"
+msgstr "Oculta"
+
+#: www/views/preferences.html:27
+msgid "Hide Balance"
+msgstr "Oculta el saldo"
+
+#: www/views/advancedSettings.html:30
+msgid "Hide Next Steps Card"
+msgstr "Oculta la targeta \"Pròxims passos\""
+
+#: www/views/join.html:49
+#: www/views/tab-create-personal.html:28
+#: www/views/tab-create-shared.html:57
+#: www/views/tab-export-file.html:25
+#: www/views/tab-import-file.html:30
+#: www/views/tab-import-hardware.html:31
+#: www/views/tab-import-phrase.html:36
+msgid "Hide advanced options"
+msgstr "Oculta les opcions avançades"
+
+#: www/views/tabs.html:3
+msgid "Home"
+msgstr "Inici"
+
+#: src/js/controllers/feedback/send.js:61
+#: src/js/controllers/feedback/send.js:65
+#: src/js/controllers/feedback/send.js:69
+msgid "How could we improve your experience?"
+msgstr "Com podríem millorar la vostra experiència?"
+
+#: www/views/feedback/rateCard.html:3
+msgid "How do you like {{appName}}?"
+msgstr "Us agrada {{appName}}?"
+
+#: src/js/controllers/feedback/rateCard.js:29
+msgid "I don't like it"
+msgstr "No m'agrada"
+
+#: www/views/onboarding/disclaimer.html:43
+msgid "I have read, understood, and agree to the Terms of Use ."
+msgstr "He llegit, entès i acceptat les Condicions d'ús ."
+
+#: www/views/modals/terms.html:22
+msgid "I have read, understood, and agree with the Terms of use."
+msgstr "He llegit, entès i acceptat les condicions d'ús."
+
+#: www/views/join.html:137
+#: www/views/tab-create-personal.html:107
+#: www/views/tab-create-shared.html:136
+msgid "I have written it down"
+msgstr "M'ho he apuntat"
+
+#: src/js/controllers/feedback/rateCard.js:35
+msgid "I like the app"
+msgstr "M'agrada l'aplicació"
+
+#: src/js/controllers/feedback/rateCard.js:26
+msgid "I think this app is terrible."
+msgstr "Crec que aquesta aplicació és terrible."
+
+#: src/js/controllers/onboarding/backupRequest.js:19
+#: www/views/includes/screenshotWarningModal.html:9
+msgid "I understand"
+msgstr "Ho entenc"
+
+#: www/views/onboarding/disclaimer.html:21
+msgid "I understand that if this app is moved to another device or deleted, my bitcoin can only be recovered with the backup phrase."
+msgstr "Entenc que si aquesta aplicació es desplaça a un altre dispositiu o se suprimeix, els meus bitcoins només es podran recuperar amb la frase de seguretat."
+
+#: www/views/onboarding/disclaimer.html:18
+msgid "I understand that my funds are held securely on this device, not by a company."
+msgstr "Entenc que els meus fons estan protegits per aquest dispositiu i no per una empresa."
+
+#: www/views/backup.html:36
+msgid "I've written it down"
+msgstr "M'ho he apuntat"
+
+#: www/views/preferences.html:45
+msgid "If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with this wallet will be protected."
+msgstr "Si s'habilita aquesta opció, tota la informació sensible (clau privada i frase de recuperació) i les accions (gastar i exportar) associades a aquesta cartera estaran protegides."
+
+#: www/views/advancedSettings.html:23
+msgid "If enabled, the Recent Transactions card - a list of transactions occuring across all wallets - will appear in the Home tab."
+msgstr "Si s'habilita aquesta opció, la targeta de transaccions recents (una llista de les transaccions efectuades en totes les carteres) apareixerà a la pestanya d'Inici."
+
+#: www/views/advancedSettings.html:14
+msgid "If enabled, wallets will also try to spend unconfirmed funds. This option may cause transaction delays."
+msgstr "Si s'habilita aquesta opció, les carteres també intentaran gastar fons no confirmats. Aquesta opció pot provocar retards en la transacció."
+
+#: src/js/controllers/onboarding/backupRequest.js:18
+msgid "If this device is replaced or this app is deleted, neither you nor BitPay can recover your funds without a backup."
+msgstr "Si aquest dispositiu se substitueix o si se suprimeix aquesta aplicació, ni BitPay ni vós podreu recuperar els fons sense una còpia de seguretat."
+
+#: www/views/feedback/complete.html:23
+msgid "If you have additional feedback, please let us know by tapping the \"Send feedback\" option in the Settings tab."
+msgstr "Si ens voleu comentar alguna altra cosa, toqueu l'opció \"Envia comentaris\" a la pestanya de Paràmetres."
+
+#: www/views/includes/screenshotWarningModal.html:8
+msgid "If you take a screenshot, your backup may be viewed by other apps. You can make a safe backup with physical paper and a pen."
+msgstr "Si feu una captura de pantalla, altres aplicacions podran veure la còpia de seguretat. Podeu fer una còpia de seguretat amb un paper i un llapis físics."
+
+#: www/views/tab-import-hardware.html:42
+#: www/views/tab-import-phrase.html:80
+msgid "Import"
+msgstr "Importa"
+
+#: www/views/import.html:3
+msgid "Import Wallet"
+msgstr "Importa la cartera"
+
+#: www/views/tab-import-file.html:41
+msgid "Import backup"
+msgstr "Importa la còpia de seguretat"
+
+#: www/views/add.html:38
+msgid "Import wallet"
+msgstr "Importa la cartera"
+
+#: src/js/services/onGoingProcess.js:24
+msgid "Importing Wallet..."
+msgstr "S'està important la cartera..."
+
+#: www/views/backup.html:72
+msgid "In order to verify your wallet backup, please type your password."
+msgstr "Per verificar la còpia de seguretat de la cartera, escriviu la contrasenya."
+
+#: www/views/mercadoLibreCards.html:24
+#: www/views/modals/mercadolibre-card-details.html:29
+msgid "Inactive"
+msgstr "Inactiva"
+
+#: www/views/includes/walletItem.html:9
+#: www/views/includes/walletList.html:6
+#: www/views/includes/walletListSettings.html:9
+#: www/views/includes/walletSelector.html:16
+msgid "Incomplete"
+msgstr "Incompleta"
+
+#: www/views/tab-receive.html:22
+msgid "Incomplete wallet"
+msgstr "Cartera incompleta"
+
+#: www/views/modals/pin.html:12
+msgid "Incorrect PIN, try again."
+msgstr "PIN incorrecte; torneu-ho a provar."
+
+#. Trying to import a malformed wallet export QR code
+#: src/js/controllers/import.js:85
+msgid "Incorrect code format"
+msgstr "Format de codi incorrecte"
+
+#: src/js/services/bwcError.js:113
+msgid "Incorrect network address"
+msgstr "Adreça de xarxa incorrecta"
+
+#: src/js/controllers/confirm.js:114
+#: src/js/controllers/confirm.js:306
+#: src/js/services/bwcError.js:44
+msgid "Insufficient confirmed funds"
+msgstr "Fons confirmats insuficients"
+
+#: src/js/controllers/topup.js:165
+#: src/js/controllers/topup.js:177
+#: src/js/services/bwcError.js:71
+msgid "Insufficient funds for fee"
+msgstr "Fons insuficients per la comissió"
+
+#: www/views/tab-settings.html:123
+msgid "Integrations"
+msgstr "Integracions"
+
+#: www/views/includes/walletHistory.html:49
+msgid "Invalid"
+msgstr "No vàlid"
+
+#: src/js/controllers/buyAmazon.js:137
+#: src/js/controllers/buyMercadoLibre.js:137
+#: src/js/controllers/topup.js:115
+msgid "Invalid URL"
+msgstr "L'URL no és vàlid"
+
+#: src/js/controllers/create.js:186
+#: src/js/controllers/import.js:345
+#: src/js/controllers/join.js:151
+msgid "Invalid account number"
+msgstr "Número de compte no vàlid"
+
+#: src/js/services/bwcError.js:119
+msgid "Invalid address"
+msgstr "Adreça no vàlida"
+
+#: src/js/controllers/tabsController.js:7
+msgid "Invalid data"
+msgstr "Dades no vàlides"
+
+#: src/js/controllers/create.js:161
+#: src/js/controllers/import.js:266
+#: src/js/controllers/join.js:125
+msgid "Invalid derivation path"
+msgstr "Camí de derivació no vàlid"
+
+#: src/js/controllers/copayers.js:90
+msgid "Invitation to share a {{appName}} Wallet"
+msgstr "Invitació per compartir una cartera {{appName}}"
+
+#: www/views/mercadoLibreCards.html:20
+#: www/views/modals/mercadolibre-card-details.html:48
+msgid "Invoice expired"
+msgstr "La factura ha vençut"
+
+#: src/js/controllers/feedback/send.js:79
+msgid "Is there anything we could do better?"
+msgstr "Podríem fer millor alguna cosa?"
+
+#: www/views/backup.html:54
+msgid "Is this correct?"
+msgstr "És correcte?"
+
+#: www/views/onboarding/collectEmail.html:22
+msgid "Is this email address correct?"
+msgstr "És correcta, aquesta adreça electrònica?"
+
+#: www/views/addresses.html:25
+msgid "It's a good idea to avoid reusing addresses - this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers."
+msgstr "És aconsellable no reutilitzar les adreces. Això protegeix la vostra privadesa i els vostres bitcoins contra atacs hipotètics d'ordinadors quàntics."
+
+#: src/js/controllers/backup.js:76
+msgid "It's important that you write your backup phrase down correctly. If something happens to your wallet, you'll need this backup to recover your money. Please review your backup and try again."
+msgstr "És important que copieu la vostra frase de seguretat correctament. Si li passés alguna cosa a la cartera, necessitaríeu aquesta frase de seguretat per recuperar els vostres diners. Reviseu la frase de seguretat i torneu-ho a provar."
+
+#: www/views/join.html:151
+msgid "Join"
+msgstr "Uneix-t'hi"
+
+#: src/js/controllers/copayers.js:85
+msgid "Join my {{appName}} Wallet. Here is the invitation code: {{secret}} You can download {{appName}} for your phone or desktop at {{appUrl}}"
+msgstr "Uneix-te a la meva cartera {{appName}}. Aquí tens el codi d'invitació: {{secret}} Et pots descarregar {{appName}} per al teu telèfon o ordinador de taula a {{appUrl}}"
+
+#: www/views/add.html:30
+#: www/views/join.html:5
+msgid "Join shared wallet"
+msgstr "Uneix-te a la cartera compartida"
+
+#: src/js/services/onGoingProcess.js:25
+msgid "Joining Wallet..."
+msgstr "S'està unint a la cartera..."
+
+#: www/views/onboarding/tour.html:22
+msgid "Just scan the code to pay."
+msgstr "Escanegeu el codi per pagar."
+
+#: src/js/services/bwcError.js:116
+msgid "Key already associated with an existing wallet"
+msgstr "Clau ja associada a una cartera existent"
+
+#: www/views/preferencesLanguage.html:4
+#: www/views/tab-settings.html:68
+msgid "Language"
+msgstr "Llengua"
+
+#: www/views/bitpayCard.html:61
+msgid "Last Month"
+msgstr "Mes passat"
+
+#: src/js/controllers/confirm.js:132
+#: www/views/preferences.html:48
+#: www/views/preferencesCash.html:18
+#: www/views/tx-details.html:94
+msgid "Learn more"
+msgstr "Més informació"
+
+#: www/views/backup.html:43
+msgid "Let's verify your backup phrase."
+msgstr "Verifiquem la vostra frase de seguretat."
+
+#: www/views/addresses.html:45
+#: www/views/allAddresses.html:14
+msgid "Loading addresses..."
+msgstr "S'estan carregant les adreces..."
+
+#: src/js/services/onGoingProcess.js:35
+msgid "Loading transaction info..."
+msgstr "S'està carregant la informació de la transacció..."
+
+#: www/views/tab-settings.html:100
+msgid "Lock App"
+msgstr "Bloqueja l'aplicació"
+
+#: src/js/controllers/lockSetup.js:23
+msgid "Lock by Fingerprint"
+msgstr "Bloqueja amb empremta digital"
+
+#: src/js/controllers/lockSetup.js:14
+msgid "Lock by PIN"
+msgstr "Bloqueja amb PIN"
+
+#: www/views/modals/wallet-balance.html:80
+msgid "Locked"
+msgstr "Bloquejat"
+
+#: src/js/services/bwcError.js:86
+msgid "Locktime in effect. Please wait to create a new spend proposal"
+msgstr "Bloqueig temporal. Espereu per crear una nova proposta de despesa"
+
+#: src/js/services/bwcError.js:89
+msgid "Locktime in effect. Please wait to remove this spend proposal"
+msgstr "Bloqueig temporal. Espereu per suprimir aquesta proposta de despesa"
+
+#: www/views/includes/logOptions.html:3
+msgid "Log options"
+msgstr "Opcions de registre"
+
+#: www/views/modals/bitpay-card-confirmation.html:14
+msgid "Log out"
+msgstr "Finalitza la sessió"
+
+#: www/views/addresses.html:87
+msgid "Low amount inputs"
+msgstr "Entrades d'import baix"
+
+#: www/views/includes/walletHistory.html:27
+msgid "Low fees"
+msgstr "Comissions baixes"
+
+#: www/views/onboarding/tour.html:38
+msgid "Makes sense"
+msgstr "És lògic"
+
+#: src/js/controllers/modals/search.js:61
+msgid "Matches:"
+msgstr "Coincidències:"
+
+#: www/views/includes/copayers.html:4
+#: www/views/preferencesInformation.html:85
+msgid "Me"
+msgstr "Jo"
+
+#: src/js/controllers/feedback/rateCard.js:32
+msgid "Meh - it's alright"
+msgstr "Entesos"
+
+#: src/js/controllers/tx-details.js:165
+#: www/views/modals/paypro.html:48
+#: www/views/modals/txp-details.html:93
+#: www/views/tx-details.html:72
+msgid "Memo"
+msgstr "Nota"
+
+#: www/views/mercadoLibre.html:6
+msgid "Mercado Livre Brazil Gift Cards"
+msgstr "Targetes regal de Mercado Livre Brasil"
+
+#: src/js/controllers/buyMercadoLibre.js:98
+msgid "Mercadolibre Gift Card Service is not available at this moment. Please try back later."
+msgstr "El servei de targetes de regal de Mercadolibre no està disponible en aquest moment. Torneu-ho a provar més tard."
+
+#: www/views/modals/txp-details.html:131
+msgid "Merchant Message"
+msgstr "Missatge del comerciant"
+
+#: www/views/buyAmazon.html:55
+#: www/views/buyMercadoLibre.html:54
+#: www/views/topup.html:63
+msgid "Miner Fee"
+msgstr "Comissió del miner"
+
+#: src/js/services/bwcError.js:134
+msgid "Missing parameter"
+msgstr "Falta un paràmetre"
+
+#: src/js/services/bwcError.js:32
+msgid "Missing private keys to sign"
+msgstr "Falten claus privades per firmar"
+
+#: www/views/preferences.html:61
+#: www/views/preferencesAdvanced.html:3
+msgid "More Options"
+msgstr "Més opcions"
+
+#: www/views/includes/walletHistory.html:47
+#: www/views/tx-details.html:19
+msgid "Moved"
+msgstr "Desplaçats"
+
+#: src/js/controllers/tx-details.js:131
+msgid "Moved Funds"
+msgstr "Fons desplaçats"
+
+#: www/views/modals/txp-details.html:57
+msgid "Multiple recipients"
+msgstr "Múltiples destinataris"
+
+#: www/views/tab-import-phrase.html:8
+msgid "NOTE: To import a wallet from a 3rd party software, please go to Add Wallet > Create Wallet, and specify the Recovery Phrase there."
+msgstr "Nota: Per importar una cartera des d'un programari d'un tercer, aneu a Afegeix cartera > Crea cartera i especifiqueu la frase de recuperació."
+
+#: www/views/addressbook.add.html:21
+#: www/views/addressbook.view.html:18
+#: www/views/preferences.html:15
+#: www/views/preferencesAlias.html:17
+msgid "Name"
+msgstr "Nom"
+
+#: www/views/buyAmazon.html:49
+#: www/views/buyMercadoLibre.html:48
+#: www/views/topup.html:56
+msgid "Network Cost"
+msgstr "Cost de la xarxa"
+
+#: src/js/services/bwcError.js:47
+msgid "Network error"
+msgstr "Error de xarxa"
+
+#: www/views/includes/walletActivity.html:43
+msgid "New Proposal"
+msgstr "Nova proposta"
+
+#: src/js/controllers/addresses.js:126
+msgid "New address could not be generated. Please try again."
+msgstr "No s'ha pogut generar l'adreça nova. Torneu-ho a provar."
+
+#: www/views/add.html:14
+msgid "New personal wallet"
+msgstr "Nova cartera personal"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Next steps"
+msgstr "Pròxims passos"
+
+#: www/views/tab-receive.html:16
+msgid "No Wallet"
+msgstr "No hi ha cap cartera"
+
+#: src/js/controllers/buyAmazon.js:115
+#: src/js/controllers/buyMercadoLibre.js:115
+msgid "No access key defined"
+msgstr "No s'ha definit cap clau d'accés"
+
+#: www/views/onboarding/backupRequest.html:5
+msgid "No backup, no bitcoin."
+msgstr "No hi ha cap còpia de seguretat, cap bitcoin."
+
+#: www/views/addressbook.html:19
+msgid "No contacts yet"
+msgstr "Encara no hi ha cap contacte"
+
+#: www/views/preferencesLogs.html:16
+msgid "No entries for this log level"
+msgstr "No hi ha entrades per a aquest nivell de registre"
+
+#: www/views/preferencesExternal.html:12
+msgid "No hardware information available."
+msgstr "No hi ha cap informació de maquinari disponible."
+
+#: www/views/tab-import-hardware.html:3
+msgid "No hardware wallets supported on this device"
+msgstr "Aquest dispositiu no admet cap cartera física"
+
+#: www/views/proposals.html:24
+msgid "No pending proposals"
+msgstr "No hi ha cap proposta pendent"
+
+#: www/views/activity.html:25
+msgid "No recent transactions"
+msgstr "No hi ha transaccions recents"
+
+#: src/js/controllers/buyAmazon.js:44
+#: src/js/controllers/topup.js:47
+msgid "No signing proposal: No private key"
+msgstr "No hi ha cap proposta de firma: cap clau privada"
+
+#: www/views/walletDetails.html:204
+msgid "No transactions yet"
+msgstr "Encara no hi ha cap transacció"
+
+#: src/js/controllers/preferencesDelete.js:15
+msgid "No wallet found"
+msgstr "No s'ha trobat cap cartera"
+
+#: src/js/controllers/preferencesDelete.js:8
+msgid "No wallet selected"
+msgstr "No s'ha seleccionat cap cartera"
+
+#: src/js/controllers/buyAmazon.js:300
+#: src/js/controllers/buyMercadoLibre.js:292
+#: src/js/controllers/confirm.js:85
+#: src/js/controllers/topup.js:265
+msgid "No wallets available"
+msgstr "No hi ha cap cartera disponible"
+
+#: www/views/paperWallet.html:45
+msgid "No wallets available to receive funds"
+msgstr "No hi ha cap cartera disponible per rebre fons"
+
+#: www/views/cashScan.html:15
+msgid "No wallets eligible for Bitcoin Cash support"
+msgstr "No hi ha cap cartera compatible amb Bitcoin Cash"
+
+#: src/js/controllers/cashScan.js:58
+msgid "Non BIP44 wallet"
+msgstr "Cartera no BIP44"
+
+#: www/views/cashScan.html:46
+msgid "Non eligible BTC wallets"
+msgstr "Carteres BTC no compatibles"
+
+#: src/js/services/feeService.js:12
+msgid "Normal"
+msgstr "Normal"
+
+#: src/js/services/bwcError.js:80
+msgid "Not authorized"
+msgstr "No autoritzat"
+
+#: src/js/controllers/confirm.js:307
+msgid "Not enough funds for fee"
+msgstr "No hi ha prou fons per a la comissió"
+
+#: www/views/onboarding/tour.html:50
+msgid "Not even BitPay can access it."
+msgstr "Ni tan sols BitPay pot accedir-hi."
+
+#: src/js/controllers/paperWallet.js:47
+msgid "Not funds found"
+msgstr "No s'han trobat fons"
+
+#: www/views/feedback/rateApp.html:3
+#: www/views/onboarding/notifications.html:8
+msgid "Not now"
+msgstr "Ara no"
+
+#: www/views/includes/output.html:15
+msgid "Note"
+msgstr "Nota"
+
+#: www/views/backup.html:19
+msgid "Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase."
+msgstr "Nota: Si aquesta cartera BCH s'ha duplicat des d'una cartera BTC, comparteixen la mateixa frase de recuperació."
+
+#: www/views/modals/wallets.html:25
+msgid "Notice: only 1-1 (single signature) wallets can be used for sell bitcoin"
+msgstr "Avís: Només es poden utilitzar les carteres 1-1 (de firma única) per vendre bitcoins"
+
+#: www/views/preferencesNotifications.html:3
+#: www/views/tab-settings.html:61
+msgid "Notifications"
+msgstr "Notificacions"
+
+#: www/views/onboarding/collectEmail.html:9
+msgid "Notifications by email"
+msgstr "Notificacions per correu electrònic"
+
+#: www/views/tx-details.html:117
+msgid "Notify me if confirmed"
+msgstr "Notifica-m'ho si es confirma"
+
+#: www/views/preferencesNotifications.html:24
+msgid "Notify me when transactions are confirmed"
+msgstr "Notifica-m'ho quan les transaccions es confirmin"
+
+#: www/views/includes/backupNeededPopup.html:8
+msgid "Now is a good time to backup your wallet. If this device is lost, it is impossible to access your funds without a backup."
+msgstr "Ara és el moment de fer una còpia de seguretat de la cartera. Si perdeu aquest dispositiu, serà impossible accedir als vostres fons sense una còpia de seguretat."
+
+#: www/views/backupWarning.html:11
+msgid "Now is a perfect time to assess your surroundings. Nearby windows? Hidden cameras? Shoulder-spies?"
+msgstr "Ara és el moment ideal per mirar al voltant. Finestres pròximes? Càmeres ocultes? Tafaners?"
+
+#: src/js/controllers/buyAmazon.js:312
+#: src/js/controllers/topup.js:286
+#: src/js/services/incomingData.js:153
+#: src/js/services/popupService.js:16
+#: src/js/services/popupService.js:52
+#: src/js/services/popupService.js:61
+#: src/js/services/popupService.js:72
+#: www/views/modals/chooseFeeLevel.html:6
+msgid "OK"
+msgstr "OK"
+
+#: www/views/modals/tx-status.html:12
+#: www/views/modals/tx-status.html:24
+#: www/views/modals/tx-status.html:36
+#: www/views/modals/tx-status.html:46
+msgid "OKAY"
+msgstr "D'ACORD"
+
+#: www/views/modals/terms.html:15
+msgid "Official English Disclaimer"
+msgstr "Renúncia oficial en anglès"
+
+#: src/js/controllers/feedback/send.js:64
+msgid "Oh no!"
+msgstr "Ostres, no!"
+
+#: src/js/controllers/buyMercadoLibre.js:306
+msgid "Ok"
+msgstr "D'acord"
+
+#: www/views/tab-home.html:39
+msgid "On this screen you can see all your wallets, accounts, and assets."
+msgstr "En aquesta pantalla hi podeu veure totes les vostres carteres, comptes i actius."
+
+#: src/js/controllers/bitpayCard.js:113
+#: src/js/controllers/cashScan.js:19
+#: src/js/controllers/preferences.js:66
+#: src/js/controllers/preferencesCash.js:33
+#: src/js/controllers/tab-settings.js:52
+#: src/js/controllers/tx-details.js:55
+msgid "Open"
+msgstr "Obre"
+
+#: src/js/controllers/preferencesLanguage.js:13
+msgid "Open Crowdin"
+msgstr "Obre Crowdin"
+
+#: src/js/controllers/preferencesAbout.js:15
+msgid "Open GitHub"
+msgstr "Obre GitHub"
+
+#: src/js/controllers/preferencesAbout.js:13
+msgid "Open GitHub Project"
+msgstr "Obre el projecte GitHub"
+
+#: src/js/controllers/bitpayCard.js:123
+#: src/js/controllers/tx-details.js:192
+msgid "Open Explorer"
+msgstr "Obre l'explorador"
+
+#: www/views/tab-scan.html:22
+msgid "Open Settings"
+msgstr "Obre els paràmetres"
+
+#: src/js/controllers/preferencesLanguage.js:11
+msgid "Open Translation Community"
+msgstr "Obre la comunitat de traducció"
+
+#: src/js/controllers/onboarding/terms.js:22
+msgid "Open Website"
+msgstr "Obre el lloc web"
+
+#: src/js/controllers/preferencesCash.js:32
+msgid "Open bitcoincash.org?"
+msgstr "Voleu obrir bitcoincash.org?"
+
+#: src/js/controllers/cashScan.js:18
+msgid "Open the recovery tool."
+msgstr "Obre l'eina de recuperació."
+
+#: www/views/tab-receive.html:27
+msgid "Open wallet"
+msgstr "Obre la cartera"
+
+#: www/views/includes/incomingDataMenu.html:19
+msgid "Open website"
+msgstr "Obre el lloc web"
+
+#: www/views/bitpayCardIntro.html:34
+msgid "Order the BitPay Card"
+msgstr "Sol·licita la BitPay Card"
+
+#: www/views/join.html:105
+#: www/views/join.html:96
+#: www/views/tab-create-personal.html:69
+#: www/views/tab-create-personal.html:77
+#: www/views/tab-create-shared.html:106
+#: www/views/tab-create-shared.html:98
+#: www/views/tab-import-file.html:18
+#: www/views/tab-import-phrase.html:41
+msgid "Password"
+msgstr "Contrasenya"
+
+#: src/js/controllers/import.js:98
+msgid "Password required. Make sure to enter your password in advanced options"
+msgstr "Cal contrasenya. Recordeu-vos d'introduir la contrasenya a les opcions avançades"
+
+#: www/views/join.html:33
+msgid "Paste invitation here"
+msgstr "Enganxeu la invitació aquí"
+
+#: www/views/tab-import-file.html:13
+msgid "Paste the backup plain text code"
+msgstr "Enganxeu el codi del text net de seguretat"
+
+#: www/views/bitpayCardIntro.html:28
+msgid "Pay 0% fees to turn bitcoin into dollars."
+msgstr "Pagueu un 0% de comissió per convertir bitcoins a dòlars."
+
+#: www/views/modals/paypro.html:18
+msgid "Pay To"
+msgstr "Paga a"
+
+#: src/js/controllers/modals/txpDetails.js:51
+#: www/views/modals/tx-status.html:33
+msgid "Payment Accepted"
+msgstr "Pagament acceptat"
+
+#: www/views/confirm.html:25
+msgid "Payment Expires:"
+msgstr "El pagament venç:"
+
+#: www/views/modals/txp-details.html:6
+msgid "Payment Proposal"
+msgstr "Proposta de pagament"
+
+#: www/views/modals/tx-status.html:21
+msgid "Payment Proposal Created"
+msgstr "Proposta de pagament creada"
+
+#: www/views/tab-home.html:46
+msgid "Payment Proposals"
+msgstr "Propostes de pagament"
+
+#: src/js/services/payproService.js:32
+msgid "Payment Protocol Invalid"
+msgstr "Protocol de pagament no vàlid"
+
+#: src/js/services/payproService.js:18
+msgid "Payment Protocol not supported on Chrome App"
+msgstr "L'aplicació Chrome no admet el protocol de pagament"
+
+#: www/views/includes/walletActivity.html:20
+msgid "Payment Received"
+msgstr "Pagament rebut"
+
+#: www/views/modals/tx-status.html:43
+#: www/views/modals/txp-details.html:43
+msgid "Payment Rejected"
+msgstr "Pagament rebutjat"
+
+#: src/js/controllers/modals/txpDetails.js:44
+#: www/views/confirm.html:124
+#: www/views/includes/walletActivity.html:11
+#: www/views/modals/txp-details.html:42
+msgid "Payment Sent"
+msgstr "Pagament enviat"
+
+#: www/views/modals/txp-details.html:32
+msgid "Payment accepted, but not yet broadcasted"
+msgstr "Pagament acceptat, però encara no emès"
+
+#: www/views/modals/txp-details.html:40
+msgid "Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created."
+msgstr "Pagament acceptat. S'emetrà amb Glidera. Si hi ha algun problema, es pot cancel·lar 6 hores després d'haver-lo creat."
+
+#: src/js/services/incomingData.js:152
+msgid "Payment address was translated to new Bitcoin Cash address format:"
+msgstr "L'adreça de pagament s'ha traduït al nou format d'adreça Bitcoin Cash:"
+
+#: www/views/modals/txp-details.html:107
+msgid "Payment details"
+msgstr "Dades de pagament"
+
+#: www/views/modals/paypro.html:6
+msgid "Payment request"
+msgstr "Sol·licitud de pagament"
+
+#: www/views/mercadoLibreCards.html:22
+#: www/views/modals/mercadolibre-card-details.html:39
+msgid "Pending"
+msgstr "Pendent"
+
+#: www/views/proposals.html:4
+msgid "Pending Proposals"
+msgstr "Propostes pendents"
+
+#: www/views/preferencesDeleteWallet.html:13
+msgid "Permanently delete this wallet."
+msgstr "Suprimeix definitivament aquesta cartera."
+
+#: src/js/services/profileService.js:403
+msgid "Personal Wallet"
+msgstr "Cartera personal"
+
+#: www/views/backup.html:25
+msgid "Please carefully write down this phrase."
+msgstr "Apunteu-vos bé aquesta frase."
+
+#: www/views/tab-scan.html:20
+msgid "Please connect a camera to get started."
+msgstr "Connecteu una càmera per començar."
+
+#: src/js/controllers/import.js:278
+msgid "Please enter the recovery phrase"
+msgstr "Introduïu la frase de recuperació"
+
+#: src/js/controllers/create.js:174
+#: src/js/controllers/join.js:139
+msgid "Please enter the wallet recovery phrase"
+msgstr "Introduïu la frase de recuperació de la cartera"
+
+#: www/views/modals/pin.html:9
+msgid "Please enter your PIN"
+msgstr "Introduïu el PIN"
+
+#: www/views/backup.html:53
+msgid "Please tap each word in the correct order."
+msgstr "Toqueu cada paraula en l'ordre correcte."
+
+#: src/js/services/bwcError.js:101
+msgid "Please upgrade Copay to perform this action"
+msgstr "Actualitzeu Copay per realitzar aquesta acció"
+
+#: www/views/walletDetails.html:142
+#: www/views/walletDetails.html:62
+msgid "Please wait"
+msgstr "Espereu"
+
+#: src/js/controllers/import.js:238
+msgid "Please, select your backup file"
+msgstr "Seleccioneu el vostre fitxer de còpia de seguretat"
+
+#: www/views/bitpayCard.html:81
+msgid "Pre-Auth Holds"
+msgstr "Retencions preautoritzades"
+
+#: www/views/tab-settings.html:40
+msgid "Preferences"
+msgstr "Preferències"
+
+#: src/js/services/onGoingProcess.js:38
+msgid "Preparing addresses..."
+msgstr "S'estan preparant les adreces..."
+
+#: src/js/controllers/export.js:198
+msgid "Preparing backup..."
+msgstr "S'està preparant la còpia de seguretat..."
+
+#: src/js/routes.js:1264
+msgid "Press again to exit"
+msgstr "Torneu a prémer per sortir"
+
+#: src/js/services/feeService.js:11
+msgid "Priority"
+msgstr "Prioritat"
+
+#: www/views/includes/incomingDataMenu.html:80
+msgid "Private Key"
+msgstr "Clau privada"
+
+#: src/js/controllers/paperWallet.js:136
+msgid "Private key encrypted. Enter password"
+msgstr "Clau privada encriptada. Introduïu la contrasenya"
+
+#: src/js/services/bwcError.js:35
+msgid "Private key is encrypted, cannot sign"
+msgstr "La clau privada està encriptada, no es pot firmar"
+
+#: www/views/includes/walletActivity.html:51
+msgid "Proposal Accepted"
+msgstr "Proposta acceptada"
+
+#: src/js/controllers/modals/txpDetails.js:61
+#: src/js/controllers/tx-details.js:78
+#: www/views/confirm.html:125
+msgid "Proposal Created"
+msgstr "Proposta creada"
+
+#: www/views/includes/walletActivity.html:27
+msgid "Proposal Deleted"
+msgstr "Proposta suprimida"
+
+#: www/views/includes/walletActivity.html:35
+msgid "Proposal Rejected"
+msgstr "Proposta rebutjada"
+
+#: www/views/walletDetails.html:189
+msgid "Proposals"
+msgstr "Propostes"
+
+#: src/js/controllers/buyAmazon.js:282
+msgid "Purchase Amount is limited to {{limitPerDay}} {{currency}} per day"
+msgstr "L'import de la compra està limitat a {{limitPerDay}} {{currency}} per día"
+
+#: src/js/controllers/buyMercadoLibre.js:281
+msgid "Purchase amount must be a value between 50 and 2000"
+msgstr "L'import de la compra ha de ser un valor entre 50 i 2000"
+
+#: www/views/onboarding/notifications.html:3
+msgid "Push Notifications"
+msgstr "Notificacions push"
+
+#: www/views/preferencesNotifications.html:17
+msgid "Push notifications for {{appName}} are currently disabled. Enable them in the Settings app."
+msgstr "Les notificacions push per a {{appName}} estan inhabilitades. Habiliteu-les als paràmetres de l'aplicació."
+
+#: www/views/export.html:17
+msgid "QR Code"
+msgstr "Codi QR"
+
+#: www/views/onboarding/disclaimer.html:13
+msgid "Quick review!"
+msgstr "Revisió ràpida!"
+
+#: src/js/controllers/create.js:84
+#: src/js/controllers/join.js:68
+msgid "Random"
+msgstr "Aleatori"
+
+#: www/views/feedback/rateApp.html:14
+msgid "Rate on the app store"
+msgstr "Valora'ns a la botiga d'aplicacions"
+
+#: www/views/addresses.html:52
+msgid "Read less"
+msgstr "Menys informació"
+
+#: www/views/addresses.html:51
+msgid "Read more"
+msgstr "Més informació"
+
+#: src/js/controllers/preferences.js:65
+#: src/js/controllers/tx-details.js:54
+msgid "Read more in our Wiki"
+msgstr "Més informació al nostre wiki"
+
+#: src/js/controllers/cashScan.js:61
+msgid "Read only wallet"
+msgstr "Cartera només de lectura"
+
+#: www/views/tab-receive.html:3
+#: www/views/tabs.html:7
+msgid "Receive"
+msgstr "Rep"
+
+#: www/views/customAmount.html:44
+msgid "Receive in"
+msgstr "Rep a"
+
+#: www/views/includes/walletHistory.html:24
+#: www/views/tx-details.html:18
+msgid "Received"
+msgstr "Rebuts"
+
+#: src/js/controllers/tx-details.js:130
+msgid "Received Funds"
+msgstr "Fons rebuts"
+
+#: www/views/includes/walletHistory.html:57
+#: www/views/tx-details.html:24
+msgid "Receiving"
+msgstr "S'estan rebent"
+
+#: www/views/bitpayCard.html:60
+#: www/views/includes/walletHistory.html:3
+msgid "Recent"
+msgstr "Recents"
+
+#: www/views/advancedSettings.html:21
+msgid "Recent Transaction Card"
+msgstr "Targeta de transaccions recents"
+
+#: www/views/activity.html:4
+#: www/views/tab-home.html:58
+msgid "Recent Transactions"
+msgstr "Transaccions recents"
+
+#: www/views/amount.html:18
+#: www/views/tab-send.html:9
+msgid "Recipient"
+msgstr "Destinatari"
+
+#: www/views/modals/txp-details.html:62
+msgid "Recipients"
+msgstr "Destinataris"
+
+#: www/views/import.html:12
+msgid "Recovery phrase"
+msgstr "Frase de recuperació"
+
+#: src/js/services/onGoingProcess.js:26
+msgid "Recreating Wallet..."
+msgstr "S'està reproduint la cartera..."
+
+#: www/views/modals/mercadolibre-card-details.html:22
+msgid "Redeem now"
+msgstr "Bescanvia ara"
+
+#: src/js/controllers/modals/txpDetails.js:63
+#: src/js/controllers/tx-details.js:80
+msgid "Rejected"
+msgstr "Rebutjada"
+
+#: src/js/services/onGoingProcess.js:27
+msgid "Rejecting payment proposal"
+msgstr "S'està rebutjant la proposta de pagament"
+
+#: www/views/preferencesAbout.html:9
+msgid "Release information"
+msgstr "Informació de la versió"
+
+#: www/views/addressbook.view.html:36
+#: www/views/modals/mercadolibre-card-details.html:69
+msgid "Remove"
+msgstr "Suprimeix"
+
+#: src/js/controllers/preferencesBitpayServices.js:7
+msgid "Remove BitPay Account?"
+msgstr "Voleu suprimir el compte de BitPay?"
+
+#: src/js/controllers/preferencesBitpayServices.js:19
+msgid "Remove BitPay Card?"
+msgstr "Voleu suprimir la targeta BitPay?"
+
+#: src/js/controllers/preferencesBitpayServices.js:8
+msgid "Removing your BitPay account will remove all associated BitPay account data from this device. Are you sure you would like to remove your BitPay Account ({{email}}) from this device?"
+msgstr "Si suprimiu el compte de BitPay, se suprimiran totes les dades associades al compte de BitPay d'aquest dispositiu. Segur que voleu suprimir el compte de BitPay ({{email}}) d'aquest dispositiu?"
+
+#: www/views/join.html:116
+#: www/views/join.html:124
+#: www/views/tab-create-personal.html:86
+#: www/views/tab-create-personal.html:94
+#: www/views/tab-create-shared.html:115
+#: www/views/tab-create-shared.html:123
+#: www/views/tab-export-file.html:17
+msgid "Repeat password"
+msgstr "Repetiu contrasenya"
+
+#: www/views/tab-export-file.html:16
+msgid "Repeat the password"
+msgstr "Repetiu la contrasenya"
+
+#: www/views/preferences.html:56
+msgid "Request Fingerprint"
+msgstr "Sol·licita l'empremta digital"
+
+#: www/views/tab-receive.html:45
+msgid "Request Specific amount"
+msgstr "Sol·licita un import específic"
+
+#: www/views/preferences.html:42
+msgid "Request Spending Password"
+msgstr "Sol·licita contrasenya de despeses"
+
+#: www/views/tab-create-shared.html:44
+msgid "Required number of signatures"
+msgstr "Nombre de firmes requerit"
+
+#: www/views/onboarding/welcome.html:9
+msgid "Restore from backup"
+msgstr "Restaura des de la còpia de seguretat"
+
+#: src/js/services/onGoingProcess.js:29
+msgid "Retrieving inputs information"
+msgstr "S'està recuperant la informació d'entrades"
+
+#: src/js/controllers/onboarding/tour.js:56
+msgid "Retry"
+msgstr "Torna-ho a provar"
+
+#: www/views/tab-scan.html:23
+msgid "Retry Camera"
+msgstr "Torna a provar la càmera"
+
+#: www/views/addressbook.add.html:56
+#: www/views/includes/note.html:9
+#: www/views/preferencesAlias.html:21
+#: www/views/preferencesBwsUrl.html:25
+#: www/views/preferencesNotifications.html:46
+msgid "Save"
+msgstr "Desa"
+
+#: www/views/tab-scan.html:3
+#: www/views/tabs.html:11
+msgid "Scan"
+msgstr "Escaneja"
+
+#: www/views/tab-scan.html:15
+msgid "Scan QR Codes"
+msgstr "Escaneja els codis QR"
+
+#: www/views/addresses.html:31
+msgid "Scan addresses for funds"
+msgstr "Escanegeu les adreces per trobar fons"
+
+#: www/views/modals/fingerprintCheck.html:11
+msgid "Scan again"
+msgstr "Torneu a escanejar"
+
+#: src/js/services/fingerprintService.js:56
+msgid "Scan your fingerprint please"
+msgstr "Escanegeu la vostra empremta digital"
+
+#: www/views/preferencesCash.html:23
+msgid "Scan your wallets for Bitcoin Cash"
+msgstr "Escanegeu les vostres carteres per trobar Bitcoin Cash"
+
+#: src/js/services/onGoingProcess.js:30
+msgid "Scanning Wallet funds..."
+msgstr "S'estan escanejant els fons de la cartera..."
+
+#: www/views/includes/walletList.html:11
+msgid "Scanning funds..."
+msgstr "S'estan escanejant els fons..."
+
+#: www/views/includes/screenshotWarningModal.html:7
+msgid "Screenshots are not secure"
+msgstr "Les captures de pantalla no són segures"
+
+#: www/views/modals/search.html:6
+msgid "Search Transactions"
+msgstr "Cerca transaccions"
+
+#: www/views/tab-send.html:13
+msgid "Search or enter bitcoin address"
+msgstr "Cerca o introdueix l'adreça bitcoin"
+
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Porta-retalls"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Teniu el porta-retalls buit"
+
+#: www/views/modals/search.html:16
+msgid "Search transactions"
+msgstr "Cerca transaccions"
+
+#: www/views/preferencesAltCurrency.html:14
+msgid "Search your currency"
+msgstr "Cerqueu la vostra moneda"
+
+#: www/views/preferences.html:30
+msgid "Security"
+msgstr "Seguretat"
+
+#: www/views/modals/mercadolibre-card-details.html:64
+msgid "See invoice"
+msgstr "Mostra la factura"
+
+#: www/views/tab-import-file.html:7
+msgid "Select a backup file"
+msgstr "Seleccioneu un fitxer de còpia de seguretat"
+
+#: src/js/controllers/tab-receive.js:139
+msgid "Select a wallet"
+msgstr "Seleccioneu una cartera"
+
+#: www/views/modals/paypro.html:38
+msgid "Self-signed Certificate"
+msgstr "Certificat autofirmat"
+
+#: src/js/services/onGoingProcess.js:41
+msgid "Selling Bitcoin..."
+msgstr "S'estan venent bitcoins..."
+
+#: www/views/feedback/send.html:13
+#: www/views/feedback/send.html:43
+#: www/views/tab-send.html:3
+#: www/views/tabs.html:15
+msgid "Send"
+msgstr "Envia"
+
+#: www/views/feedback/send.html:3
+#: www/views/tab-settings.html:29
+msgid "Send Feedback"
+msgstr "Envia comentaris"
+
+#: www/views/addressbook.view.html:31
+msgid "Send Money"
+msgstr "Envia diners"
+
+#: www/views/allAddresses.html:19
+msgid "Send addresses by email"
+msgstr "Envia adreces per correu electrònic"
+
+#: www/views/includes/logOptions.html:17
+#: www/views/tab-export-file.html:82
+msgid "Send by email"
+msgstr "Envia per correu electrònic"
+
+#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
+msgid "Send from"
+msgstr "Envia des de"
+
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Enviat a"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Enganxa des del porta-retalls"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Enganxa l'adreça"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Transferència de cartera a cartera"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Escaneja el codi QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envia bitcoins més ràpid!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envia bitcoins més ràpid!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Deseu adreces utilitzades freqüentment i envieu-los bitcoins d'un sol toc"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Afegiu el primer contacte"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "La vostra cartera bitcoin és buida"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Per començar, compreu Bitcoin Cash (BCH) o Bitcoin Core (BTC), o compartiu la vostra adreça."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Podeu rebre bitcoins des de qualsevol cartera o servei."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Per començar, heu de crear una cartera bitcoin i obtenir uns quants bitcoins."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Compra Bitcoins ara"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Mostra la meva adreça"
+
+#: www/views/includes/itemSelector.html:8
+msgid "Send max amount"
+msgstr "Envia import màxim"
+
+#: www/views/includes/incomingDataMenu.html:46
+msgid "Send payment to this address"
+msgstr "Envia el pagament a aquesta adreça"
+
+#: www/views/feedback/rateApp.html:17
+msgid "Send us feedback instead"
+msgstr "Envieu-nos un comentari"
+
+#: www/views/confirm.html:15
+#: www/views/includes/txp.html:12
+#: www/views/modals/txp-details.html:19
+#: www/views/tx-details.html:23
+msgid "Sending"
+msgstr "S'està enviant"
+
+#: src/js/services/onGoingProcess.js:39
+msgid "Sending 2FA code..."
+msgstr "S'està enviant el codi 2FA..."
+
+#: src/js/services/onGoingProcess.js:36
+msgid "Sending feedback..."
+msgstr "S'està enviant el comentari..."
+
+#: www/views/confirm.html:16
+msgid "Sending maximum amount"
+msgstr "S'està enviant la quantitat màxima"
+
+#: src/js/services/onGoingProcess.js:31
+msgid "Sending transaction"
+msgstr "S'està enviant la transacció"
+
+#: src/js/controllers/confirm.js:545
+msgid "Sending {{amountStr}} from your {{name}} wallet"
+msgstr "S'estan enviant {{amountStr}} des de la vostra cartera {{name}}"
+
+#: www/views/includes/walletHistory.html:42
+#: www/views/modals/tx-status.html:9
+#: www/views/topup.html:100
+#: www/views/tx-details.html:17
+msgid "Sent"
+msgstr "Enviats"
+
+#: src/js/controllers/tx-details.js:129
+msgid "Sent Funds"
+msgstr "Fons enviats"
+
+#: src/js/services/bwcError.js:38
+msgid "Server response could not be verified"
+msgstr "La resposta del servidor no s'ha pogut verificar"
+
+#: src/js/controllers/buyAmazon.js:97
+#: src/js/controllers/buyMercadoLibre.js:97
+msgid "Service not available"
+msgstr "Servei no disponible"
+
+#: www/views/includes/homeIntegrations.html:3
+msgid "Services"
+msgstr "Serveis"
+
+#: www/views/preferencesLogs.html:3
+msgid "Session Log"
+msgstr "Registre de la sessió"
+
+#: www/views/preferencesAbout.html:35
+msgid "Session log"
+msgstr "Registre de la sessió"
+
+#: www/views/tab-export-file.html:10
+msgid "Set up a password"
+msgstr "Especifiqueu una contrasenya"
+
+#: src/js/controllers/preferencesFee.js:85
+msgid "Set your own fee in satoshis/byte"
+msgstr "Especifiqueu una comissió en satoshis/byte"
+
+#: www/views/tab-settings.html:3
+#: www/views/tabs.html:19
+msgid "Settings"
+msgstr "Paràmetres"
+
+#: www/views/feedback/complete.html:17
+#: www/views/feedback/complete.html:26
+msgid "Share the love by inviting your friends."
+msgstr "Compartiu la passió convidant els amics."
+
+#: www/views/copayers.html:20
+msgid "Share this invitation with your copayers"
+msgstr "Compartiu aquesta invitació amb els copagadors"
+
+#: src/js/controllers/feedback/complete.js:5
+#: www/views/tab-settings.html:36
+msgid "Share {{appName}}"
+msgstr "Comparteix {{appName}}"
+
+#: www/views/tab-import-hardware.html:24
+msgid "Shared Wallet"
+msgstr "Cartera compartida"
+
+#: www/views/preferencesExternal.html:34
+msgid "Show Recovery Phrase"
+msgstr "Mostra la frase de recuperació"
+
+#: www/views/tab-receive.html:34
+msgid "Show address"
+msgstr "Mostra l'adreça"
+
+#: www/views/join.html:48
+#: www/views/tab-create-personal.html:27
+#: www/views/tab-create-shared.html:56
+#: www/views/tab-export-file.html:24
+#: www/views/tab-import-file.html:29
+#: www/views/tab-import-hardware.html:30
+#: www/views/tab-import-phrase.html:35
+msgid "Show advanced options"
+msgstr "Mostra les opcions avançades"
+
+#: www/views/tab-send.html:37
+msgid "Show bitcoin address"
+msgstr "Mostra l'adreça bitcoin"
+
+#: www/views/tab-send.html:59
+msgid "Show more"
+msgstr "Mostra més"
+
+#: src/js/services/bwcError.js:104
+msgid "Signatures rejected by server"
+msgstr "Firmes rebutjades pel servidor"
+
+#: src/js/services/onGoingProcess.js:32
+msgid "Signing transaction"
+msgstr "S'està firmant la transacció"
+
+#: www/views/onboarding/backupRequest.html:6
+msgid "Since only you control your money, you’ll need to save your backup phrase in case this app is deleted."
+msgstr "Com que ningú més controla els vostres diners, heu de guardar la frase de seguretat per si aquesta aplicació s'esborra."
+
+#: www/views/tab-create-personal.html:122
+#: www/views/tab-create-shared.html:151
+msgid "Single Address Wallet"
+msgstr "Cartera d'adreça única"
+
+#: www/views/onboarding/collectEmail.html:40
+#: www/views/onboarding/tour.html:11
+msgid "Skip"
+msgstr "Omet"
+
+#: src/js/controllers/confirm.js:371
+#: src/js/controllers/modals/txpDetails.js:47
+msgid "Slide to accept"
+msgstr "Feu lliscar per acceptar"
+
+#: www/views/buyAmazon.html:96
+msgid "Slide to buy"
+msgstr "Feu lliscar per comprar"
+
+#: src/js/controllers/confirm.js:365
+msgid "Slide to pay"
+msgstr "Feu lliscar per pagar"
+
+#: src/js/controllers/confirm.js:377
+#: src/js/controllers/modals/txpDetails.js:40
+msgid "Slide to send"
+msgstr "Feu lliscar per enviar"
+
+#: www/views/cashScan.html:56
+msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
+msgstr "Algunes de les vostres carteres no són compatibles amb Bitcoin Cash. Podeu provar d'accedir als fons BCH amb"
+
+#: src/js/controllers/create.js:88
+#: src/js/controllers/join.js:71
+msgid "Specify Recovery Phrase..."
+msgstr "Especifiqueu la frase de recuperació..."
+
+#: src/js/services/bwcError.js:92
+msgid "Spend proposal is not accepted"
+msgstr "La proposta de despesa no s'ha acceptat"
+
+#: src/js/services/bwcError.js:95
+msgid "Spend proposal not found"
+msgstr "La proposta de despesa no s'ha trobat"
+
+#: src/js/services/bwcError.js:137
+msgid "Spending Password needed"
+msgstr "Contrasenya de despeses obligatòria"
+
+#: www/views/walletDetails.html:173
+msgid "Spending this balance will need significant Bitcoin network fees"
+msgstr "Gastar aquest saldo requerirà importants comissions de la xarxa Bitcoin"
+
+#: www/views/tab-send.html:28
+msgid "Start sending bitcoin"
+msgstr "Comença a enviar bitcoins"
+
+#: www/views/lockSetup.html:3
+msgid "Startup Lock"
+msgstr "Bloqueig inicial"
+
+#: www/views/mercadoLibreCards.html:21
+#: www/views/modals/mercadolibre-card-details.html:42
+msgid "Still pending"
+msgstr "Encara pendent"
+
+#: www/views/topup.html:101
+msgid "Success"
+msgstr "Correcte"
+
+#: src/js/services/feeService.js:14
+msgid "Super Economy"
+msgstr "Súper econòmic"
+
+#: www/views/preferencesCash.html:11
+msgid "Support Bitcoin Cash"
+msgstr "Compatible amb Bitcoin Cash"
+
+#: www/views/paperWallet.html:7
+msgid "Sweep"
+msgstr "Escombratge"
+
+#: www/views/includes/incomingDataMenu.html:89
+#: www/views/paperWallet.html:3
+msgid "Sweep paper wallet"
+msgstr "Escombra la cartera de paper"
+
+#: src/js/services/onGoingProcess.js:33
+msgid "Sweeping Wallet..."
+msgstr "S'està escombrant la cartera..."
+
+#: www/views/preferencesDeleteWallet.html:16
+msgid "THIS ACTION CANNOT BE REVERSED"
+msgstr "AQUESTA ACCIÓ NO ES POT REVERTIR"
+
+#: www/views/onboarding/welcome.html:5
+msgid "Take control of your money, get started with bitcoin."
+msgstr "Controleu els vostres diners, inicieu-vos al món dels bitcoins."
+
+#: www/views/walletDetails.html:132
+#: www/views/walletDetails.html:52
+msgid "Tap and hold to show"
+msgstr "Manteniu premut per mostrar"
+
+#: www/views/includes/walletInfo.html:3
+msgid "Tap to recreate"
+msgstr "Toqueu per reproduir"
+
+#: www/views/includes/walletInfo.html:4
+msgid "Tap to retry"
+msgstr "Toqueu per reintentar"
+
+#: www/views/termsOfUse.html:3
+msgid "Terms Of Use"
+msgstr "Condicions d'ús"
+
+#: www/views/modals/terms.html:3
+#: www/views/onboarding/disclaimer.html:29
+#: www/views/onboarding/disclaimer.html:43
+#: www/views/preferencesAbout.html:30
+msgid "Terms of Use"
+msgstr "Condicions d'ús"
+
+#: www/views/tab-create-personal.html:118
+#: www/views/tab-import-phrase.html:68
+msgid "Testnet"
+msgstr "Testnet"
+
+#: www/views/includes/incomingDataMenu.html:61
+msgid "Text"
+msgstr "Text"
+
+#: src/js/controllers/feedback/send.js:27
+#: src/js/controllers/feedback/send.js:76
+#: www/views/feedback/complete.html:20
+#: www/views/feedback/rateApp.html:4
+msgid "Thank you!"
+msgstr "Gràcies!"
+
+#: src/js/controllers/feedback/send.js:72
+msgid "Thanks!"
+msgstr "Gràcies!"
+
+#: src/js/controllers/feedback/send.js:73
+msgid "That's exciting to hear. We'd love to earn that fifth star from you – how could we improve your experience?"
+msgstr "Ens en alegrem. Ens encantaria que ens donéssiu 5 estrelles. Com podem millorar la vostra experiència?"
+
+#: src/js/services/ledger.js:152
+msgid "The Ledger Chrome application is not installed"
+msgstr "L'aplicació Ledger de Chrome no està instal·lada"
+
+#: www/views/modals/wallet-balance.html:55
+msgid "The amount of bitcoin immediately spendable from this wallet."
+msgstr "Quantitat de bitcoins que es poden gastar immediatament des d'aquesta cartera."
+
+#: www/views/modals/wallet-balance.html:93
+msgid "The amount of bitcoin stored in this wallet that is allocated as inputs to your pending transaction proposals. The amount is determined using unspent transaction outputs associated with this wallet and may be more than the actual amounts associated with your pending transaction proposals."
+msgstr "La quantitat de bitcoins emmagatzemada en aquesta cartera que s'assigna com a entrades a les vostres propostes de transacció pendents. L'import es determina en base a les sortides de transacció no gastades associades a aquesta cartera i pot superar les quantitats reals associades a les vostres propostes de transacció pendents."
+
+#: www/views/modals/wallet-balance.html:74
+msgid "The amount of bitcoin stored in this wallet with less than 1 blockchain confirmation."
+msgstr "La quantitat de bitcoins emmagatzemada en aquesta cartera amb menys d'una confirmació blockchain."
+
+#: www/views/tab-import-phrase.html:5
+msgid "The derivation path"
+msgstr "El camí de derivació"
+
+#: www/views/onboarding/tour.html:37
+msgid "The exchange rate changes with the market."
+msgstr "El tipus de canvi canvia amb el mercat."
+
+#: www/views/preferencesFee.html:12
+msgid "The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy."
+msgstr "Com més alta és la comissió, més incentius té un miner per incloure la vostra transacció en un bloc. Les comissions es determinen a cada moment en funció de la càrrega de la xarxa i de la política seleccionada."
+
+#: www/views/addresses.html:51
+msgid "The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab."
+msgstr "S'ha assolit el nombre màxim d'adreces consecutives sense utilitzar (20). Quan una de les vostres adreces sense utilitzar rebi un pagament, es generarà una adreça nova que es mostrarà a la pestanya Rep."
+
+#: src/js/controllers/onboarding/terms.js:21
+msgid "The official English Terms of Service are available on the BitPay website."
+msgstr "Les condicions de servei oficials estan disponibles en anglès al lloc web de BitPay."
+
+#: www/views/tab-import-phrase.html:4
+msgid "The password of the recovery phrase (if set)"
+msgstr "La contrasenya de la frase de recuperació (si s'ha establert)"
+
+#: src/js/services/walletService.js:1139
+msgid "The payment was created but could not be completed. Please try again from home screen"
+msgstr "El pagament s'ha creat però no s'ha pogut completar. Torneu-ho a provar des de la pantalla d'inici"
+
+#: www/views/modals/txp-details.html:26
+msgid "The payment was removed by creator"
+msgstr "El creador ha eliminat el pagament"
+
+#: www/views/join.html:91
+#: www/views/tab-create-personal.html:63
+#: www/views/tab-create-shared.html:92
+#: www/views/tab-import-phrase.html:43
+msgid "The recovery phrase could require a password to be imported"
+msgstr "La frase de recuperació pot requerir una contrasenya a l'hora d'importar-la"
+
+#: src/js/services/bwcError.js:56
+msgid "The request could not be understood by the server"
+msgstr "El servidor no ha entès la petició"
+
+#: www/views/addresses.html:52
+msgid "The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated."
+msgstr "El procés de restauració s'atura quan s'han generat 20 adreces seguides sense fons. Per generar més adreces de manera segura, efectueu un pagament a una de les adreces sense utilitzar que ja s'hagi generat."
+
+#: src/js/services/bwcError.js:98
+msgid "The spend proposal is not pending"
+msgstr "La proposta de despesa no està pendent"
+
+#: www/views/modals/wallet-balance.html:36
+msgid "The total amount of bitcoin stored in this wallet."
+msgstr "La quantitat total de bitcoins emmagatzemats en aquesta cartera."
+
+#: www/views/preferencesHistory.html:27
+msgid "The transaction history and every new incoming transaction are cached in the app. This feature clean this up and synchronizes again from the server"
+msgstr "L'historial de les transaccions i cada transacció nova entrant es guarden a la memòria cau de l'aplicació. Aquesta funció ho esborra tot i torna a sincronitzar des del servidor"
+
+#: www/views/tab-import-phrase.html:6
+msgid "The wallet service URL"
+msgstr "L'URL del servei de la cartera"
+
+#: src/js/controllers/tab-home.js:38
+msgid "There is a new version of {{appName}} available"
+msgstr "Hi ha una nova versió de {{appName}} disponible"
+
+#: src/js/controllers/import.js:229
+#: src/js/controllers/import.js:254
+#: src/js/controllers/import.js:335
+msgid "There is an error in the form"
+msgstr "Hi ha un error al formulari"
+
+#: src/js/controllers/feedback/send.js:61
+#: src/js/controllers/feedback/send.js:65
+msgid "There's obviously something we're doing wrong."
+msgstr "És evident que hi ha alguna cosa que estem fent malament."
+
+#: src/js/controllers/feedback/rateCard.js:38
+msgid "This app is fantastic!"
+msgstr "Aquesta aplicació és fantàstica!"
+
+#: www/views/onboarding/tour.html:47
+msgid "This app stores your bitcoin with cutting-edge security."
+msgstr "Aquesta aplicació emmagatzema els vostres bitcoins amb una seguretat de tecnologia punta."
+
+#: src/js/controllers/confirm.js:523
+msgid "This bitcoin payment request has expired."
+msgstr "Aquesta sol·licitud de pagament bitcoin ha caducat."
+
+#: www/views/join.html:133
+#: www/views/tab-create-personal.html:103
+#: www/views/tab-create-shared.html:132
+msgid "This password cannot be recovered. If the password is lost, there is no way you could recover your funds."
+msgstr "Aquesta contrasenya no es pot recuperar. Si la contrasenya es perd, no es poden recuperar els fons de cap manera."
+
+#: www/views/backup.html:31
+msgid "This recovery phrase was created with a password. To recover this wallet both the recovery phrase and password are needed."
+msgstr "Aquesta frase de recuperació s'ha creat amb una contrasenya. Per recuperar aquesta cartera es necessita tant la frase de recuperació com la contrasenya."
+
+#: www/views/tx-details.html:91
+msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
+msgstr "Aquest import de transacció és massa petit comparat amb les comissions actuals de la xarxa Bitcoin. Gastar aquests fons suposarà una comissió de la xarxa Bitcoin comparable als fons en si."
+
+#: www/views/tx-details.html:87
+msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
+msgstr "Aquesta transacció pot trigar molta estona a confirmar-se o es pot anul·lar a causa de la baixa comissió establerta pel remitent"
+
+#: www/views/walletDetails.html:109
+#: www/views/walletDetails.html:29
+msgid "This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information."
+msgstr "Aquesta cartera no està registrada al Bitcore Wallet Service (BWS). Podeu tornar a crear-la a partir de la informació local."
+
+#: www/views/modals/txp-details.html:136
+#: www/views/tx-details.html:121
+msgid "Timeline"
+msgstr "Cronologia"
+
+#: www/views/confirm.html:31
+#: www/views/includes/output.html:2
+#: www/views/modals/txp-details.html:109
+#: www/views/modals/txp-details.html:53
+#: www/views/tx-details.html:41
+#: www/views/tx-details.html:53
+msgid "To"
+msgstr "Per a"
+
+#: www/views/tab-send.html:32
+msgid "To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service."
+msgstr "Per començar, compreu bitcoins o compartiu la vostra adreça. Podeu rebre bitcoins de qualsevol cartera o servei."
+
+#: www/views/tab-send.html:33
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Per començar, heu de crear una cartera bitcoin i obtenir uns quants bitcoins."
+
+#: src/js/services/bitpayAccountService.js:73
+msgid "To {{reason}} you must first add your BitPay account - {{email}}"
+msgstr "Per {{reason}} ja heu d'haver afegit el vostre compte BitPay - {{email}}"
+
+#: src/js/services/onGoingProcess.js:48
+msgid "Top up in progress..."
+msgstr "Recàrrega en curs..."
+
+#: src/js/controllers/topup.js:206
+msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
+msgstr "Recàrrega de {{amountStr}} a la targeta de dèbit ({{cardLastNumber}})"
+
+#: www/views/buyAmazon.html:61
+#: www/views/buyMercadoLibre.html:60
+#: www/views/modals/wallet-balance.html:23
+#: www/views/topup.html:70
+msgid "Total"
+msgstr "Total"
+
+#: www/views/walletDetails.html:196
+msgid "Total Locked Balance"
+msgstr "Total del saldo bloquejat"
+
+#: www/views/tab-create-shared.html:35
+msgid "Total number of copayers"
+msgstr "Nombre total de copagadors"
+
+#: www/views/addresses.html:81
+msgid "Total wallet inputs"
+msgstr "Total d'entrades de la cartera"
+
+#: src/js/services/fingerprintService.js:63
+#: src/js/services/fingerprintService.js:68
+msgid "Touch ID Failed"
+msgstr "Touch ID ha fallat"
+
+#: src/js/controllers/tx-details.js:12
+msgid "Transaction"
+msgstr "Transacció"
+
+#: www/views/confirm.html:126
+msgid "Transaction Created"
+msgstr "Transacció creada"
+
+#: www/views/preferencesAdvanced.html:29
+#: www/views/preferencesHistory.html:3
+msgid "Transaction History"
+msgstr "Historial de transaccions"
+
+#: src/js/services/bwcError.js:83
+msgid "Transaction already broadcasted"
+msgstr "La transacció ja s'ha emès"
+
+#: src/js/controllers/buyAmazon.js:308
+#: src/js/controllers/buyMercadoLibre.js:301
+#: src/js/controllers/topup.js:281
+msgid "Transaction has not been created"
+msgstr "La transacció no s'ha creat"
+
+#: www/views/topup.html:104
+msgid "Transaction initiated"
+msgstr "Transacció iniciada"
+
+#: src/js/controllers/tx-details.js:119
+msgid "Transaction not available at this time"
+msgstr "La transacció no està disponible en aquest moment"
+
+#: src/js/controllers/activity.js:45
+#: src/js/controllers/tab-home.js:174
+msgid "Transaction not found"
+msgstr "No s'ha trobat la transacció"
+
+#: www/views/modals/chooseFeeLevel.html:55
+msgid "Transactions without fee are not supported."
+msgstr "No s'admeten transaccions sense comissió."
+
+#: src/js/controllers/paperWallet.js:109
+msgid "Transfer to"
+msgstr "Transfereix a"
+
+#: www/views/tab-send.html:67
+msgid "Transfer to Wallet"
+msgstr "Transfereix a la cartera"
+
+#: www/views/modals/pin.html:13
+msgid "Try again in {{expires}}"
+msgstr "Torneu-ho a provar d'aquí {{expires}}"
+
+#: www/views/bitpayCardIntro.html:18
+msgid "Turn bitcoin into dollars, swipe anywhere Visa® is accepted."
+msgstr "Converteix bitcoins a dòlars, paga a qualsevol lloc on acceptin Visa® ."
+
+#: www/views/tab-import-phrase.html:17
+msgid "Type the Recovery Phrase (usually 12 words)"
+msgstr "Escriviu la frase de recuperació (normalment 12 paraules)"
+
+#: src/js/controllers/backup.js:75
+msgid "Uh oh..."
+msgstr "Vaja..."
+
+#: www/views/tx-details.html:100
+msgid "Unconfirmed"
+msgstr "Sense confirmar"
+
+#: www/views/walletDetails.html:190
+msgid "Unsent transactions"
+msgstr "Transaccions no enviades"
+
+#: www/views/addresses.html:39
+msgid "Unused Addresses"
+msgstr "Adreces sense utilitzar"
+
+#: www/views/addresses.html:50
+msgid "Unused Addresses Limit"
+msgstr "Límit d'adreces sense utilitzar"
+
+#: src/js/controllers/tab-home.js:146
+msgid "Update Available"
+msgstr "Actualització disponible"
+
+#: www/views/proposals.html:14
+msgid "Updating pending proposals. Please stand by"
+msgstr "S'estan actualitzant les propostes pendents. Espereu"
+
+#: www/views/walletDetails.html:217
+msgid "Updating transaction history. Please stand by."
+msgstr "S'està actualitzant l'historial de transaccions. Espereu."
+
+#: www/views/activity.html:14
+msgid "Updating... Please stand by"
+msgstr "S'està actualitzant... Espereu"
+
+#: src/js/services/feeService.js:10
+msgid "Urgent"
+msgstr "Urgent"
+
+#: www/views/advancedSettings.html:12
+msgid "Use Unconfirmed Funds"
+msgstr "Utilitza els fons sense confirmar"
+
+#: src/js/services/onGoingProcess.js:34
+msgid "Validating recovery phrase..."
+msgstr "S'està validant la frase de recuperació..."
+
+#: www/views/modals/fingerprintCheck.html:4
+msgid "Verify your identity"
+msgstr "Verifiqueu la vostra identitat"
+
+#: www/views/preferencesAbout.html:14
+#: www/views/preferencesExternal.html:25
+msgid "Version"
+msgstr "Versió"
+
+#: www/views/tab-export-file.html:69
+msgid "View"
+msgstr "Mostra"
+
+#: www/views/addresses.html:34
+msgid "View All Addresses"
+msgstr "Mostra totes les adreces"
+
+#: src/js/controllers/onboarding/terms.js:20
+msgid "View Terms of Service"
+msgstr "Mostra les condicions de servei"
+
+#: src/js/controllers/bitpayCard.js:122
+#: src/js/controllers/tx-details.js:191
+msgid "View Transaction on Explorer.Bitcoin.com"
+msgstr "Mostra la transacció a Explorer.Bitcoin.com"
+
+#: src/js/controllers/tab-home.js:148
+msgid "View Update"
+msgstr "Mostra l'actualització"
+
+#: www/views/tx-details.html:147
+msgid "View on blockchain"
+msgstr "Mostra a la blockchain"
+
+#: www/views/mercadoLibre.html:26
+msgid "Visit mercadolivre.com.br →"
+msgstr "Visiteu mercadolivre.com.br →"
+
+#: www/views/walletDetails.html:182
+msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
+msgstr "AVÍS: La derivació de clau no funciona en aquest dispositiu/cartera. No es poden realitzar accions en aquesta cartera."
+
+#: www/views/tab-export-file.html:45
+msgid "WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
+msgstr "AVÍS: No incloure la clau privada permet comprovar el saldo de la cartera, l'historial de transaccions i crear propostes de despeses des del fitxer exportat. Ara bé, no permet aprovar (firmar) propostes; per tant els fons no seran accessibles des del fitxer exportat ."
+
+#: www/views/tab-export-file.html:36
+msgid "WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
+msgstr "AVÍS: La clau privada d'aquesta cartera no està disponible. L'exportació permet comprovar el saldo de la cartera, l'historial de transaccions i crear propostes de despeses des del fitxer exportat. Ara bé, no permet aprovar (firmar) propostes; per tant els fons no seran accessibles des del fitxer exportat ."
+
+#: www/views/modals/paypro.html:42
+msgid "WARNING: UNTRUSTED CERTIFICATE"
+msgstr "AVÍS: EL CERTIFICAT NO ÉS DE CONFIANÇA"
+
+#: src/js/services/onGoingProcess.js:15
+msgid "Waiting for Ledger..."
+msgstr "Esperant el Ledger..."
+
+#: src/js/services/onGoingProcess.js:16
+msgid "Waiting for Trezor..."
+msgstr "Esperant el Trezor..."
+
+#: www/views/copayers.html:48
+msgid "Waiting for copayers"
+msgstr "Esperant els copagadors"
+
+#: www/views/copayers.html:53
+msgid "Waiting..."
+msgstr "Esperant..."
+
+#: www/views/addresses.html:3
+#: www/views/preferencesAdvanced.html:17
+msgid "Wallet Addresses"
+msgstr "Adreces de la cartera"
+
+#: www/views/preferencesColor.html:4
+msgid "Wallet Color"
+msgstr "Color de la cartera"
+
+#: www/views/preferencesInformation.html:29
+msgid "Wallet Configuration (m-n)"
+msgstr "Configuració de la cartera (m-n)"
+
+#: www/views/onboarding/collectEmail.html:5
+msgid "Wallet Created"
+msgstr "Cartera creada"
+
+#: www/views/preferencesInformation.html:23
+msgid "Wallet Id"
+msgstr "Id de la cartera"
+
+#: www/views/preferencesAdvanced.html:13
+#: www/views/preferencesInformation.html:3
+msgid "Wallet Information"
+msgstr "Informació de la cartera"
+
+#: www/views/addresses.html:76
+msgid "Wallet Inputs"
+msgstr "Entrades de la cartera"
+
+#: www/views/join.html:26
+msgid "Wallet Invitation"
+msgstr "Invitació de la cartera"
+
+#: www/views/join.html:60
+#: www/views/tab-create-personal.html:38
+#: www/views/tab-create-shared.html:67
+msgid "Wallet Key"
+msgstr "Clau de la cartera"
+
+#: www/views/preferencesAlias.html:4
+msgid "Wallet Name"
+msgstr "Nom de la cartera"
+
+#: www/views/preferencesInformation.html:11
+msgid "Wallet Name (at creation)"
+msgstr "Nom de la cartera (en crear-la)"
+
+#: www/views/preferencesInformation.html:35
+msgid "Wallet Network"
+msgstr "Xarxa de la cartera"
+
+#: www/views/join.html:77
+#: www/views/tab-create-personal.html:50
+#: www/views/tab-create-shared.html:79
+msgid "Wallet Recovery Phrase"
+msgstr "Frase de recuperació de la cartera"
+
+#: src/js/services/bwcError.js:26
+msgid "Wallet Recovery Phrase is invalid"
+msgstr "La frase de recuperació de la cartera no és vàlida"
+
+#: www/views/preferencesAdvanced.html:25
+#: www/views/tab-import-phrase.html:73
+msgid "Wallet Service URL"
+msgstr "URL del servei de la cartera"
+
+#: www/views/preferences.html:4
+msgid "Wallet Settings"
+msgstr "Paràmetres de la cartera"
+
+#: www/views/tab-import-hardware.html:11
+#: www/views/tab-import-phrase.html:61
+msgid "Wallet Type"
+msgstr "Tipus de cartera"
+
+#: src/js/services/bwcError.js:59
+msgid "Wallet already exists"
+msgstr "La cartera ja existeix"
+
+#: src/js/services/profileService.js:516
+msgid "Wallet already in {{appName}}"
+msgstr "La cartera ja existeix a {{appName}}"
+
+#: www/views/includes/walletActivity.html:6
+msgid "Wallet created"
+msgstr "Cartera creada"
+
+#: www/views/copayers.html:58
+msgid "Wallet incomplete and broken"
+msgstr "Cartera incompleta i trencada"
+
+#: src/js/services/bwcError.js:65
+msgid "Wallet is full"
+msgstr "La cartera està plena"
+
+#: src/js/services/bwcError.js:125
+msgid "Wallet is locked"
+msgstr "La cartera està bloquejada"
+
+#: src/js/services/bwcError.js:128
+msgid "Wallet is not complete"
+msgstr "La cartera no està completa"
+
+#: www/views/tab-create-personal.html:12
+#: www/views/tab-create-shared.html:12
+msgid "Wallet name"
+msgstr "Nom de la cartera"
+
+#: src/js/services/bwcError.js:131
+msgid "Wallet needs backup"
+msgstr "La cartera requereix una còpia de seguretat"
+
+#: www/views/tab-receive.html:59
+#: www/views/walletDetails.html:169
+msgid "Wallet not backed up"
+msgstr "Cartera sense còpia de seguretat"
+
+#: src/js/services/bwcError.js:68
+msgid "Wallet not found"
+msgstr "No s'ha trobat la cartera"
+
+#: src/js/controllers/cashScan.js:81
+#: src/js/controllers/tab-home.js:230
+msgid "Wallet not registered"
+msgstr "No s'ha registrat la cartera"
+
+#: src/js/services/bwcError.js:29
+msgid "Wallet not registered at the wallet service. Recreate it from \"Create Wallet\" using \"Advanced Options\" to set your recovery phrase"
+msgstr "La cartera no s'ha registrat a Wallet Service. Torneu-la a crear des de \"Crea cartera\" amb \"Opcions avançades\" per definir la vostra frase de recuperació"
+
+#: www/views/backup.html:12
+msgid "Wallet recovery phrase not available"
+msgstr "La frase de recuperació de la cartera no està disponible"
+
+#: src/js/services/bwcError.js:50
+msgid "Wallet service not found"
+msgstr "No s'ha trobat Wallet Service"
+
+#: www/views/tab-home.html:69
+msgid "Wallets"
+msgstr "Carteres"
+
+#: src/js/controllers/addressbookView.js:36
+#: src/js/controllers/modals/txpDetails.js:153
+#: src/js/controllers/modals/txpDetails.js:170
+#: src/js/controllers/preferencesDelete.js:24
+#: src/js/controllers/preferencesExternal.js:14
+#: www/views/preferencesDeleteWallet.html:11
+msgid "Warning!"
+msgstr "Avís!"
+
+#: www/views/modals/txp-details.html:47
+msgid "Warning: this transaction has unconfirmed inputs"
+msgstr "Avís: Aquesta transacció té entrades no confirmades"
+
+#: src/js/controllers/onboarding/backupRequest.js:17
+msgid "Watch out!"
+msgstr "Compte!"
+
+#: src/js/controllers/feedback/send.js:69
+msgid "We'd love to do better."
+msgstr "Ens agradaria fer-ho millor."
+
+#: www/views/backup.html:35
+msgid "We'll confirm on the next screen."
+msgstr "Ho confirmarem a la pantalla següent."
+
+#: src/js/controllers/feedback/send.js:77
+msgid "We're always looking for ways to improve {{appName}}."
+msgstr "Sempre intentem millorar {{appName}}."
+
+#: src/js/controllers/feedback/send.js:83
+msgid "We're always looking for ways to improve {{appName}}. How could we improve your experience?"
+msgstr "Sempre intentem millorar {{appName}}. Com podríem millorar la vostra experiència?"
+
+#: www/views/includes/incomingDataMenu.html:6
+msgid "Website"
+msgstr "Lloc web"
+
+#: www/views/preferencesLanguage.html:16
+msgid "We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin."
+msgstr "Sempre busquem gent que contribueixi a les traduccions. Podeu fer correccions o ajudar a fer que aquesta aplicació estigui disponible en la vostra llengua unint-vos a la nostra comunitat de Crowdin."
+
+#: www/views/preferencesAlias.html:11
+msgid "What do you call this wallet?"
+msgstr "Quin nom voleu posar a aquesta cartera?"
+
+#: www/views/preferencesAlias.html:12
+msgid "When this wallet was created, it was called “{{walletName}}”. You can change the name displayed on this device below."
+msgstr "Quan es va crear aquesta cartera, va rebre el nom: “{{walletName}}”. Podeu canviar el nom que es mostra en aquest dispositiu a sota."
+
+#: www/views/onboarding/collectEmail.html:10
+msgid "Where would you like to receive email notifications about payments?"
+msgstr "A on voleu rebre les notificacions per e-mail sobre els pagaments?"
+
+#: www/views/addresses.html:19
+msgid "Why?"
+msgstr "Per què?"
+
+#: www/views/feedback/rateApp.html:10
+msgid "Would you be willing to rate {{appName}} in the app store?"
+msgstr "Voldríeu valorar {{appName}} a la botiga d'aplicacions?"
+
+#: www/views/onboarding/notifications.html:4
+msgid "Would you like to receive push notifications about payments?"
+msgstr "Voleu rebre notificacions push sobre els pagaments?"
+
+#: src/js/controllers/import.js:288
+msgid "Wrong number of recovery words:"
+msgstr "Nombre de paraules de recuperació incorrecte:"
+
+#: src/js/services/bwcError.js:140
+msgid "Wrong spending password"
+msgstr "Contrasenya de pagaments incorrecta"
+
+#: www/views/modals/confirmation.html:7
+msgid "Yes"
+msgstr "Sí"
+
+#: src/js/controllers/onboarding/backupRequest.js:25
+msgid "Yes, skip"
+msgstr "Sí, omet"
+
+#: src/js/controllers/onboarding/backupRequest.js:24
+msgid "You can create a backup later from your wallet settings."
+msgstr "Podeu crear una còpia de seguretat més tard des dels paràmetres de la cartera."
+
+#: src/js/controllers/preferencesLanguage.js:12
+msgid "You can make contributions by signing up on our Crowdin community translation website. We’re looking forward to hearing from you!"
+msgstr "Podeu fer contribucions registrant-vos al nostre web de la comunitat de traductors de Crowdin. Us hi esperem!"
+
+#: www/views/tab-scan.html:16
+msgid "You can scan bitcoin addresses, payment requests, paper wallets, and more."
+msgstr "Podeu escanejar adreces bitcoin, sol·licituds de pagament, carteres de paper i més coses."
+
+#: src/js/controllers/preferencesAbout.js:14
+msgid "You can see the latest developments and contribute to this open source app by visiting our project on GitHub."
+msgstr "Podeu veure les últimes novetats i contribuir a aquesta aplicació de codi obert visitant el nostre projecte a GitHub."
+
+#: www/views/onboarding/tour.html:19
+msgid "You can spend bitcoin at millions of websites and stores worldwide."
+msgstr "Podeu pagar amb bitcoins en milions de llocs web i botigues d'arreu del món."
+
+#: www/views/backup.html:15
+msgid "You can still export it from Advanced > Export."
+msgstr "Encara es pot exportar des d'Avançades > Exporta."
+
+#: www/views/onboarding/tour.html:32
+msgid "You can trade it for other currencies like US Dollars, Euros, or Pounds."
+msgstr "Els podeu canviar per altres monedes com ara dòlars americans, euros o lliures esterlines."
+
+#: www/views/onboarding/tour.html:46
+msgid "You control your bitcoin."
+msgstr "Controleu els vostres bitcoins."
+
+#: www/views/modals/chooseFeeLevel.html:64
+msgid "You should not set a fee higher than {{maxFeeRecommended}} satoshis/byte."
+msgstr "No hauríeu d'establir una comissió superior a {{maxFeeRecommended}} satoshis/byte."
+
+#: www/views/modals/bitpay-card-confirmation.html:5
+msgid "You will need to log back for fill in your BitPay Card."
+msgstr "Haureu de tornar a iniciar la sessió per completar la BitPay Card."
+
+#: www/views/preferencesNotifications.html:34
+msgid "You'll receive email notifications about payments sent and received from your wallets."
+msgstr "Rebreu notificacions per e-mail sobre pagaments enviats i rebuts de les vostres carteres."
+
+#: www/views/bitpayCard.html:50
+msgid "Your BitPay Card is ready. Add funds to your card to start using it at stores and ATMs worldwide."
+msgstr "La BitPay Card ja està a punt. Afegiu fons a la targeta per començar a utilitzar-la en botigues i caixers automàtics de tot el món."
+
+#: www/views/mercadoLibre.html:57
+#: www/views/mercadoLibreCards.html:6
+msgid "Your Gift Cards"
+msgstr "Les vostres targetes regal"
+
+#: www/views/includes/confirmBackupPopup.html:6
+msgid "Your bitcoin wallet is backed up!"
+msgstr "La vostra cartera bitcoin ja té una còpia de seguretat!"
+
+#: www/views/tab-home.html:36
+msgid "Your bitcoin wallet is ready!"
+msgstr "La vostra cartera bitcoin ja està a punt!"
+
+#: www/views/modals/chooseFeeLevel.html:61
+msgid "Your fee is lower than recommended."
+msgstr "La vostra comissió és inferior a la recomanada."
+
+#: www/views/feedback/send.html:42
+msgid "Your ideas, feedback, or comments"
+msgstr "Les vostres idees, opinions o comentaris"
+
+#: www/views/tab-create-shared.html:22
+msgid "Your name"
+msgstr "El vostre nom"
+
+#: www/views/join.html:16
+msgid "Your nickname"
+msgstr "El vostre sobrenom"
+
+#: www/views/tab-export-file.html:11
+#: www/views/tab-import-file.html:20
+msgid "Your password"
+msgstr "La vostra contrasenya"
+
+#: www/views/buyAmazon.html:102
+msgid "Your purchase could not be completed"
+msgstr "La compra no s'ha pogut completar"
+
+#: www/views/buyAmazon.html:105
+msgid "Your purchase was added to the list of pending"
+msgstr "La compra s'ha afegit a la llista de pendents"
+
+#: www/views/onboarding/backupRequest.html:10
+msgid "Your wallet is never saved to cloud storage or standard device backups."
+msgstr "La vostra cartera no es desa mai en un emmagatzematge al núvol ni en dispositius de còpies de seguretat estàndard."
+
+#: src/js/services/walletService.js:1030
+msgid "Your wallet key will be encrypted. The Spending Password cannot be recovered. Be sure to write it down."
+msgstr "La clau de la cartera s'encriptarà. La contrasenya de despeses no es pot recuperar. Sobretot, apunteu-vos-la."
+
+#: www/views/includes/walletList.html:13
+#: www/views/includes/walletSelector.html:21
+#: www/views/paperWallet.html:33
+#: www/views/tab-receive.html:72
+#: www/views/walletDetails.html:131
+#: www/views/walletDetails.html:51
+msgid "[Balance Hidden]"
+msgstr "[Saldo ocult]"
+
+#: www/views/walletDetails.html:141
+#: www/views/walletDetails.html:61
+msgid "[Scanning Funds]"
+msgstr "[S'estan escanejant els fons]"
+
+#: src/js/controllers/bitpayCardIntro.js:11
+msgid "add your BitPay Visa card(s)"
+msgstr "afegiu les vostres targetes BitPay Visa"
+
+#: www/views/includes/available-balance.html:8
+msgid "locked by pending payments"
+msgstr "bloquejat per pagaments pendents"
+
+#: src/js/services/profileService.js:404
+msgid "me"
+msgstr "jo"
+
+#: www/views/addressbook.add.html:32
+msgid "name@example.com"
+msgstr "nom@exemple.com"
+
+#: www/views/preferencesHistory.html:15
+msgid "preparing..."
+msgstr "s'està preparant..."
+
+#: www/views/cashScan.html:57
+msgid "recovery tool."
+msgstr "l'eina de recuperació."
+
+#: src/js/controllers/buyAmazon.js:239
+msgid "{{amountStr}} for Amazon.com Gift Card"
+msgstr "{{amountStr}} per a la targeta regal Amazon.com"
+
+#: src/js/controllers/buyMercadoLibre.js:237
+msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
+msgstr "{{amountStr}} per a la targeta regal Mercado Livre Brazil"
+
+#: www/views/preferencesBwsUrl.html:21
+msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
+msgstr "{{appName}} depèn de Bitcore Wallet Service (BWS) per a la informació blockchain, la gestió de xarxes i la sincronització de Copayer. La configuració per defecte apunta a https://bws.bitpay.com (instància BWS pública de BitPay)."
+
+#: src/js/controllers/confirm.js:408
+msgid "{{fee}} will be deducted for bitcoin networking fees."
+msgstr "{{fee}} es descomptarà per la comissió de la xarxa bitcoin."
+
+#: www/views/confirm.html:85
+msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
+msgstr "{{tx.txp[wallet.id].feeRatePerStr}} de l'import de l'enviament"
+
+#: www/views/walletDetails.html:218
+msgid "{{updatingTxHistoryProgress}} transactions downloaded"
+msgstr "{{updatingTxHistoryProgress}} transaccions descarregades"
+
+#: www/views/cashScan.html:33
+#: www/views/copayers.html:46
+#: www/views/includes/walletInfo.html:18
+msgid "{{wallet.m}}-of-{{wallet.n}}"
+msgstr "{{wallet.m}}-de-{{wallet.n}}"
+
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Comunitat"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Reddit de Bitcoin Cash"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Twitter de Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Explora Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Jocs de Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Notícies"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Xarxa minera"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Eines"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Gràfiques de preus del bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash gratis"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Les vostres carteres bitcoin ja estan a punt!"
+
diff --git a/i18n/po/cs/template-cs.po b/i18n/po/cs/template-cs.po
index 95f842f86..5a3702736 100644
--- a/i18n/po/cs/template-cs.po
+++ b/i18n/po/cs/template-cs.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Czech\n"
"Language: cs\n"
-"PO-Revision-Date: 2018-05-08 00:44-0400\n"
+"PO-Revision-Date: 2018-07-27 08:43\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Účet"
msgid "Account Number"
msgstr "Číslo účtu"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Okamžité transakce s nízkou platbou"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Účty"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Koupit & prodat Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Koupit Bitcoin"
@@ -615,10 +620,14 @@ msgstr "Připojování ke Glidera..."
msgid "Connection reset by peer"
msgstr "Připojení přerušeno druhou stranou"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Kontakty"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Uložené, často používané adresy"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Pokračovat"
@@ -819,7 +828,7 @@ msgstr "Vytvořit sdílenou peněženku"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Vytvořit Bitcoin peněženku"
@@ -989,7 +998,7 @@ msgstr "Povolit push notifikace"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "Povolit zvuky"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -1342,7 +1351,7 @@ msgstr "Začněte"
#: www/views/addressbook.html:20
msgid "Get started by adding your first one."
-msgstr "Začněte přidáním své první."
+msgstr "Začněte přidáním prvního."
#: src/js/services/onGoingProcess.js:23
msgid "Getting fee levels..."
@@ -1582,7 +1591,7 @@ msgstr "Nesprávná síťová adresa"
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "Nedostatečné potvrzené prostředky"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -1709,7 +1718,7 @@ msgstr "Načítání informací o transakci..."
#: www/views/tab-settings.html:100
msgid "Lock App"
-msgstr "Uzamknout aplikaci"
+msgstr "Uzamknutí aplikace"
#: src/js/controllers/lockSetup.js:23
msgid "Lock by Fingerprint"
@@ -2049,7 +2058,7 @@ msgstr "Otevřít GitHub projekt"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "Otevřít Explorer"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2256,7 +2265,7 @@ msgstr "Stiskněte znovu pro ukončení"
#: src/js/services/feeService.js:11
msgid "Priority"
-msgstr "Priorita"
+msgstr "Prioritní"
#: www/views/includes/incomingDataMenu.html:80
msgid "Private Key"
@@ -2529,6 +2538,14 @@ msgstr "Vyhledávání transakcí"
msgid "Search or enter bitcoin address"
msgstr "Vyhledat nebo zadat Bitcoin adresu"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Schránka"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Vaše schránka je prázdná"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Vyhledávání transakcí"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Poslat e-mailem"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Odeslat z"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Odeslat"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Vložit ze schránky"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Vložit adresu"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Převod mezi peněženkami"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Skenovat QR kód"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Odesílejte Bitcoin rychleji!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Odesílejte Bitcoin rychleji!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Uložte si často používané adresy a posílejte jim Bitcoin jedním kliknutím"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Přidat váš první kontakt"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Vaše Bitcoin peněženka je prázdná"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Chcete-li začít, nakupte Bitcoin Cash (BCH) nebo Bitcoin Core (BTC), nebo sdílejte svou adresu."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Můžete přijímat Bitcoin z jakékoliv peněženky nebo služby."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Chcete-li začít, budete muset vytvořit Bitcoin peněženku a Bitcoin získat."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Koupit Bitcoin"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Zobrazit mou adresu"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Odeslat maximální částku"
@@ -3026,7 +3104,7 @@ msgstr "Chcete-li začít, nakupte Bitcoin nebo sdílejte svou adresu. Můžete
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Chcete-li začít, budete muset vytvořit Bitcoin peněženku a Bitcoin získat."
+msgstr "Chcete-li začít, budete potřebovat vytvořit Bitcoin peněženku a získat Bitcoin."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3196,7 +3274,7 @@ msgstr "Zobrazit Podmínky použití"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "Zobrazit transakci na Explorer.Bitcoin.com"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transakcí staženo"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-z-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Komunita"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Prohlédnout Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash hry"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Novinky"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Těžební pool"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Nástroje"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Grafy cen Bitcoinu"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash zdarma"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Vaše Bitcoin peněženka je připravena!"
+
diff --git a/i18n/po/de/template-de.po b/i18n/po/de/template-de.po
index 6da7f8157..18d8ca0f4 100644
--- a/i18n/po/de/template-de.po
+++ b/i18n/po/de/template-de.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: German\n"
"Language: de\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -32,7 +32,7 @@ msgstr "- {{btx.feeRateStr}}ของธุรกรรม"
#: www/views/modals/txp-details.html:102
msgid "- {{tx.feeRateStr}} of the transaction"
-msgstr ""
+msgstr "- {{tx.feeRateStr}} der Transaktion"
#: www/views/feedback/rateApp.html:7
msgid "5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!"
@@ -41,7 +41,7 @@ msgstr "Eine 5-Sterne Bewertung hilft uns, {{appName}} unter die Leute zu bringe
#: www/views/mercadoLibre.html:18
#: www/views/mercadoLibre.html:40
msgid "Only redeemable on Mercado Livre (Brazil)"
-msgstr ""
+msgstr "Nur einlösbar auf Mercado Livre (Brasilien)"
#: src/js/controllers/feedback/send.js:27
#: www/views/feedback/complete.html:21
@@ -77,6 +77,10 @@ msgstr "Benutzerkonto"
msgid "Account Number"
msgstr "Kontonummer"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Sofortige Transaktionen mit niedrigen Gebühren"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Konten"
@@ -124,7 +128,7 @@ msgstr "Ein optionales Passwort zur Sicherung der Wiederherstellungsphrase hinzu
#: www/views/includes/incomingDataMenu.html:41
msgid "Add as a contact"
-msgstr ""
+msgstr "Als Kontakt hinzufügen"
#: src/js/controllers/confirm.js:424
msgid "Add description"
@@ -132,11 +136,11 @@ msgstr "Beschreibung hinzufügen"
#: www/views/topup.html:6
msgid "Add funds"
-msgstr ""
+msgstr "Guthaben aufladen"
#: src/js/services/bitpayAccountService.js:78
msgid "Add this BitPay account ({{email}})?"
-msgstr ""
+msgstr "Dieses BitPay Konto hinzufügen ({{email}})?"
#: www/views/add.html:3
msgid "Add wallet"
@@ -204,7 +208,7 @@ msgstr "Alternative Währung"
#: src/js/controllers/buyAmazon.js:98
msgid "Amazon.com is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Amazon.com ist zurzeit nicht verfügbar. Bitte versuchen Sie es später nochmal."
#: www/views/amount.html:44
#: www/views/customAmount.html:34
@@ -222,7 +226,7 @@ msgstr "Betrag zu hoch"
#: www/views/includes/walletHistory.html:31
msgid "Amount too low to spend"
-msgstr ""
+msgstr "Betrag ist zu niedrig zum Ausgeben"
#: src/js/controllers/tab-home.js:147
msgid "An update to this app is available. For your security, please update to the latest version."
@@ -359,12 +363,12 @@ msgstr "Bitcoin-Adresse"
#: www/views/cashScan.html:4
msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
+msgstr "Bitcoin Cash (BCH) Guthaben"
#: www/views/preferencesCash.html:3
#: www/views/tab-settings.html:47
msgid "Bitcoin Cash Support"
-msgstr ""
+msgstr "Bitcoin Cash Support"
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
@@ -380,11 +384,11 @@ msgstr "Bitcoin-Netzwerk Gebührenübersicht"
#: www/views/tab-home.html:83
#: www/views/tab-settings.html:107
msgid "Bitcoin Core Wallets"
-msgstr ""
+msgstr "Bitcoin Core Wallets"
#: src/js/services/incomingData.js:151
msgid "Bitcoin cash Payment"
-msgstr ""
+msgstr "Bitcoin Cash Zahlung"
#: www/views/onboarding/tour.html:31
msgid "Bitcoin is a currency."
@@ -404,7 +408,7 @@ msgstr "Bitcoin Transaktionen enthalten eine Gebühr für die \"Miners\" im Netz
#: www/views/buyAmazon.html:108
msgid "Bought {{amountUnitStr}}"
-msgstr ""
+msgstr "{{amountUnitStr}} erworben"
#: www/views/modals/txp-details.html:36
msgid "Broadcast Payment"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Kaufe & Verkaufe Bitcoins"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Kaufe Bitcoins"
@@ -474,7 +479,7 @@ msgstr "Abbruch"
#: www/views/copayers.html:36
msgid "Cancel invitation"
-msgstr ""
+msgstr "Einladung zurückziehen"
#: src/js/controllers/onboarding/tour.js:52
msgid "Cannot Create Wallet"
@@ -519,7 +524,7 @@ msgstr "Cache leeren"
#: src/js/controllers/confirm.js:373
#: src/js/controllers/modals/txpDetails.js:49
msgid "Click to accept"
-msgstr ""
+msgstr "Klicken Sie zum Akzeptieren"
#: src/js/controllers/confirm.js:367
msgid "Click to pay"
@@ -543,7 +548,7 @@ msgstr "Schließen"
#: www/views/includes/cash.html:2
#: www/views/preferencesInformation.html:17
msgid "Coin"
-msgstr ""
+msgstr "Münze"
#: www/views/preferences.html:22
msgid "Color"
@@ -559,7 +564,7 @@ msgstr "Beenden Sie den Backupvorgang um diese Option zu nutzen"
#: www/views/bitpayCard.html:93
msgid "Completed"
-msgstr ""
+msgstr "Abgeschlossen"
#: src/js/controllers/buyAmazon.js:311
#: src/js/controllers/buyMercadoLibre.js:305
@@ -580,7 +585,7 @@ msgstr "Bestätigen & Beenden"
#: www/views/buyAmazon.html:90
msgid "Confirm purchase"
-msgstr ""
+msgstr "Kauf bestätigen"
#: www/views/modals/pin.html:10
msgid "Confirm your PIN"
@@ -615,10 +620,14 @@ msgstr "Verbinde mit Glidera..."
msgid "Connection reset by peer"
msgstr "Verbindung von Peer zurückgesetzt"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Kontakte"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Gespeicherte häufig verwendete Adressen"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Weiter"
@@ -629,7 +638,7 @@ msgstr "Übersetzungen beitragen"
#: src/js/controllers/confirm.js:130
msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
-msgstr ""
+msgstr "Copay unterstützt nur Bitcoin Cash bei Adressen welche das neue Adressformat benutzen"
#: src/js/services/bwcError.js:62
msgid "Copayer already in this wallet"
@@ -671,7 +680,7 @@ msgstr "In die Zwischenablage kopieren"
#: src/js/controllers/buyMercadoLibre.js:102
msgid "Could not access Gift Card Service"
-msgstr ""
+msgstr "Der Geschenkkartendienst konnte nicht erreicht werden"
#: www/views/tab-import-phrase.html:2
msgid "Could not access the wallet at the server. Please check:"
@@ -679,7 +688,7 @@ msgstr "Kein Zugriff auf Wallet des Servers. Überprüfen Sie bitte:"
#: src/js/controllers/buyAmazon.js:102
msgid "Could not access to Amazon.com"
-msgstr ""
+msgstr "Auf Amazon.com konnte nicht zugegriffen werden"
#: src/js/services/profileService.js:511
msgid "Could not access wallet"
@@ -703,13 +712,13 @@ msgstr "Adresse konnte nicht erstellt werden"
#: src/js/controllers/topup.js:92
msgid "Could not create the invoice"
-msgstr ""
+msgstr "Die Rechnung konnte nicht erstellt werden"
#: src/js/controllers/buyAmazon.js:164
#: src/js/controllers/buyMercadoLibre.js:164
#: src/js/controllers/topup.js:142
msgid "Could not create transaction"
-msgstr ""
+msgstr "Transaktion konnte nicht erstellt werden"
#: src/js/services/profileService.js:350
msgid "Could not create using the specified extended private key"
@@ -733,7 +742,7 @@ msgstr "Zahlungsvorschlag konnte nicht gelöscht werden"
#: src/js/controllers/cashScan.js:117
msgid "Could not duplicate"
-msgstr ""
+msgstr "Konnte nicht duplizieren"
#: src/js/services/feeService.js:73
msgid "Could not get dynamic fee"
@@ -745,13 +754,13 @@ msgstr "Dynamische Gebühr für den Level konnte nicht abgerufen werden: {{feeLe
#: src/js/controllers/modals/feeLevels.js:112
msgid "Could not get fee levels"
-msgstr ""
+msgstr "Gebühren konnten nicht abgerufen werden"
#: src/js/controllers/buyAmazon.js:122
#: src/js/controllers/buyMercadoLibre.js:122
#: src/js/controllers/topup.js:100
msgid "Could not get the invoice"
-msgstr ""
+msgstr "Konnte die Rechnung nicht erhalten"
#: src/js/controllers/bitpayCard.js:66
msgid "Could not get transactions"
@@ -796,7 +805,7 @@ msgstr "Zahlung kann nicht gesendet werden"
#: src/js/controllers/buyMercadoLibre.js:318
#: src/js/controllers/topup.js:299
msgid "Could not send transaction"
-msgstr ""
+msgstr "Transaktion konnte nicht gesendet werden"
#: www/views/walletDetails.html:210
msgid "Could not update transaction history"
@@ -819,7 +828,7 @@ msgstr "Erstelle eine gemeinsame Wallet"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Erstelle Bitcoin-Wallet"
@@ -855,7 +864,7 @@ msgstr "Aktuelle Gebühr für dieses Verfahren"
#: src/js/services/feeService.js:15
msgid "Custom"
-msgstr ""
+msgstr "Eigene"
#: www/views/customAmount.html:9
msgid "Custom Amount"
@@ -863,7 +872,7 @@ msgstr "Benutzerdefinierter Betrag"
#: src/js/controllers/preferencesFee.js:85
msgid "Custom Fee"
-msgstr ""
+msgstr "Eigene Gebühr"
#: www/views/modals/mercadolibre-card-details.html:56
#: www/views/modals/txp-details.html:87
@@ -940,11 +949,11 @@ msgstr "Herunterladen"
#: www/views/cashScan.html:37
msgid "Duplicate for BCH"
-msgstr "Duplikat für BCH"
+msgstr "Für BCH duplizieren"
#: src/js/services/onGoingProcess.js:49
msgid "Duplicating wallet..."
-msgstr ""
+msgstr "Wallet wird dupliziert..."
#: www/views/addresses.html:19
msgid "Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment."
@@ -956,7 +965,7 @@ msgstr "Wirtschaftlich"
#: www/views/onboarding/collectEmail.html:27
msgid "Edit"
-msgstr ""
+msgstr "Bearbeiten"
#: www/views/addressbook.add.html:29
#: www/views/addressbook.view.html:22
@@ -973,7 +982,7 @@ msgstr "Obergrenze für leere Adressen erreicht. Neue Adressen können nicht gen
#: www/views/preferencesCash.html:17
msgid "Enable Bitcoin Cash wallet creation and operation within the App."
-msgstr ""
+msgstr "Bitcoin Cash-Wallet-Erstellung und Betrieb innerhalb der App aktivieren."
#: www/views/tab-scan.html:19
msgid "Enable camera access in your device settings to get started."
@@ -989,7 +998,7 @@ msgstr "Pushbenachrichtigungen aktivieren"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "Sound einschalten"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -1010,11 +1019,11 @@ msgstr "Eingabe des Zwei-Faktor-Authentifizierungs-Codes für das BitPay Konto"
#: www/views/amount.html:4
msgid "Enter amount"
-msgstr ""
+msgstr "Betrag eingeben"
#: www/views/modals/chooseFeeLevel.html:41
msgid "Enter custom fee"
-msgstr ""
+msgstr "Eigene Gebühr eingeben"
#: src/js/services/walletService.js:1029
msgid "Enter new spending password"
@@ -1028,7 +1037,7 @@ msgstr "Wiederherstellungsphrase eingeben (BIP39)"
#: www/views/onboarding/collectEmail.html:13
msgid "Enter your email"
-msgstr ""
+msgstr "Ihre E-Mail Adresse eingeben"
#: www/views/backup.html:69
msgid "Enter your password"
@@ -1119,12 +1128,12 @@ msgstr "Fehler beim bestätigen"
#: src/js/controllers/buyAmazon.js:179
msgid "Error creating gift card"
-msgstr ""
+msgstr "Fehler beim Erstellen der Geschenkkarte"
#: src/js/controllers/buyAmazon.js:94
#: src/js/controllers/buyMercadoLibre.js:94
msgid "Error creating the invoice"
-msgstr ""
+msgstr "Fehler beim Erstellen der Rechnung"
#: src/js/services/profileService.js:412
msgid "Error creating wallet"
@@ -1132,17 +1141,17 @@ msgstr "Fehler beim Erstellen des Wallets"
#: src/js/controllers/confirm.js:296
msgid "Error getting SendMax information"
-msgstr ""
+msgstr "Fehler beim Abrufen der SendMax Informationen"
#: src/js/controllers/buyAmazon.js:136
#: src/js/controllers/buyMercadoLibre.js:136
#: src/js/controllers/topup.js:114
msgid "Error in Payment Protocol"
-msgstr ""
+msgstr "Fehler im Zahlungsprotokoll"
#: src/js/controllers/bitpayCardIntro.js:14
msgid "Error pairing BitPay Account"
-msgstr ""
+msgstr "Fehler beim Paaren mit BitPay Konto"
#: src/js/controllers/paperWallet.js:41
msgid "Error scanning funds:"
@@ -1197,7 +1206,7 @@ msgstr "Erweiterte öffentliche Schlüssel"
#: src/js/services/onGoingProcess.js:20
msgid "Extracting Wallet information..."
-msgstr ""
+msgstr "Wallet-Informationen extrahieren..."
#: src/js/controllers/export.js:115
#: src/js/controllers/export.js:126
@@ -1218,16 +1227,16 @@ msgstr "Gebühr"
#: www/views/modals/chooseFeeLevel.html:75
msgid "Fee level"
-msgstr ""
+msgstr "Gebührenstufe"
#: src/js/controllers/modals/feeLevels.js:100
msgid "Fee level is not defined"
-msgstr ""
+msgstr "Gebührenstufe ist nicht definiert"
#: www/views/confirm.html:79
#: www/views/modals/txp-details.html:99
msgid "Fee:"
-msgstr ""
+msgstr "Gebühr:"
#: src/js/controllers/feedback/send.js:23
msgid "Feedback could not be submitted. Please try again later."
@@ -1239,7 +1248,7 @@ msgstr "BitPay Konto abrufen..."
#: src/js/services/onGoingProcess.js:21
msgid "Fetching payment information"
-msgstr ""
+msgstr "Zahlungsinformationen abrufen"
#: www/views/export.html:14
#: www/views/import.html:16
@@ -1248,7 +1257,7 @@ msgstr "Datei/Text"
#: www/views/preferencesLogs.html:17
msgid "Filter setting"
-msgstr ""
+msgstr "Filtereinstellungen"
#: src/js/services/fingerprintService.js:43
#: src/js/services/fingerprintService.js:48
@@ -1281,7 +1290,7 @@ msgstr "Von BitPay Konto"
#: www/views/tab-import-phrase.html:57
msgid "From Hardware Wallet"
-msgstr ""
+msgstr "Aus der Hardware-Wallet"
#: www/views/tab-export-qrCode.html:5
msgid "From the destination device, go to Add wallet > Import wallet and scan this QR code"
@@ -1297,7 +1306,7 @@ msgstr "Betrag gefunden:"
#: www/views/topup.html:49
msgid "Funds to be added"
-msgstr ""
+msgstr "Hinzuzufügende Mittel"
#: www/views/paperWallet.html:51
msgid "Funds transferred"
@@ -1305,7 +1314,7 @@ msgstr "Betrag übermittelt"
#: www/views/topup.html:103
msgid "Funds were added to debit card"
-msgstr ""
+msgstr "Mittel wurden auf die Debitkarte hinzugefügt"
#: www/views/paperWallet.html:22
msgid "Funds will be transferred to"
@@ -1313,7 +1322,7 @@ msgstr "Beträge werden überwiesen an"
#: www/views/tab-receive.html:51
msgid "Generate new address"
-msgstr ""
+msgstr "Neue Adresse generieren"
#: src/js/services/onGoingProcess.js:22
msgid "Generating .csv file..."
@@ -1334,7 +1343,7 @@ msgstr "Erhalten Sie Neuigkeiten und Aktualisierungen von BitPay"
#: www/views/onboarding/welcome.html:8
msgctxt "button"
msgid "Get started"
-msgstr ""
+msgstr "Loslegen"
#: www/views/bitpayCard.html:49
msgid "Get started"
@@ -1351,20 +1360,20 @@ msgstr "Entgelt-Level werden abgerufen..."
#: www/views/buyAmazon.html:43
#: www/views/buyMercadoLibre.html:42
msgid "Gift Card"
-msgstr "Geschenk-Karte"
+msgstr "Geschenkkarte"
#: www/views/modals/mercadolibre-card-details.html:30
#: www/views/modals/mercadolibre-card-details.html:35
msgid "Gift Card is not available to use anymore"
-msgstr ""
+msgstr "Geschenkkarte kann nicht mehr verwendet werden"
#: src/js/controllers/buyAmazon.js:204
msgid "Gift card expired"
-msgstr ""
+msgstr "Geschenkkarte ist abgelaufen"
#: www/views/buyAmazon.html:111
msgid "Gift card generated and ready to use."
-msgstr ""
+msgstr "Geschenkkarte generiert und einsatzbereit."
#: src/js/controllers/bitpayCard.js:114
#: src/js/controllers/bitpayCard.js:124
@@ -1410,7 +1419,7 @@ msgstr "Hardware-Wallet"
#: src/js/controllers/create.js:180
#: src/js/controllers/join.js:145
msgid "Hardware wallets are not yet supported with Bitcoin Cash"
-msgstr ""
+msgstr "Bitcoin Cash unterstützt keine Hardware-Wallets"
#: www/views/tab-settings.html:20
msgid "Help & Support"
@@ -1527,7 +1536,7 @@ msgstr "Wenn Sie einen Screenshot erstellen, kann die Sicherung von anderen Apps
#: www/views/tab-import-hardware.html:42
#: www/views/tab-import-phrase.html:80
msgid "Import"
-msgstr ""
+msgstr "Import"
#: www/views/import.html:3
msgid "Import Wallet"
@@ -1576,13 +1585,13 @@ msgstr "QR code hat falsches Format"
#: src/js/services/bwcError.js:113
msgid "Incorrect network address"
-msgstr ""
+msgstr "Falsche Netzwerkadresse"
#: src/js/controllers/confirm.js:114
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "Unzureichende bestätigte Mittel"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -1602,7 +1611,7 @@ msgstr "Ungültig"
#: src/js/controllers/buyMercadoLibre.js:137
#: src/js/controllers/topup.js:115
msgid "Invalid URL"
-msgstr ""
+msgstr "Ungültige URL"
#: src/js/controllers/create.js:186
#: src/js/controllers/import.js:345
@@ -1631,7 +1640,7 @@ msgstr "Einladung um eine {{appName}} Wallet zu teilen"
#: www/views/mercadoLibreCards.html:20
#: www/views/modals/mercadolibre-card-details.html:48
msgid "Invoice expired"
-msgstr ""
+msgstr "Rechnung abgelaufen"
#: src/js/controllers/feedback/send.js:79
msgid "Is there anything we could do better?"
@@ -1692,7 +1701,7 @@ msgstr "Letzter Monat"
#: www/views/preferencesCash.html:18
#: www/views/tx-details.html:94
msgid "Learn more"
-msgstr ""
+msgstr "Weitere Informationen"
#: www/views/backup.html:43
msgid "Let's verify your backup phrase."
@@ -1733,15 +1742,15 @@ msgstr "Zeitsperre aktiv. Bitte auf die Entfernung des Zahlungsvorschlags warten
#: www/views/includes/logOptions.html:3
msgid "Log options"
-msgstr ""
+msgstr "Log-Optionen"
#: www/views/modals/bitpay-card-confirmation.html:14
msgid "Log out"
-msgstr ""
+msgstr "Abmelden"
#: www/views/addresses.html:87
msgid "Low amount inputs"
-msgstr ""
+msgstr "Zu wenige Inputs"
#: www/views/includes/walletHistory.html:27
msgid "Low fees"
@@ -1773,11 +1782,11 @@ msgstr "Notiz"
#: www/views/mercadoLibre.html:6
msgid "Mercado Livre Brazil Gift Cards"
-msgstr ""
+msgstr "Mercado Livre Brazil Geschenkkarten"
#: src/js/controllers/buyMercadoLibre.js:98
msgid "Mercadolibre Gift Card Service is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Der MercadoLibre Geschenkkarten-Dienst ist aktuell nicht erreichbar. Bitte versuchen Sie es später noch einmal."
#: www/views/modals/txp-details.html:131
msgid "Merchant Message"
@@ -1787,7 +1796,7 @@ msgstr "Händlernachricht"
#: www/views/buyMercadoLibre.html:54
#: www/views/topup.html:63
msgid "Miner Fee"
-msgstr ""
+msgstr "Miner-Gebühr"
#: src/js/services/bwcError.js:134
msgid "Missing parameter"
@@ -1824,13 +1833,13 @@ msgstr "Hinweis: Um eine Brieftasche aus einer 3rd-Party-Software zu importieren
#: www/views/preferences.html:15
#: www/views/preferencesAlias.html:17
msgid "Name"
-msgstr ""
+msgstr "Name"
#: www/views/buyAmazon.html:49
#: www/views/buyMercadoLibre.html:48
#: www/views/topup.html:56
msgid "Network Cost"
-msgstr ""
+msgstr "Netzwerkkosten"
#: src/js/services/bwcError.js:47
msgid "Network error"
@@ -1859,7 +1868,7 @@ msgstr "Keine Wallet"
#: src/js/controllers/buyAmazon.js:115
#: src/js/controllers/buyMercadoLibre.js:115
msgid "No access key defined"
-msgstr ""
+msgstr "Kein Zugangsschlüssel definiert"
#: www/views/onboarding/backupRequest.html:5
msgid "No backup, no bitcoin."
@@ -1871,7 +1880,7 @@ msgstr "Noch keine Kontakte"
#: www/views/preferencesLogs.html:16
msgid "No entries for this log level"
-msgstr ""
+msgstr "Keine Einträge für dieses Log-level"
#: www/views/preferencesExternal.html:12
msgid "No hardware information available."
@@ -1892,7 +1901,7 @@ msgstr "Keine aktuellen Transaktionen"
#: src/js/controllers/buyAmazon.js:44
#: src/js/controllers/topup.js:47
msgid "No signing proposal: No private key"
-msgstr ""
+msgstr "Kein Unterzeichnungsvorschlag: Privater Schlüssel nicht vorhanden"
#: www/views/walletDetails.html:204
msgid "No transactions yet"
@@ -1911,7 +1920,7 @@ msgstr "Kein Wallet ausgewählt"
#: src/js/controllers/confirm.js:85
#: src/js/controllers/topup.js:265
msgid "No wallets available"
-msgstr ""
+msgstr "Keine Wallets verfügbar"
#: www/views/paperWallet.html:45
msgid "No wallets available to receive funds"
@@ -1919,19 +1928,19 @@ msgstr "Keine Wallet verfügbar um Guthaben zu erhalten"
#: www/views/cashScan.html:15
msgid "No wallets eligible for Bitcoin Cash support"
-msgstr ""
+msgstr "Keine Wallet zur Unterstützung von Bitcoin Cash geeignet"
#: src/js/controllers/cashScan.js:58
msgid "Non BIP44 wallet"
-msgstr ""
+msgstr "Wallet ist keine BIP44-Wallet"
#: www/views/cashScan.html:46
msgid "Non eligible BTC wallets"
-msgstr ""
+msgstr "Keine geeigneten BTC Wallets"
#: src/js/services/feeService.js:12
msgid "Normal"
-msgstr ""
+msgstr "Normal"
#: src/js/services/bwcError.js:80
msgid "Not authorized"
@@ -1960,7 +1969,7 @@ msgstr "Notiz"
#: www/views/backup.html:19
msgid "Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase."
-msgstr ""
+msgstr "Hinweis: Wenn diese BCH-Wallet aus einer BTC-Wallet dupliziert wurde, verwenden sie die selbe Wiederherstellungsphrase."
#: www/views/modals/wallets.html:25
msgid "Notice: only 1-1 (single signature) wallets can be used for sell bitcoin"
@@ -1973,15 +1982,15 @@ msgstr "Benachrichtigungen"
#: www/views/onboarding/collectEmail.html:9
msgid "Notifications by email"
-msgstr ""
+msgstr "Benachrichtigungen per e-Mail"
#: www/views/tx-details.html:117
msgid "Notify me if confirmed"
-msgstr ""
+msgstr "Benachrichtige mich sobald sie bestätigt ist"
#: www/views/preferencesNotifications.html:24
msgid "Notify me when transactions are confirmed"
-msgstr ""
+msgstr "Benachrichtigen Sie mich, wenn Transaktionen bestätigt werden"
#: www/views/includes/backupNeededPopup.html:8
msgid "Now is a good time to backup your wallet. If this device is lost, it is impossible to access your funds without a backup."
@@ -2000,7 +2009,7 @@ msgstr "Jetzt ist die perfekte Zeit um Ihre Umgebung zu überprüfen. In der Nä
#: src/js/services/popupService.js:72
#: www/views/modals/chooseFeeLevel.html:6
msgid "OK"
-msgstr ""
+msgstr "Okay"
#: www/views/modals/tx-status.html:12
#: www/views/modals/tx-status.html:24
@@ -2019,7 +2028,7 @@ msgstr "Oh nein!"
#: src/js/controllers/buyMercadoLibre.js:306
msgid "Ok"
-msgstr ""
+msgstr "Okay"
#: www/views/tab-home.html:39
msgid "On this screen you can see all your wallets, accounts, and assets."
@@ -2049,7 +2058,7 @@ msgstr "Öffne GitHub Projekt"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "Explorer öffnen"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2065,11 +2074,11 @@ msgstr "Öffne Website"
#: src/js/controllers/preferencesCash.js:32
msgid "Open bitcoincash.org?"
-msgstr ""
+msgstr "bitcoincash.org öffnen?"
#: src/js/controllers/cashScan.js:18
msgid "Open the recovery tool."
-msgstr ""
+msgstr "Öffnen Sie das Recovery-Tool."
#: www/views/tab-receive.html:27
msgid "Open wallet"
@@ -2077,7 +2086,7 @@ msgstr "Öffne Wallet"
#: www/views/includes/incomingDataMenu.html:19
msgid "Open website"
-msgstr ""
+msgstr "Öffne Website"
#: www/views/bitpayCardIntro.html:34
msgid "Order the BitPay Card"
@@ -2169,7 +2178,7 @@ msgstr "Zahlung akzeptiert. Sie wird durch Glidera übermittelt. Falls ein Probl
#: src/js/services/incomingData.js:152
msgid "Payment address was translated to new Bitcoin Cash address format:"
-msgstr ""
+msgstr "Die Zahlungsadresse wurde auf das neue Bitcoin Cash-Adressformat übersetzt:"
#: www/views/modals/txp-details.html:107
msgid "Payment details"
@@ -2182,7 +2191,7 @@ msgstr "Zahlungsanforderung"
#: www/views/mercadoLibreCards.html:22
#: www/views/modals/mercadolibre-card-details.html:39
msgid "Pending"
-msgstr ""
+msgstr "Ausstehend"
#: www/views/proposals.html:4
msgid "Pending Proposals"
@@ -2228,7 +2237,7 @@ msgstr "Bitte Copay aktualisieren, um diese Aktion auszuführen"
#: www/views/walletDetails.html:142
#: www/views/walletDetails.html:62
msgid "Please wait"
-msgstr ""
+msgstr "Bitte warten"
#: src/js/controllers/import.js:238
msgid "Please, select your backup file"
@@ -2236,7 +2245,7 @@ msgstr "Bitte die Sicherungsdatei wählen"
#: www/views/bitpayCard.html:81
msgid "Pre-Auth Holds"
-msgstr ""
+msgstr "Pre-Auth Holds"
#: www/views/tab-settings.html:40
msgid "Preferences"
@@ -2260,7 +2269,7 @@ msgstr "höchste Priorität"
#: www/views/includes/incomingDataMenu.html:80
msgid "Private Key"
-msgstr ""
+msgstr "Privater Schlüssel"
#: src/js/controllers/paperWallet.js:136
msgid "Private key encrypted. Enter password"
@@ -2294,11 +2303,11 @@ msgstr "Vorschläge"
#: src/js/controllers/buyAmazon.js:282
msgid "Purchase Amount is limited to {{limitPerDay}} {{currency}} per day"
-msgstr ""
+msgstr "Kaufbetrag beschränkt ist auf {{limitPerDay}} {{currency}} pro Tag beschränkt"
#: src/js/controllers/buyMercadoLibre.js:281
msgid "Purchase amount must be a value between 50 and 2000"
-msgstr ""
+msgstr "Kaufbetrag muss ein Wert zwischen 50 und 2000 sein"
#: www/views/onboarding/notifications.html:3
msgid "Push Notifications"
@@ -2336,11 +2345,11 @@ msgstr "Mehr anzeigen"
#: src/js/controllers/preferences.js:65
#: src/js/controllers/tx-details.js:54
msgid "Read more in our Wiki"
-msgstr ""
+msgstr "Lesen Sie mehr in unserem Wiki"
#: src/js/controllers/cashScan.js:61
msgid "Read only wallet"
-msgstr ""
+msgstr "Schreibgeschützte Wallet"
#: www/views/tab-receive.html:3
#: www/views/tabs.html:7
@@ -2349,7 +2358,7 @@ msgstr "Empfangen"
#: www/views/customAmount.html:44
msgid "Receive in"
-msgstr ""
+msgstr "Erhalten in"
#: www/views/includes/walletHistory.html:24
#: www/views/tx-details.html:18
@@ -2398,7 +2407,7 @@ msgstr "Wallet wiederherstellen..."
#: www/views/modals/mercadolibre-card-details.html:22
msgid "Redeem now"
-msgstr ""
+msgstr "Jetzt einlösen"
#: src/js/controllers/modals/txpDetails.js:63
#: src/js/controllers/tx-details.js:80
@@ -2416,7 +2425,7 @@ msgstr "Release-Informationen"
#: www/views/addressbook.view.html:36
#: www/views/modals/mercadolibre-card-details.html:69
msgid "Remove"
-msgstr ""
+msgstr "Entfernen"
#: src/js/controllers/preferencesBitpayServices.js:7
msgid "Remove BitPay Account?"
@@ -2499,7 +2508,7 @@ msgstr "Adresse auf neue Beträge überprüfen"
#: www/views/modals/fingerprintCheck.html:11
msgid "Scan again"
-msgstr ""
+msgstr "Erneut scannen"
#: src/js/services/fingerprintService.js:56
msgid "Scan your fingerprint please"
@@ -2507,7 +2516,7 @@ msgstr "Scannen Sie bitte Ihren Fingerabdruck"
#: www/views/preferencesCash.html:23
msgid "Scan your wallets for Bitcoin Cash"
-msgstr ""
+msgstr "Durchsuche deine Wallet nach Bitcoin Cash"
#: src/js/services/onGoingProcess.js:30
msgid "Scanning Wallet funds..."
@@ -2515,7 +2524,7 @@ msgstr "Prüfe Wallet auf neue Beträge..."
#: www/views/includes/walletList.html:11
msgid "Scanning funds..."
-msgstr ""
+msgstr "Mittel werden durchsucht..."
#: www/views/includes/screenshotWarningModal.html:7
msgid "Screenshots are not secure"
@@ -2529,6 +2538,14 @@ msgstr "Transaktionen durchsuchen"
msgid "Search or enter bitcoin address"
msgstr "Bitcoin-Adresse suchen oder eingeben"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Zwischenablage"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Ihre Zwischenablage ist leer"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Transaktionen durchsuchen"
@@ -2543,7 +2560,7 @@ msgstr "Sicherheit"
#: www/views/modals/mercadolibre-card-details.html:64
msgid "See invoice"
-msgstr ""
+msgstr "Rechnung einsehen"
#: www/views/tab-import-file.html:7
msgid "Select a backup file"
@@ -2587,16 +2604,77 @@ msgid "Send by email"
msgstr "Per E-Mail versenden"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Senden von"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Senden an"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Aus Zwischenablage einfügen"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Adresse einfügen"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Wallet-zu-Wallet-Überweisung"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "QR-Code scannen"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Versenden Sie Bitcoin schneller!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Versenden Sie Bitcoin schneller!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Speichern Sie häufig verwendete Adressen und senden Sie ihnen Bitcoin mit nur einem Tippen"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Ihren ersten Kontakt hinzufügen"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Ihre Bitcoin-Wallet ist leer"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Um loszulegen, können sie entweder Bitcoin Cash (BCH) oder Bitcoin Core (BTC) kaufen, oder uns ihre Adresse mitteilen."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Sie können Bitcoin von jeder Wallet oder jedem Dienst erhalten."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Um loszulegen müssen Sie eine Bitcoin-Wallet erstellen und einige Bitcoins erhalten."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Bitcoin jetzt kaufen"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Meine Adresse anzeigen"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Sende max. Betrag"
#: www/views/includes/incomingDataMenu.html:46
msgid "Send payment to this address"
-msgstr ""
+msgstr "Zahlung an diese Adresse senden"
#: www/views/feedback/rateApp.html:17
msgid "Send us feedback instead"
@@ -2647,11 +2725,11 @@ msgstr "Antwort des Servers konnte nicht verifiziert werden"
#: src/js/controllers/buyAmazon.js:97
#: src/js/controllers/buyMercadoLibre.js:97
msgid "Service not available"
-msgstr ""
+msgstr "Dienst ist nicht verfügbar"
#: www/views/includes/homeIntegrations.html:3
msgid "Services"
-msgstr ""
+msgstr "Dienste"
#: www/views/preferencesLogs.html:3
msgid "Session Log"
@@ -2667,7 +2745,7 @@ msgstr "Passwort einrichten"
#: src/js/controllers/preferencesFee.js:85
msgid "Set your own fee in satoshis/byte"
-msgstr ""
+msgstr "Legen Sie Ihre eigene Gebühr in Satoshis/byte fest"
#: www/views/tab-settings.html:3
#: www/views/tabs.html:19
@@ -2743,24 +2821,24 @@ msgstr "Überspringen"
#: src/js/controllers/confirm.js:371
#: src/js/controllers/modals/txpDetails.js:47
msgid "Slide to accept"
-msgstr ""
+msgstr "Zum Akzeptieren schieben"
#: www/views/buyAmazon.html:96
msgid "Slide to buy"
-msgstr ""
+msgstr "Zum Kaufen schieben"
#: src/js/controllers/confirm.js:365
msgid "Slide to pay"
-msgstr ""
+msgstr "Zum Bezahlen schieben"
#: src/js/controllers/confirm.js:377
#: src/js/controllers/modals/txpDetails.js:40
msgid "Slide to send"
-msgstr ""
+msgstr "Zum Senden schieben"
#: www/views/cashScan.html:56
msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
-msgstr ""
+msgstr "Einige ihrer Wallets sind nicht zur Unterstützung von Bitcoin Cash geeignet. Sie können versuchen, auf BCH Mittel von diesen Wallets aus zuzugreifen indem Sie die"
#: src/js/controllers/create.js:88
#: src/js/controllers/join.js:71
@@ -2781,7 +2859,7 @@ msgstr "Berechtigungscode erforderlich"
#: www/views/walletDetails.html:173
msgid "Spending this balance will need significant Bitcoin network fees"
-msgstr ""
+msgstr "Die Ausgabe dieses Betrages wird signifikante Bitcoin-Netzwerkgebühren erfordern"
#: www/views/tab-send.html:28
msgid "Start sending bitcoin"
@@ -2794,11 +2872,11 @@ msgstr "Sperre des Startups"
#: www/views/mercadoLibreCards.html:21
#: www/views/modals/mercadolibre-card-details.html:42
msgid "Still pending"
-msgstr ""
+msgstr "Noch ausstehend"
#: www/views/topup.html:101
msgid "Success"
-msgstr ""
+msgstr "Erfolg"
#: src/js/services/feeService.js:14
msgid "Super Economy"
@@ -2806,7 +2884,7 @@ msgstr "Niedrigste Priorität"
#: www/views/preferencesCash.html:11
msgid "Support Bitcoin Cash"
-msgstr ""
+msgstr "Bitcoin Cash unterstützen"
#: www/views/paperWallet.html:7
msgid "Sweep"
@@ -2836,7 +2914,7 @@ msgstr "Anzeigen durch tippen und halten"
#: www/views/includes/walletInfo.html:3
msgid "Tap to recreate"
-msgstr ""
+msgstr "Zum neu erstellen tippen"
#: www/views/includes/walletInfo.html:4
msgid "Tap to retry"
@@ -2856,11 +2934,11 @@ msgstr "Nutzungsbedingungen"
#: www/views/tab-create-personal.html:118
#: www/views/tab-import-phrase.html:68
msgid "Testnet"
-msgstr ""
+msgstr "Testnet"
#: www/views/includes/incomingDataMenu.html:61
msgid "Text"
-msgstr ""
+msgstr "Text"
#: src/js/controllers/feedback/send.js:27
#: src/js/controllers/feedback/send.js:76
@@ -2995,7 +3073,7 @@ msgstr "Diese Wiederherstellungsphrase entstand mit einem Passwort. Zur Wiederhe
#: www/views/tx-details.html:91
msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
-msgstr ""
+msgstr "Dieser Betrag ist zu klein im Vergleich zu den aktuellen Bitcoin-Netzwerk-Gebühren. Diese Mittel benötigen eine Bitcoin Netzwerk Gebühr mit vergleichbarer Größe zu den Mitteln."
#: www/views/tx-details.html:87
msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
@@ -3030,15 +3108,15 @@ msgstr "Um loszulegen müssen Sie eine Bitcoin-Wallet erstellen und einige Bitco
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
-msgstr ""
+msgstr "Zum {{reason}} müssen Sie erst Ihr BitPay-Konto hinzufügen - {{email}}"
#: src/js/services/onGoingProcess.js:48
msgid "Top up in progress..."
-msgstr ""
+msgstr "Aufladung in Bearbeitung..."
#: src/js/controllers/topup.js:206
msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
-msgstr ""
+msgstr "Laden sie {{amountStr}} auf die Debitkarte ({{cardLastNumber}}) auf"
#: www/views/buyAmazon.html:61
#: www/views/buyMercadoLibre.html:60
@@ -3057,7 +3135,7 @@ msgstr "Gesamtanzahl der Copayer"
#: www/views/addresses.html:81
msgid "Total wallet inputs"
-msgstr ""
+msgstr "Alle Wallet-Inputs"
#: src/js/services/fingerprintService.js:63
#: src/js/services/fingerprintService.js:68
@@ -3070,7 +3148,7 @@ msgstr "Transaktion"
#: www/views/confirm.html:126
msgid "Transaction Created"
-msgstr ""
+msgstr "Transaktion erstellt"
#: www/views/preferencesAdvanced.html:29
#: www/views/preferencesHistory.html:3
@@ -3085,11 +3163,11 @@ msgstr "Transaktion wurde bereits übermittelt"
#: src/js/controllers/buyMercadoLibre.js:301
#: src/js/controllers/topup.js:281
msgid "Transaction has not been created"
-msgstr ""
+msgstr "Transaktion wurde nicht erstellt"
#: www/views/topup.html:104
msgid "Transaction initiated"
-msgstr ""
+msgstr "Transaktion eingeleitet"
#: src/js/controllers/tx-details.js:119
msgid "Transaction not available at this time"
@@ -3102,11 +3180,11 @@ msgstr "Transaktion konnte nicht gefunden werden"
#: www/views/modals/chooseFeeLevel.html:55
msgid "Transactions without fee are not supported."
-msgstr ""
+msgstr "Transaktionen ohne Gebühren werden nicht unterstützt."
#: src/js/controllers/paperWallet.js:109
msgid "Transfer to"
-msgstr ""
+msgstr "Transfer zu"
#: www/views/tab-send.html:67
msgid "Transfer to Wallet"
@@ -3126,7 +3204,7 @@ msgstr "Wiederherstellungsphrase eingeben (in der Regel 12 Wörter)"
#: src/js/controllers/backup.js:75
msgid "Uh oh..."
-msgstr ""
+msgstr "Oh oh..."
#: www/views/tx-details.html:100
msgid "Unconfirmed"
@@ -3174,12 +3252,12 @@ msgstr "Überprüfe Wiederherstellungsphrase..."
#: www/views/modals/fingerprintCheck.html:4
msgid "Verify your identity"
-msgstr ""
+msgstr "Bestätigen Sie Ihre Identität"
#: www/views/preferencesAbout.html:14
#: www/views/preferencesExternal.html:25
msgid "Version"
-msgstr ""
+msgstr "Version"
#: www/views/tab-export-file.html:69
msgid "View"
@@ -3196,7 +3274,7 @@ msgstr "Nutzungsbedingungen anzeigen"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "Transaktion auf Explorer.Bitcoin.com ansehen"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3208,7 +3286,7 @@ msgstr "Auf blockchain anzeigen"
#: www/views/mercadoLibre.html:26
msgid "Visit mercadolivre.com.br →"
-msgstr ""
+msgstr "Besuchen Sie mercadolivre.com.br →"
#: www/views/walletDetails.html:182
msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
@@ -3270,7 +3348,7 @@ msgstr "Wallet-Informationen"
#: www/views/addresses.html:76
msgid "Wallet Inputs"
-msgstr ""
+msgstr "Wallet-Inputs"
#: www/views/join.html:26
msgid "Wallet Invitation"
@@ -3324,7 +3402,7 @@ msgstr "Wallet exstiert bereits"
#: src/js/services/profileService.js:516
msgid "Wallet already in {{appName}}"
-msgstr ""
+msgstr "Wallet bereits in {{appName}}"
#: www/views/includes/walletActivity.html:6
msgid "Wallet created"
@@ -3375,7 +3453,7 @@ msgstr "Wallet ist nicht beim Wallet-Service registiert. Neu erzeugen mit \"Neue
#: www/views/backup.html:12
msgid "Wallet recovery phrase not available"
-msgstr ""
+msgstr "Wallet Wiederherstellungsphrase ist nicht verfügbar"
#: src/js/services/bwcError.js:50
msgid "Wallet service not found"
@@ -3383,7 +3461,7 @@ msgstr "Wallet-Dienst nicht gefunden"
#: www/views/tab-home.html:69
msgid "Wallets"
-msgstr ""
+msgstr "Wallets"
#: src/js/controllers/addressbookView.js:36
#: src/js/controllers/modals/txpDetails.js:153
@@ -3420,7 +3498,7 @@ msgstr "Wir sind immer auf der Suche nach Möglichkeiten um {{appName}} zu verbe
#: www/views/includes/incomingDataMenu.html:6
msgid "Website"
-msgstr ""
+msgstr "Webseite"
#: www/views/preferencesLanguage.html:16
msgid "We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin."
@@ -3500,11 +3578,11 @@ msgstr "Sie kontrollieren Ihre Bitcoins."
#: www/views/modals/chooseFeeLevel.html:64
msgid "You should not set a fee higher than {{maxFeeRecommended}} satoshis/byte."
-msgstr ""
+msgstr "Sie sollten keine Gebühren welche höher als {{maxFeeRecommended}} satoshis/byte sind wählen."
#: www/views/modals/bitpay-card-confirmation.html:5
msgid "You will need to log back for fill in your BitPay Card."
-msgstr ""
+msgstr "Sie müssen sich wieder anmelden um ihre BitPay-Karte aufzufüllen."
#: www/views/preferencesNotifications.html:34
msgid "You'll receive email notifications about payments sent and received from your wallets."
@@ -3512,12 +3590,12 @@ msgstr "Sie erhalten E-Mail Benachrichtigungen über gesendete und empfangen Zah
#: www/views/bitpayCard.html:50
msgid "Your BitPay Card is ready. Add funds to your card to start using it at stores and ATMs worldwide."
-msgstr ""
+msgstr "Ihre BitPay-Karte ist bereit. Fügen sie Mittel auf Ihre Karte hinzu um diesen bei Geschäften und Geldautomaten weltweit zu benutzen."
#: www/views/mercadoLibre.html:57
#: www/views/mercadoLibreCards.html:6
msgid "Your Gift Cards"
-msgstr ""
+msgstr "Ihre Geschenkkarten"
#: www/views/includes/confirmBackupPopup.html:6
msgid "Your bitcoin wallet is backed up!"
@@ -3529,7 +3607,7 @@ msgstr "Ihre Bitcoin-Wallet ist fertig!"
#: www/views/modals/chooseFeeLevel.html:61
msgid "Your fee is lower than recommended."
-msgstr ""
+msgstr "Ihre Gebühren sind niedriger als empfohlen."
#: www/views/feedback/send.html:42
msgid "Your ideas, feedback, or comments"
@@ -3550,11 +3628,11 @@ msgstr "Passwort"
#: www/views/buyAmazon.html:102
msgid "Your purchase could not be completed"
-msgstr ""
+msgstr "Ihre Bestellung konnte nicht abgeschlossen werden"
#: www/views/buyAmazon.html:105
msgid "Your purchase was added to the list of pending"
-msgstr ""
+msgstr "Ihre Bestellung wurde in die Liste der anstehenden Bestellungen hinzugefügt"
#: www/views/onboarding/backupRequest.html:10
msgid "Your wallet is never saved to cloud storage or standard device backups."
@@ -3576,7 +3654,7 @@ msgstr "[Guthaben versteckt]"
#: www/views/walletDetails.html:141
#: www/views/walletDetails.html:61
msgid "[Scanning Funds]"
-msgstr ""
+msgstr "[Mittel werden durchsucht...]"
#: src/js/controllers/bitpayCardIntro.js:11
msgid "add your BitPay Visa card(s)"
@@ -3600,15 +3678,15 @@ msgstr "in Arbeit..."
#: www/views/cashScan.html:57
msgid "recovery tool."
-msgstr ""
+msgstr "Wiederherstellungstool."
#: src/js/controllers/buyAmazon.js:239
msgid "{{amountStr}} for Amazon.com Gift Card"
-msgstr ""
+msgstr "{{amountStr}} für Amazon.com Geschenkkarte"
#: src/js/controllers/buyMercadoLibre.js:237
msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
-msgstr ""
+msgstr "{{amountStr}} für Mercado Livre Brazil Geschenkkarte"
#: www/views/preferencesBwsUrl.html:21
msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
@@ -3620,7 +3698,7 @@ msgstr "{{fee}} wird für Bitcoin-Netzwerkgebühren abgezogen werden."
#: www/views/confirm.html:85
msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
-msgstr ""
+msgstr "{{tx.txp[wallet.id].feeRatePerStr}} von dem sendenden Betrag"
#: www/views/walletDetails.html:218
msgid "{{updatingTxHistoryProgress}} transactions downloaded"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} Transaktionen werden heruntergeladen"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-von-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Community"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Erkunden Sie Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash Spiele"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Neuigkeiten"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Mining-Pool"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Werkzeuge"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Bitcoin Preis-Charts"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Kostenloses Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Ihre Bitcoin-Wallet ist fertig!"
+
diff --git a/i18n/po/es-ES/template-es-ES.po b/i18n/po/es-ES/template-es-ES.po
index 9f060b91f..9338825d0 100644
--- a/i18n/po/es-ES/template-es-ES.po
+++ b/i18n/po/es-ES/template-es-ES.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Spanish\n"
"Language: es\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Cuenta"
msgid "Account Number"
msgstr "Número de cuenta"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Transacciones instantáneas con comisiones bajas"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Cuentas"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Comprar & Vender Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Comprar Bitcoin"
@@ -615,10 +620,14 @@ msgstr "Conectando a Glidera..."
msgid "Connection reset by peer"
msgstr "Conexión re establecida"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Contactos"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Direcciones frecuentes guardadas"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Continuar"
@@ -819,7 +828,7 @@ msgstr "Crear billetera compartida"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Crear billetera"
@@ -2529,6 +2538,14 @@ msgstr "Buscar transacciones"
msgid "Search or enter bitcoin address"
msgstr "Buscar o introducir dirección bitcoin"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Portapapeles"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Portapapeles vacío"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Buscar transacciones"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Enviar por correo electrónico"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Enviar desde"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Enviar a"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Pegar portapapeles"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Pegar dirección"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Billetera a billetera"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Escanear código QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "¡Envía Bitcoin más rápido!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "¡Envía Bitcoin más rápido!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Guardar las direcciones que usas frecuentemente y envía Bitcoin en un click"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Añadie tu primer contacto"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Tu billetera Bitcoin está vacía"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Para empezar, compra Bitcoin Cash (BCH) o Bitcoin Core (BTC), o comparte tu dirección."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Puedes recibir bitcoin desde cualquier billetera o servicio."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Para empezar, necesitarás crear una billetera y obtener bitcoins."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Comprar Bitcoin ahora"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Ver mi dirección"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Enviar la máxima cantidad"
@@ -3026,7 +3104,7 @@ msgstr "Para empezar, compra bitcoin o comparte tu dirección. Puedes recibir bi
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Para empezar, necesitarás crear una billetera y obtener bitcoins."
+msgstr "Para empezar, necesitarás crear una billetera y obtener Bitcoins."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transacciones descargadas"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-de-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift - Cambia BTC a BCH"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Comunidad"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Reddit de Bitcoin Cash"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Twitter de Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Explora Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Juegos de Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Noticias"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Minería en la nube"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Herramientas"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Gráfica de precios Bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash gratis"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "¡Tus billeteras Bitcoin están listas!"
+
diff --git a/i18n/po/fa/template-fa.po b/i18n/po/fa/template-fa.po
index c9e75d484..148ac9147 100644
--- a/i18n/po/fa/template-fa.po
+++ b/i18n/po/fa/template-fa.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Persian\n"
"Language: fa\n"
-"PO-Revision-Date: 2018-05-08 00:44-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "حساب"
msgid "Account Number"
msgstr "شماره حساب"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "معاملات فوری با پرداخت کم"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "حساب ها"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "خرید & فروش بیتکوین"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "خرید بیتکوین"
@@ -615,10 +620,14 @@ msgstr "در حال اتصال به Glidera..."
msgid "Connection reset by peer"
msgstr "ریست اتصال توسط همکار"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "تماسها"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "آدرس های ذخیره شده که اغلب مورد استفاده قرار گرفته اند"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "ادامه"
@@ -819,7 +828,7 @@ msgstr "ایجاد کیف پول مشترک"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "ایجاد کیف پول بیتکوین"
@@ -989,7 +998,7 @@ msgstr "فعال کردن اعلان های با فرمت push"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "فعال کردن صدا"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -1582,7 +1591,7 @@ msgstr "آدرس شبکه نادرست"
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "موجودی تائید شذه ناکافی"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -2049,7 +2058,7 @@ msgstr "باز کردن پروژه GitHub"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "باز کردن مرورگر"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2529,6 +2538,14 @@ msgstr "جستجوی تراکنش ها"
msgid "Search or enter bitcoin address"
msgstr "جستجو و یا وارد کردن آدرس بیتکوین"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "کلیپ بورد"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "کلیپ بورد شما خالی است"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "جستجوی تراکنش ها"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "ارسال توسط ایمیل"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "ارسال از"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "ارسال به"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "جای گذاری کلیپ برد"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "جای گذاری آدرس"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "انتقال پول از کیف پول به کیف پول"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "اسکن کد QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "ارسال سریع تر بیت کوین!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "ارسال سریع تر بیت کوین!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "ذخیره آدرس های اغلب استفاده شده و ارسال بیت کوین به آنها تنها با یک ضربه"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "اولین تماس خود اضافه کنید"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "کیف پول بیت کوین شما خالی است"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "برای شروع، Bitcoin Cash (BCH) یا Bitcoin Core (BTC) بخرید و یا آدرس خود را به اشتراک بگذارید."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "شما می توانید از هر کیف پول و یا خدمات بیت کوین دریافت کنید."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "برای شروع، شما نیاز دارید که یک کیف پول ایجاد کنید و مقداری بیتکوین تهیه کنید."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "خرید بیت کوین همین الان"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "نمایش آدرس من"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "ارسال حداکثر مقدار"
@@ -3026,7 +3104,7 @@ msgstr "برای شروع، بیتکوین بخرید و یا آدرس خود ر
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "برای شروع، شما نیاز دارید که یک کیف پول ایجاد کنید و مقداری بیتکوین تهیه کنید."
+msgstr "برای شروع، شما نیاز دارید که یک کیف پول بیت کوین ایجاد کرده و مقداری بیت کوین تهیه کنید."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3196,7 +3274,7 @@ msgstr "مشاهده شرایط و ضوابط خدمات"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "مشاهده تراکنش در Explorer.Bitcoin.com"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} تراکنش دانلود شد"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}} از {{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "جامعه"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "توییتر Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "کاوش Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash Games"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "اخبار"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "استخر استخراج"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "ابزارها"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "نمودارهای قیمت بیت کوین"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "رایگان Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "کیف پول بیت کوین شما آماده است!"
+
diff --git a/i18n/po/fr/template-fr.po b/i18n/po/fr/template-fr.po
index eefa48b8d..d87845d47 100644
--- a/i18n/po/fr/template-fr.po
+++ b/i18n/po/fr/template-fr.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: French\n"
"Language: fr\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Compte"
msgid "Account Number"
msgstr "Numéro de compte"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Instant transactions with low fees"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Comptes"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Acheter & vendre des bitcoins"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Acheter des bitcoins"
@@ -615,10 +620,14 @@ msgstr "Connexion à Glidera..."
msgid "Connection reset by peer"
msgstr "Connexion réinitialisée par un pair"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Contacts"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Adresses fréquemment utilisées enregistrées"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Continuer"
@@ -819,7 +828,7 @@ msgstr "Créer un portefeuille partagé"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Créer un portefeuille bitcoin"
@@ -989,7 +998,7 @@ msgstr "Autoriser les notifications"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr "Activer le son"
+msgstr "Malayu"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -2529,6 +2538,14 @@ msgstr "Rechercher des transactions"
msgid "Search or enter bitcoin address"
msgstr "Recherchez ou saisissez une adresse bitcoin"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Presse-papiers"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Votre presse-papiers est vide"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Rechercher des transactions"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Envoyer par e-mail"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Envoyer à partir de"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Envoyer à"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Coller le contenu du presse-papiers"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Coller l'adresse"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Transfert de portefeuille à portefeuille"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Numérisez le code QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envoyez des Bitcoin plus vite !"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envoyez des Bitcoin plus vite !"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Enregistrez les adresses fréquemment utilisées et envoyez-leurs des Bitcoins en un seul geste"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Ajoutez votre premier contact"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Votre portefeuille Bitcoin est vide"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Pour commencer, achetez des Bitcoins Cash (BCH) ou des Bitcoins Core (BTC), ou partagez votre adresse."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Vous pouvez recevoir des Bitcoins de n'importe quel portefeuille ou service."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Pour commencer, vous aurez besoin de créer un portefeuille bitcoin et d'obtenir quelques bitcoins."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Acheter des Bitcoins maintenant"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Afficher mon adresse"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Envoyer le montant maximal"
@@ -3026,7 +3104,7 @@ msgstr "Pour commencer, achetez des bitcoins ou partagez votre adresse. Vous pou
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Pour commencer, vous aurez besoin de créer un portefeuille bitcoin et d'obtenir quelques bitcoins."
+msgstr "Pour commencer, vous aurez besoin de créer un portefeuille Bitcoin et d'obtenir quelques bitcoins."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transactions téléchargées"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-sur-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Communauté"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Reddit Bitcoin Cash"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Twitter Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Explorez Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Jeux Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Nouvelles"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Coopératives de mineurs"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Outils"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Graphiques du prix du Bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash Gratuit"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Vos portefeuilles bitcoin sont prêts !"
+
diff --git a/i18n/po/it/template-it.po b/i18n/po/it/template-it.po
index 48209552b..62738bf84 100644
--- a/i18n/po/it/template-it.po
+++ b/i18n/po/it/template-it.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Italian\n"
"Language: it\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Conto"
msgid "Account Number"
msgstr "Numero del Conto"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Transazioni istantanee con commissioni basse"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Account"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Comprare & Vendere Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Acquista Bitcoin"
@@ -615,10 +620,14 @@ msgstr "Connessione a Glidera..."
msgid "Connection reset by peer"
msgstr "Connessione ripristinata dall'utente"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Contatti"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Indirizzi più utilizzati salvati"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Continua"
@@ -819,7 +828,7 @@ msgstr "Creare portafoglio condiviso"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Creare portafoglio bitcoin"
@@ -2529,6 +2538,14 @@ msgstr "Cerca Transazioni"
msgid "Search or enter bitcoin address"
msgstr "Cerca o inserisci indirizzo bitcoin"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Appunti"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Gli appunti sono vuoti"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Ricerca transazioni"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Invia via email"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Inviata Da"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Invia a"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Incolla appunti"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Incolla indirizzo"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Trasferimento da portafoglio a portafoglio"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Scansiona codice QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Invia Bitcoin più velocemente!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Invia Bitcoin più velocemente!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Salva gli indirizzi più utilizzati e invia Bitcoin con un solo tocco"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Aggiungi il tuo primo contatto"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Il tuo portafoglio Bitcoin è vuoto"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Per iniziare, acquista Bitcoin Cash (BCH) o Bitcoin Core (BTC), oppure condividi il tuo indirizzo."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Puoi ricevere Bitcoin da qualsiasi portafoglio o servizio."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Per iniziare, è necessario che tu crei un portafoglio bitcoin e ottenerne qualcuno."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Acquista subito Bitcoin"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Visualizza il mio indirizzo"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Inviare l'importo massimo"
@@ -3026,7 +3104,7 @@ msgstr "Per iniziare, acquista bitcoin o condividi il tuo indirizzo. È possibil
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Per iniziare, è necessario che tu crei un portafoglio bitcoin e ottenerne qualcuno."
+msgstr "Per iniziare, devi creare un portafoglio bitcoin e ottenere qualche bitcoin."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transazioni scaricate"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-di-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Community"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash su Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com su Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Esplora Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Giochi Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "News"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Mining Pool"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Strumenti"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Tabella prezzi Bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash gratis"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "I tuoi portafogli Bitcoin sono pronti!"
+
diff --git a/i18n/po/ja/template-ja.po b/i18n/po/ja/template-ja.po
index 7accc6adc..30668ce9d 100644
--- a/i18n/po/ja/template-ja.po
+++ b/i18n/po/ja/template-ja.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Japanese\n"
"Language: ja\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "ポケット"
msgid "Account Number"
msgstr "ポケット番号"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "僅かな手数料で即時決済"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "アカウント一覧"
@@ -402,7 +406,7 @@ msgstr "ビットコインは世界で 最も安全な仮想通貨。"
#: www/views/preferencesFee.html:11
msgid "Bitcoin transactions include a fee collected by miners on the network."
-msgstr "ビットコインの取引はネットワークの安全を守る「採掘者」と呼ばれる者達に送る手数料が含まれます。"
+msgstr "ビットコインの取引はネットワークの安全を守る「採掘者」と呼ばれる方達に送る手数料が含まれます。"
#: www/views/buyAmazon.html:108
msgid "Bought {{amountUnitStr}}"
@@ -435,6 +439,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "ビットコインの購入&売却"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "ビットコインを購入"
@@ -617,10 +622,14 @@ msgstr "Glidera に接続中…"
msgid "Connection reset by peer"
msgstr "接続がピアによってリセットされました"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "連絡先"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "よく使う保存済みのアドレス"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "続ける"
@@ -631,7 +640,7 @@ msgstr "翻訳に協力"
#: src/js/controllers/confirm.js:130
msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
-msgstr "Copay のビットコインキャッシュはビットコインと完全に異なる別通貨なので、アドレスの頭文字が異なります。"
+msgstr "のビットコインキャッシュはビットコインと完全に異なる別通貨なので、アドレスの頭文字が異なります。"
#: src/js/services/bwcError.js:62
msgid "Copayer already in this wallet"
@@ -821,7 +830,7 @@ msgstr "共有ウォレットを作成"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "ビットコインウォレット作成"
@@ -991,7 +1000,7 @@ msgstr "プッシュ通知を有効化"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr "音を有効にする"
+msgstr "サウンドを有効にする"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -1344,7 +1353,7 @@ msgstr "始めよう"
#: www/views/addressbook.html:20
msgid "Get started by adding your first one."
-msgstr "初めての連絡先を追加しましょう。"
+msgstr "連絡先を追加しましょう。"
#: src/js/services/onGoingProcess.js:23
msgid "Getting fee levels..."
@@ -1869,7 +1878,7 @@ msgstr "バックアップは非常に重要です!"
#: www/views/addressbook.html:19
msgid "No contacts yet"
-msgstr "連絡先が無い"
+msgstr "連絡先はありません"
#: www/views/preferencesLogs.html:16
msgid "No entries for this log level"
@@ -2002,7 +2011,7 @@ msgstr "今一度周りの環境をよく見てみましょう。隠しカメラ
#: src/js/services/popupService.js:72
#: www/views/modals/chooseFeeLevel.html:6
msgid "OK"
-msgstr "わかりました"
+msgstr "OK"
#: www/views/modals/tx-status.html:12
#: www/views/modals/tx-status.html:24
@@ -2225,7 +2234,7 @@ msgstr "正しい順序で各単語をタップしてください。"
#: src/js/services/bwcError.js:101
msgid "Please upgrade Copay to perform this action"
-msgstr "この操作を実行するにはCopayを最新バージョンに更新してください"
+msgstr "この操作を実行するにはを最新バージョンに更新してください"
#: www/views/walletDetails.html:142
#: www/views/walletDetails.html:62
@@ -2531,6 +2540,14 @@ msgstr "取引を検索"
msgid "Search or enter bitcoin address"
msgstr "連絡先検索かビットコインアドレスを指定"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "クリップボード"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "クリップボードは空です"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "取引を検索"
@@ -2589,9 +2606,70 @@ msgid "Send by email"
msgstr "メールで送信"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "ここから送金"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "送金先:"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "クリップボードからペースト"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "アドレスをペースト"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "ウォレット間送金"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "QRコードを読み取る"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "ビットコイン送金をより高速に!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "ビットコイン送金をより高速に!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "よく使うアドレスを保存すればワンタップでビットコインを送金できます"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "最初の連絡先を追加"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "ビットコインウォレットが空です"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "始めるには、Bitcoin Cash (BCH) または Bitcoin Core (BTC) を購入するか、あなたのアドレスを共有してください。"
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "どのウォレットやサービスからでもビットコインを受け取ることができます。"
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "はじめに、ビットコインウォレットを作成し、ビットコインを入手する必要があります。"
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "今すぐビットコインを購入"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "自分のアドレスを表示"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "全残高を送金"
@@ -3446,7 +3524,7 @@ msgstr "送金発生時のメール通知はどのメールアドレスで受け
#: www/views/addresses.html:19
msgid "Why?"
-msgstr "なぜ?"
+msgstr "なぜですか?"
#: www/views/feedback/rateApp.html:10
msgid "Would you be willing to rate {{appName}} in the app store?"
@@ -3638,3 +3716,51 @@ msgstr "{{updatingTxHistoryProgress}} 個の取引ダウンロード済み"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}} の{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "コミュニティ"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Bitcoin.com を参照"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash ゲーム"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "ニュース"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "マイニングプール"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "ツール"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "ビットコインの価格チャート"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "無料 Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "ビットコインウォレットが完成しました!"
+
diff --git a/i18n/po/ko/template-ko.po b/i18n/po/ko/template-ko.po
index 1a667b7c8..6285496ae 100644
--- a/i18n/po/ko/template-ko.po
+++ b/i18n/po/ko/template-ko.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Korean\n"
"Language: ko\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "계정"
msgid "Account Number"
msgstr "계정 번호"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "낮은 수수료로 빠른 송금을"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "계정들"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "비트코인 구매 & 판매"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "비트코인 구매"
@@ -615,10 +620,14 @@ msgstr "Glidera에 연결 중..."
msgid "Connection reset by peer"
msgstr "연결 실패"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "연락처"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "자주 사용하는 저장된 주소"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "계속하기"
@@ -819,7 +828,7 @@ msgstr "공유 지갑 만들기"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "비트코인 지갑 만들기"
@@ -2529,6 +2538,14 @@ msgstr "거래 기록 검색하기"
msgid "Search or enter bitcoin address"
msgstr "비트코인 주소를 찾거나 작성"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "클립보드"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "클립보드가 비어 있습니다"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "거래 기록 검색"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "이메일로 보내기"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "출처"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "보내기"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "클립보드 붙여넣기"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "주소 붙여넣기"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "지갑 간 전송"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "QR 코드 스캔"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "비트코인 속성 전송!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "비트코인 속성 전송!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "자주 사용하는 주소를 저장하고 한 번의 탭으로 저장된 주소에 비트코인 전송"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "첫 번째 연락처 추가"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "비트코인 지갑이 비어 있습니다"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "시작하려면 비트코인 캐시(BCH) 또는 비트코인 코어(BTC)를 구매하거나 주소를 공유합니다."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "지갑 또는 서비스에서 비트코인을 받을 수 있습니다."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "시작하시기 위해선 비트코인 지갑을 생성하시거나 비트코인을 구매하세요."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "지금 비트코인 구매"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "내 주소 보기"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "최대 수량 보내기"
@@ -3026,7 +3104,7 @@ msgstr "시작하시려면 비트코인을 구매하시거나 주소를 등록
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "시작하시기 위해선 비트코인 지갑을 생성하시거나 비트코인을 구매하세요."
+msgstr "시작하려면 비트코인 지갑을 만들고 비트코인을 구매하십시오."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} 거래 내역 다운로드 완료"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.n}}의 {{wallet.m}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "커뮤니티"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "BCH Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com 트위터"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Bitcoin.com 탐색"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "BCH 게임"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "소식"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "채굴 풀"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "도구"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "비트코인 가격 차트"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "무료 BCH"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "비트코인 지갑이 완료되었습니다!"
+
diff --git a/i18n/po/nl/template-nl.po b/i18n/po/nl/template-nl.po
index cead01c29..b66d0b892 100644
--- a/i18n/po/nl/template-nl.po
+++ b/i18n/po/nl/template-nl.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Dutch\n"
"Language: nl\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Account"
msgid "Account Number"
msgstr "Account Nummer"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Directe transacties tegen lage kosten"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Accounts"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Koop & Verkoop Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Bitcoin kopen"
@@ -615,10 +620,14 @@ msgstr "Verbinding maken met Glidera..."
msgid "Connection reset by peer"
msgstr "Verbinding is gereset door peer"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Contactpersonen"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Opgeslagen veelgebruikte adressen"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Ga verder"
@@ -819,7 +828,7 @@ msgstr "Gedeelde Portemonnee Aanmaken"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Bitcoin portemonnee aanmaken"
@@ -2529,6 +2538,14 @@ msgstr "Doorzoek Transacties"
msgid "Search or enter bitcoin address"
msgstr "Zoeken of bitcoin adres invullen"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Klembord"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Uw klembord is leeg"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Doorzoek transacties"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Verstuur via email"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Verzenden vanuit"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Verzenden naar"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Klembord plakken"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Adres plakken"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Portemonnee overdracht"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Scan QR-code"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Stuur Bitcoin sneller!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Stuur Bitcoin sneller!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Sla veelgebruikte adressen op en verstuur ze Bitcoin met een druk op de knop"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Uw eerste contact toevoegen"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Uw Bitcoin portemonnee is leeg"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Om aan de slag te gaan, koop Bitcoin Cash (BCH) of Bitcoin Core (BTC), of deel uw adres."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "U kunt Bitcoin ontvangen van elke portemonnee of dienst."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Om aan de slag te gaan zult u een bitcoin portemonnee moeten aanmaken en wat bitcoin moeten verkrijgen."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Bitcoin kopen"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Toon mijn adres"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Verzend maximale hoeveelheid"
@@ -3026,7 +3104,7 @@ msgstr "Om aan de slag te gaan, koop bitcoin of deel uw adres. U kunt bitcoin on
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Om aan de slag te gaan zult u een bitcoin portemonnee moeten aanmaken en wat bitcoin moeten verkrijgen."
+msgstr "Om aan de slag te gaan, zult u een Bitcoin-portemonnee aan moeten maken en wat Bitcoin moeten verkrijgen."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transacties gedownload"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-van-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Community"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Bitcoin.com verkennen"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash spellen"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Nieuws"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Mining Pool"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Hulpmiddelen"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Bitcoin prijs grafieken"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Gratis Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Uw bitcoin portemonnee is gereed!"
+
diff --git a/i18n/po/pl/template-pl.po b/i18n/po/pl/template-pl.po
index b7ea15353..ef9888ca5 100644
--- a/i18n/po/pl/template-pl.po
+++ b/i18n/po/pl/template-pl.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Polish\n"
"Language: pl\n"
-"PO-Revision-Date: 2018-05-08 00:44-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Konto"
msgid "Account Number"
msgstr "Numer konta"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Natychmiastowe transakcje z niskimi prowizjami"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Konta"
@@ -359,12 +363,12 @@ msgstr "Adres bitcoin"
#: www/views/cashScan.html:4
msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
+msgstr "Salda Bitcoin Cash (BCH)"
#: www/views/preferencesCash.html:3
#: www/views/tab-settings.html:47
msgid "Bitcoin Cash Support"
-msgstr ""
+msgstr "Wsparcie Bitcoin Cash"
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
@@ -380,7 +384,7 @@ msgstr "Polityka prowizji sieci bitcoin"
#: www/views/tab-home.html:83
#: www/views/tab-settings.html:107
msgid "Bitcoin Core Wallets"
-msgstr ""
+msgstr "Portfele Bitcoin Core"
#: src/js/services/incomingData.js:151
msgid "Bitcoin cash Payment"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Kup & sprzedaj bitcoiny"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Kup bitcoiny"
@@ -615,10 +620,14 @@ msgstr "Łączenie z Gildera..."
msgid "Connection reset by peer"
msgstr "Połączenie zostało zresetowane"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Kontakty"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Zapisane często używane adresy"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Dalej"
@@ -819,7 +828,7 @@ msgstr "Utwórz współdzielony portfel"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Utwórz portfel bitcoin"
@@ -973,7 +982,7 @@ msgstr "Puste adresy osiągnęły limit. Nowe adresy nie mogą być generowane."
#: www/views/preferencesCash.html:17
msgid "Enable Bitcoin Cash wallet creation and operation within the App."
-msgstr ""
+msgstr "Włącz tworzenie i obsługę portfela Bitcoin Cash w aplikacji."
#: www/views/tab-scan.html:19
msgid "Enable camera access in your device settings to get started."
@@ -989,7 +998,7 @@ msgstr "Włącz powiadomienia"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "Włącz dźwięk"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -997,7 +1006,7 @@ msgstr "Włącz kamerę aby rozpocząć."
#: www/views/tab-settings.html:49
msgid "Enabled"
-msgstr ""
+msgstr "Włączono"
#: src/js/services/walletService.js:1047
#: src/js/services/walletService.js:1062
@@ -1582,7 +1591,7 @@ msgstr "Nieprawidłowy adres"
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "Niewystarczające potwierdzone środki"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -1927,7 +1936,7 @@ msgstr "Nie BIP44 portfel"
#: www/views/cashScan.html:46
msgid "Non eligible BTC wallets"
-msgstr ""
+msgstr "Niewspierane portfele BTC"
#: src/js/services/feeService.js:12
msgid "Normal"
@@ -2000,7 +2009,7 @@ msgstr "Nadszedł czas, aby sprawdzić swoje otoczenie. Czy jesteś w pobliżu o
#: src/js/services/popupService.js:72
#: www/views/modals/chooseFeeLevel.html:6
msgid "OK"
-msgstr ""
+msgstr "OK"
#: www/views/modals/tx-status.html:12
#: www/views/modals/tx-status.html:24
@@ -2019,7 +2028,7 @@ msgstr "O nie!"
#: src/js/controllers/buyMercadoLibre.js:306
msgid "Ok"
-msgstr ""
+msgstr "Ok"
#: www/views/tab-home.html:39
msgid "On this screen you can see all your wallets, accounts, and assets."
@@ -2049,7 +2058,7 @@ msgstr "Otwórz projekt GitHub"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "Otwórz Explorer"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2065,7 +2074,7 @@ msgstr "Otwórz stronę internetową"
#: src/js/controllers/preferencesCash.js:32
msgid "Open bitcoincash.org?"
-msgstr ""
+msgstr "Otworzyć bitcoincash.org?"
#: src/js/controllers/cashScan.js:18
msgid "Open the recovery tool."
@@ -2236,7 +2245,7 @@ msgstr "Proszę wybrać plik kopii zapasowej"
#: www/views/bitpayCard.html:81
msgid "Pre-Auth Holds"
-msgstr ""
+msgstr "Wstrzymanie przedautoryzacyjne"
#: www/views/tab-settings.html:40
msgid "Preferences"
@@ -2349,7 +2358,7 @@ msgstr "Otrzymaj"
#: www/views/customAmount.html:44
msgid "Receive in"
-msgstr ""
+msgstr "Otrzymaj w"
#: www/views/includes/walletHistory.html:24
#: www/views/tx-details.html:18
@@ -2507,7 +2516,7 @@ msgstr "Proszę zeskanować linie papilarne"
#: www/views/preferencesCash.html:23
msgid "Scan your wallets for Bitcoin Cash"
-msgstr ""
+msgstr "Skanuj portfele w poszukiwaniu Bitcoin Cash"
#: src/js/services/onGoingProcess.js:30
msgid "Scanning Wallet funds..."
@@ -2529,6 +2538,14 @@ msgstr "Szukaj transakcji"
msgid "Search or enter bitcoin address"
msgstr "Wyszukaj lub wpisz adres bitcoin"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Schowek"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Schowek jest pusty"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Szukaj transakcji"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Wyślij przez e-mail"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Wyślij z"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Wyślij do"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Wklej ze schowka"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Wklej adres"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Transfer z portfela do portfela"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Zeskanuj kod QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Przesyłaj Bitcoiny szybciej!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Przesyłaj Bitcoiny szybciej!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Zapisz często używane adresy i wyślij im Bitcoin za pomocą jednego dotknięcia"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Dodaj swój pierwszy kontakt"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Twój portfel jest pusty"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Aby zacząć, kup Bitcoin Cash (BCH) lub Bitcoin Core (BTC), albo udostępnij swój adres."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Bitcoiny można odbierać z dowolnego portfela lub usługi."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Aby rozpocząć należy utworzyć portfel i dostać trochę bitcoinów."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Kup Bitcoin teraz"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Pokaż mój adres"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Wyślij całą kwotę"
@@ -2760,7 +2838,7 @@ msgstr "Przesuń, aby wysłać"
#: www/views/cashScan.html:56
msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
-msgstr ""
+msgstr "Niektóre z twoich portfeli nie kwalifikują się do wsparcia Bitcoin Cash. Dostęp do środków BCH z tych portfeli można spróbować uzyskać, korzystając z"
#: src/js/controllers/create.js:88
#: src/js/controllers/join.js:71
@@ -2781,7 +2859,7 @@ msgstr "Wymagane hasło wypłat"
#: www/views/walletDetails.html:173
msgid "Spending this balance will need significant Bitcoin network fees"
-msgstr ""
+msgstr "Wydanie tego salda będzie wymagało znacznych opłat sieciowych Bitcoin"
#: www/views/tab-send.html:28
msgid "Start sending bitcoin"
@@ -2806,7 +2884,7 @@ msgstr "Super Ekonomiczna"
#: www/views/preferencesCash.html:11
msgid "Support Bitcoin Cash"
-msgstr ""
+msgstr "Wsparcie Bitcoin Cash"
#: www/views/paperWallet.html:7
msgid "Sweep"
@@ -2856,7 +2934,7 @@ msgstr "Warunki użytkowania"
#: www/views/tab-create-personal.html:118
#: www/views/tab-import-phrase.html:68
msgid "Testnet"
-msgstr ""
+msgstr "Testnet"
#: www/views/includes/incomingDataMenu.html:61
msgid "Text"
@@ -2995,7 +3073,7 @@ msgstr "Ta kluczowa fraza został utworzona przy użyciu hasła. Aby odzyskać p
#: www/views/tx-details.html:91
msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
-msgstr ""
+msgstr "Ta kwota transakcji jest zbyt mała w porównaniu z obecnymi opłatami sieci Bitcoin. Wydanie tych środków będzie wymagało opłaty sieciowej Bitcoin, która jest porównywalna do kosztów samych funduszy."
#: www/views/tx-details.html:87
msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
@@ -3030,15 +3108,15 @@ msgstr "Aby rozpocząć należy utworzyć portfel i dostać trochę bitcoinów."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
-msgstr ""
+msgstr "Aby móc wykonać czynność {{reason}}, musisz przedtem dodać swoje konto BitPay – {{email}}"
#: src/js/services/onGoingProcess.js:48
msgid "Top up in progress..."
-msgstr ""
+msgstr "Doładowanie w trakcie..."
#: src/js/controllers/topup.js:206
msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
-msgstr ""
+msgstr "Doładuj o {{amountStr}} kartę debetową ({{cardLastNumber}})"
#: www/views/buyAmazon.html:61
#: www/views/buyMercadoLibre.html:60
@@ -3057,7 +3135,7 @@ msgstr "Liczba współwłaścicieli portfela"
#: www/views/addresses.html:81
msgid "Total wallet inputs"
-msgstr ""
+msgstr "Dane wejściowe portfela łącznie"
#: src/js/services/fingerprintService.js:63
#: src/js/services/fingerprintService.js:68
@@ -3196,7 +3274,7 @@ msgstr "Zobacz zasady użytkowania"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "Zobacz transakcję na Explorer.Bitcoin.com"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3208,7 +3286,7 @@ msgstr "Zobacz na blockchainie"
#: www/views/mercadoLibre.html:26
msgid "Visit mercadolivre.com.br →"
-msgstr ""
+msgstr "Odwiedź mercadolivre.com.br →"
#: www/views/walletDetails.html:182
msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
@@ -3270,7 +3348,7 @@ msgstr "Informacje o portfelu"
#: www/views/addresses.html:76
msgid "Wallet Inputs"
-msgstr ""
+msgstr "Dane wejściowe portfela"
#: www/views/join.html:26
msgid "Wallet Invitation"
@@ -3324,7 +3402,7 @@ msgstr "Portfel już istnieje"
#: src/js/services/profileService.js:516
msgid "Wallet already in {{appName}}"
-msgstr ""
+msgstr "Portfel już w aplikacji {{appName}}"
#: www/views/includes/walletActivity.html:6
msgid "Wallet created"
@@ -3504,7 +3582,7 @@ msgstr "Nie należy ustawiać opłatę wyższą niż {{maxFeeRecommended}} satos
#: www/views/modals/bitpay-card-confirmation.html:5
msgid "You will need to log back for fill in your BitPay Card."
-msgstr ""
+msgstr "Musisz zalogować się ponownie, aby wypełnić swoją kartę BitPay."
#: www/views/preferencesNotifications.html:34
msgid "You'll receive email notifications about payments sent and received from your wallets."
@@ -3576,7 +3654,7 @@ msgstr "[Balans ukryty]"
#: www/views/walletDetails.html:141
#: www/views/walletDetails.html:61
msgid "[Scanning Funds]"
-msgstr ""
+msgstr "[Skanowanie środków]"
#: src/js/controllers/bitpayCardIntro.js:11
msgid "add your BitPay Visa card(s)"
@@ -3608,7 +3686,7 @@ msgstr "{{amountStr}} dla karty upominkowej Amazon.com"
#: src/js/controllers/buyMercadoLibre.js:237
msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
-msgstr ""
+msgstr "{{amountStr}} na karcie podarunkowej Mercado Livre Brazil"
#: www/views/preferencesBwsUrl.html:21
msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
@@ -3620,7 +3698,7 @@ msgstr "{{fee}} zostanie potrącone jako prowizja sieci bitcoin."
#: www/views/confirm.html:85
msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
-msgstr ""
+msgstr "{{tx.txp[wallet.id].feeRatePerStr}} wysyłanej kwoty"
#: www/views/walletDetails.html:218
msgid "{{updatingTxHistoryProgress}} transactions downloaded"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} transakcje pobrane"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-z-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Społeczność"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Reddit Bitcoin Cash"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Twitter Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Poznaj Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Gry Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Aktualności"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Pula kopalni"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Narzędzia"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Wykresy kursu Bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Darmowa Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Twoje portfele Bitcoin są gotowe!"
+
diff --git a/i18n/po/pt-BR/template-pt-BR.po b/i18n/po/pt-BR/template-pt-BR.po
index 802760d9d..6879b52c4 100644
--- a/i18n/po/pt-BR/template-pt-BR.po
+++ b/i18n/po/pt-BR/template-pt-BR.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Portuguese, Brazilian\n"
"Language: pt\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Conta"
msgid "Account Number"
msgstr "Número de conta"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Transações instantâneas com taxas baixas"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Contas"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Comprar & Vender Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Comprar Bitcoin"
@@ -615,10 +620,14 @@ msgstr "A conectar ao Glidera..."
msgid "Connection reset by peer"
msgstr "Ligação redefinida pelo mesmo nível"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Contactos"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Salvou os endereços usados com frequência"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Continuar"
@@ -819,7 +828,7 @@ msgstr "Criar carteira partilhada"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Criar carteira bitcoin"
@@ -2529,6 +2538,14 @@ msgstr "Procurar transações"
msgid "Search or enter bitcoin address"
msgstr "Procure ou digite o endereço bitcoin"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Área de transferência"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "A sua área de transferência está vazia"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Procurar transações"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "Enviar por E-mail"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Enviar De"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Enviar para"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Colar na área de trabalho"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Colar endereço"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Transferência de carteira para carteira"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Digitalizar o código QR"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envie Bitcoin mais rápido!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Envie Bitcoin mais rápido!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Salvar endereços usados com frequência e enviar Bitcoin com apenas um toque"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Adicionar o seu primeiro contato"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Sua carteira de Bitcoin está vazia"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Para começar, compre Bitcoin Cash (BCH) ou Bitcoin Core (BTC) ou compartilhe o seu endereço."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Você pode receber bitcoin de qualquer carteira ou serviço."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Para começar, você precisa criar uma carteira de bitcoins e obter alguns bitcoins."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Compre Bitcoin agora"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Mostrar meu endereço"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Quantidade Máxima de envio"
@@ -3026,7 +3104,7 @@ msgstr "Para começar, compre bitcoins ou compartilhe seu endereço. Você pode
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "Para começar, você precisa criar uma carteira de bitcoins e obter alguns bitcoins."
+msgstr "Para começar, você precisará criar uma carteira e obter algum bitcoin."
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3632,3 +3710,51 @@ msgstr "Transações de {{updatingTxHistoryProgress}} transferidas"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-de-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Comunidade"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Twitter Bitcoin.com"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Explore Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Jogos Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Notícias"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Pool de mineração"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Ferramentas"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Gráficos de preço do Bitcoin"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash grátis"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "As suas carteiras de Bitcoin estão prontas!"
+
diff --git a/i18n/po/ru/template-ru.po b/i18n/po/ru/template-ru.po
index 48aacaf6e..a9d5d2970 100644
--- a/i18n/po/ru/template-ru.po
+++ b/i18n/po/ru/template-ru.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Russian\n"
"Language: ru\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -32,7 +32,7 @@ msgstr "{{feeRateStr}} транзакции"
#: www/views/modals/txp-details.html:102
msgid "- {{tx.feeRateStr}} of the transaction"
-msgstr ""
+msgstr "— {{tx.feeRateStr}} транзакции"
#: www/views/feedback/rateApp.html:7
msgid "5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!"
@@ -41,7 +41,7 @@ msgstr "=896t7!"
#: www/views/mercadoLibre.html:18
#: www/views/mercadoLibre.html:40
msgid "Only redeemable on Mercado Livre (Brazil)"
-msgstr ""
+msgstr "Погасить можно только на Mercado Livre (Бразилия)"
#: src/js/controllers/feedback/send.js:27
#: www/views/feedback/complete.html:21
@@ -77,6 +77,10 @@ msgstr "Учётная запись"
msgid "Account Number"
msgstr "Номер учётной записи"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "Мгновенные транзакции с низкой комиссией"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Аккаунты"
@@ -136,7 +140,7 @@ msgstr "Пополнить счёт"
#: src/js/services/bitpayAccountService.js:78
msgid "Add this BitPay account ({{email}})?"
-msgstr ""
+msgstr "Добавить этот аккаунт BitPay ({{email}})?"
#: www/views/add.html:3
msgid "Add wallet"
@@ -163,7 +167,7 @@ msgstr "Адреса с балансом"
#: www/views/tab-settings.html:149
msgid "Advanced"
-msgstr "Дополнительные возможности"
+msgstr "Расширенные"
#: www/views/advancedSettings.html:3
msgid "Advanced Settings"
@@ -204,7 +208,7 @@ msgstr "Альтернативная валюта"
#: src/js/controllers/buyAmazon.js:98
msgid "Amazon.com is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Сайт Amazon.com сейчас недоступен. Попробуйте позже."
#: www/views/amount.html:44
#: www/views/customAmount.html:34
@@ -222,7 +226,7 @@ msgstr "Слишком большая сумма"
#: www/views/includes/walletHistory.html:31
msgid "Amount too low to spend"
-msgstr ""
+msgstr "Сумма слишком мала, чтобы ее потратить"
#: src/js/controllers/tab-home.js:147
msgid "An update to this app is available. For your security, please update to the latest version."
@@ -234,7 +238,7 @@ msgstr "Любой, у кого есть доступ к вашему ключе
#: www/views/addresses.html:94
msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
-msgstr ""
+msgstr "Приблизительная комиссия сети Биткойн для перевода баланса кошелька (с нормальным приоритетом)"
#: www/views/backupWarning.html:10
msgid "Are you being watched?"
@@ -270,7 +274,7 @@ msgstr "Вы точно хотите пропустить резервное к
#: www/views/modals/bitpay-card-confirmation.html:4
msgid "Are you sure you would like to log out of your BitPay Card account?"
-msgstr ""
+msgstr "Действительно выйти из аккаунта BitPay Card?"
#: src/js/controllers/preferencesBitpayCard.js:7
#: src/js/controllers/preferencesBitpayServices.js:20
@@ -359,17 +363,17 @@ msgstr "Биткойн-адрес"
#: www/views/cashScan.html:4
msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
+msgstr "Балансы Bitcoin Cash (BCH)"
#: www/views/preferencesCash.html:3
#: www/views/tab-settings.html:47
msgid "Bitcoin Cash Support"
-msgstr ""
+msgstr "Поддержка Bitcoin Cash"
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
msgid "Bitcoin Cash Wallets"
-msgstr ""
+msgstr "Кошельки Bitcoin Cash"
#: www/views/modals/chooseFeeLevel.html:4
#: www/views/preferencesFee.html:4
@@ -380,11 +384,11 @@ msgstr "Политика комиссии сети Биткойн"
#: www/views/tab-home.html:83
#: www/views/tab-settings.html:107
msgid "Bitcoin Core Wallets"
-msgstr ""
+msgstr "Кошельки Bitcoin Core"
#: src/js/services/incomingData.js:151
msgid "Bitcoin cash Payment"
-msgstr ""
+msgstr "Платеж Bitcoin Cash"
#: www/views/onboarding/tour.html:31
msgid "Bitcoin is a currency."
@@ -392,7 +396,7 @@ msgstr "Биткойн - это валюта."
#: www/views/onboarding/disclaimer.html:15
msgid "Bitcoin is different – it cannot be safely held with a bank or web service."
-msgstr ""
+msgstr "С биткойнами всё иначе: их нельзя безопасно хранить в банке или на веб-сервисе."
#: www/views/onboarding/tour.html:18
msgid "Bitcoin is secure, digital money."
@@ -400,11 +404,11 @@ msgstr "Биткойн это безопасные, цифровые день
#: www/views/preferencesFee.html:11
msgid "Bitcoin transactions include a fee collected by miners on the network."
-msgstr ""
+msgstr "Транзакции с биткойнами включают в себя комиссию майнеров сети."
#: www/views/buyAmazon.html:108
msgid "Bought {{amountUnitStr}}"
-msgstr ""
+msgstr "Куплено {{amountUnitStr}}"
#: www/views/modals/txp-details.html:36
msgid "Broadcast Payment"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "Купить & продать биткойн"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "Купить биткойн"
@@ -615,10 +620,14 @@ msgstr "Подключение к Glidera..."
msgid "Connection reset by peer"
msgstr "Соединение сброшено другой стороной"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "Контакты"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Сохраненные часто используемые адреса"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "Продолжить"
@@ -629,7 +638,7 @@ msgstr "Помочь в переводе"
#: src/js/controllers/confirm.js:130
msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
-msgstr ""
+msgstr "«Copay» поддерживает только Bitcoin Cash с новой адресацией номеров версий"
#: src/js/services/bwcError.js:62
msgid "Copayer already in this wallet"
@@ -671,7 +680,7 @@ msgstr "Скопировать в буфер обмена"
#: src/js/controllers/buyMercadoLibre.js:102
msgid "Could not access Gift Card Service"
-msgstr ""
+msgstr "Не удалось получить доступ к сервису подарочных карт"
#: www/views/tab-import-phrase.html:2
msgid "Could not access the wallet at the server. Please check:"
@@ -733,7 +742,7 @@ msgstr "Не удалось удалить предложенный платёж
#: src/js/controllers/cashScan.js:117
msgid "Could not duplicate"
-msgstr ""
+msgstr "Не удалось дублировать"
#: src/js/services/feeService.js:73
msgid "Could not get dynamic fee"
@@ -745,13 +754,13 @@ msgstr "Не удалось получить динамическую комис
#: src/js/controllers/modals/feeLevels.js:112
msgid "Could not get fee levels"
-msgstr ""
+msgstr "Не удалось получить комиссии"
#: src/js/controllers/buyAmazon.js:122
#: src/js/controllers/buyMercadoLibre.js:122
#: src/js/controllers/topup.js:100
msgid "Could not get the invoice"
-msgstr ""
+msgstr "Не удалось получить инвойс"
#: src/js/controllers/bitpayCard.js:66
msgid "Could not get transactions"
@@ -819,7 +828,7 @@ msgstr "Создать общий кошелёк"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "Создать биткойн-кошелёк"
@@ -855,7 +864,7 @@ msgstr "Текущая комиссия для этой политики"
#: src/js/services/feeService.js:15
msgid "Custom"
-msgstr ""
+msgstr "Комиссия"
#: www/views/customAmount.html:9
msgid "Custom Amount"
@@ -863,7 +872,7 @@ msgstr "Сумма"
#: src/js/controllers/preferencesFee.js:85
msgid "Custom Fee"
-msgstr "Пользовательская комиссия"
+msgstr "Комиссия"
#: www/views/modals/mercadolibre-card-details.html:56
#: www/views/modals/txp-details.html:87
@@ -940,11 +949,11 @@ msgstr "Скачать"
#: www/views/cashScan.html:37
msgid "Duplicate for BCH"
-msgstr ""
+msgstr "Дубликат для BCH"
#: src/js/services/onGoingProcess.js:49
msgid "Duplicating wallet..."
-msgstr ""
+msgstr "Дублирование кошелька..."
#: www/views/addresses.html:19
msgid "Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment."
@@ -961,7 +970,7 @@ msgstr "Редактировать"
#: www/views/addressbook.add.html:29
#: www/views/addressbook.view.html:22
msgid "Email"
-msgstr ""
+msgstr "Адрес эл. почты"
#: www/views/preferencesNotifications.html:42
msgid "Email Address"
@@ -973,7 +982,7 @@ msgstr "Достигнут предел пустых адресов. Новые
#: www/views/preferencesCash.html:17
msgid "Enable Bitcoin Cash wallet creation and operation within the App."
-msgstr ""
+msgstr "Включить использование в программе и создание кошельков Bitcoin Cash."
#: www/views/tab-scan.html:19
msgid "Enable camera access in your device settings to get started."
@@ -989,7 +998,7 @@ msgstr "Включить push-уведомления"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "Включить звук"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -997,7 +1006,7 @@ msgstr "Чтобы начать, включите камеру."
#: www/views/tab-settings.html:49
msgid "Enabled"
-msgstr ""
+msgstr "Включено"
#: src/js/services/walletService.js:1047
#: src/js/services/walletService.js:1062
@@ -1014,7 +1023,7 @@ msgstr "Введите сумму"
#: www/views/modals/chooseFeeLevel.html:41
msgid "Enter custom fee"
-msgstr "Ввести пользовательское значение комиссии"
+msgstr "Ввести размер комиссии"
#: src/js/services/walletService.js:1029
msgid "Enter new spending password"
@@ -1124,7 +1133,7 @@ msgstr "Ошибка создания Подарочной карты"
#: src/js/controllers/buyAmazon.js:94
#: src/js/controllers/buyMercadoLibre.js:94
msgid "Error creating the invoice"
-msgstr "Ошибка создания инвойса"
+msgstr "Ошибка при создании инвойса"
#: src/js/services/profileService.js:412
msgid "Error creating wallet"
@@ -1132,17 +1141,17 @@ msgstr "Ошибка создания кошелька"
#: src/js/controllers/confirm.js:296
msgid "Error getting SendMax information"
-msgstr ""
+msgstr "Ошибка при получении информации SendMax"
#: src/js/controllers/buyAmazon.js:136
#: src/js/controllers/buyMercadoLibre.js:136
#: src/js/controllers/topup.js:114
msgid "Error in Payment Protocol"
-msgstr ""
+msgstr "Ошибка в платежном протоколе"
#: src/js/controllers/bitpayCardIntro.js:14
msgid "Error pairing BitPay Account"
-msgstr ""
+msgstr "Ошибка при связывании с аккаунтом BitPay"
#: src/js/controllers/paperWallet.js:41
msgid "Error scanning funds:"
@@ -1154,7 +1163,7 @@ msgstr "Ошибка считывания кошелька:"
#: src/js/controllers/bitpayCardIntro.js:20
msgid "Error updating Debit Cards"
-msgstr "Ошибка обновления Дебетовых Карт"
+msgstr "Ошибка обновления дебетовых карт"
#: src/js/services/bwcError.js:143
msgid "Exceeded daily limit of $500 per user"
@@ -1166,12 +1175,12 @@ msgstr "Превышен дневной лимит в 500$ на пользова
#: www/views/modals/mercadolibre-card-details.html:34
#: www/views/modals/txp-details.html:119
msgid "Expired"
-msgstr "Истекла"
+msgstr "Просрочено"
#: www/views/modals/paypro.html:54
#: www/views/modals/txp-details.html:125
msgid "Expires"
-msgstr "истёк"
+msgstr "Срок действия"
#: www/views/preferencesAdvanced.html:21
msgid "Export Wallet"
@@ -1197,7 +1206,7 @@ msgstr "Расширенные открытые ключи"
#: src/js/services/onGoingProcess.js:20
msgid "Extracting Wallet information..."
-msgstr "Выполняется извлечение информации из кошелька..."
+msgstr "Извлечение информации о кошельке..."
#: src/js/controllers/export.js:115
#: src/js/controllers/export.js:126
@@ -1218,11 +1227,11 @@ msgstr "Комиссия"
#: www/views/modals/chooseFeeLevel.html:75
msgid "Fee level"
-msgstr ""
+msgstr "Уровень комиссии"
#: src/js/controllers/modals/feeLevels.js:100
msgid "Fee level is not defined"
-msgstr ""
+msgstr "Уровень комиссии не задан"
#: www/views/confirm.html:79
#: www/views/modals/txp-details.html:99
@@ -1239,7 +1248,7 @@ msgstr "Подключение учетной записи BitPay..."
#: src/js/services/onGoingProcess.js:21
msgid "Fetching payment information"
-msgstr ""
+msgstr "Получение платежной информации"
#: www/views/export.html:14
#: www/views/import.html:16
@@ -1281,7 +1290,7 @@ msgstr "С аккаунта BitPay"
#: www/views/tab-import-phrase.html:57
msgid "From Hardware Wallet"
-msgstr ""
+msgstr "Из аппаратного кошелька"
#: www/views/tab-export-qrCode.html:5
msgid "From the destination device, go to Add wallet > Import wallet and scan this QR code"
@@ -1297,7 +1306,7 @@ msgstr "Обнаружены средства:"
#: www/views/topup.html:49
msgid "Funds to be added"
-msgstr ""
+msgstr "Добавляемые средства"
#: www/views/paperWallet.html:51
msgid "Funds transferred"
@@ -1305,7 +1314,7 @@ msgstr "Средства переведены"
#: www/views/topup.html:103
msgid "Funds were added to debit card"
-msgstr ""
+msgstr "Средства добавлены на дебетовую карту"
#: www/views/paperWallet.html:22
msgid "Funds will be transferred to"
@@ -1351,20 +1360,20 @@ msgstr "Получение информации о комиссиях..."
#: www/views/buyAmazon.html:43
#: www/views/buyMercadoLibre.html:42
msgid "Gift Card"
-msgstr ""
+msgstr "Подарочная карта"
#: www/views/modals/mercadolibre-card-details.html:30
#: www/views/modals/mercadolibre-card-details.html:35
msgid "Gift Card is not available to use anymore"
-msgstr ""
+msgstr "Подарочную карту больше использовать нельзя"
#: src/js/controllers/buyAmazon.js:204
msgid "Gift card expired"
-msgstr ""
+msgstr "Срок действия подарочной карты истек"
#: www/views/buyAmazon.html:111
msgid "Gift card generated and ready to use."
-msgstr ""
+msgstr "Подарочная карта сформирована и готова к использованию."
#: src/js/controllers/bitpayCard.js:114
#: src/js/controllers/bitpayCard.js:124
@@ -1410,7 +1419,7 @@ msgstr "Аппаратный кошелёк"
#: src/js/controllers/create.js:180
#: src/js/controllers/join.js:145
msgid "Hardware wallets are not yet supported with Bitcoin Cash"
-msgstr ""
+msgstr "Bitcoin Cash еще не поддерживает аппаратные кошельки"
#: www/views/tab-settings.html:20
msgid "Help & Support"
@@ -1441,7 +1450,7 @@ msgstr "Пропустить следующие шаги"
#: www/views/tab-import-hardware.html:31
#: www/views/tab-import-phrase.html:36
msgid "Hide advanced options"
-msgstr "Скрыть дополнительные параметры"
+msgstr "Скрыть расширенные параметры"
#: www/views/tabs.html:3
msgid "Home"
@@ -1552,7 +1561,7 @@ msgstr "Для проверки резервной копии требуется
#: www/views/mercadoLibreCards.html:24
#: www/views/modals/mercadolibre-card-details.html:29
msgid "Inactive"
-msgstr ""
+msgstr "Неактивна"
#: www/views/includes/walletItem.html:9
#: www/views/includes/walletList.html:6
@@ -1576,13 +1585,13 @@ msgstr "Некорректный формат QR-кода"
#: src/js/services/bwcError.js:113
msgid "Incorrect network address"
-msgstr ""
+msgstr "Неверный сетевой адрес"
#: src/js/controllers/confirm.js:114
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "Недостаточно подтвержденных средств"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -1592,7 +1601,7 @@ msgstr "Недостаточно средств на комиссию"
#: www/views/tab-settings.html:123
msgid "Integrations"
-msgstr ""
+msgstr "Интеграции"
#: www/views/includes/walletHistory.html:49
msgid "Invalid"
@@ -1631,7 +1640,7 @@ msgstr "Приглашение присоединиться к кошельку
#: www/views/mercadoLibreCards.html:20
#: www/views/modals/mercadolibre-card-details.html:48
msgid "Invoice expired"
-msgstr ""
+msgstr "Срок действия инвойса истек"
#: src/js/controllers/feedback/send.js:79
msgid "Is there anything we could do better?"
@@ -1692,7 +1701,7 @@ msgstr "Прошедший месяц"
#: www/views/preferencesCash.html:18
#: www/views/tx-details.html:94
msgid "Learn more"
-msgstr ""
+msgstr "Подробнее"
#: www/views/backup.html:43
msgid "Let's verify your backup phrase."
@@ -1733,7 +1742,7 @@ msgstr "Действует блокировка. Пожалуйста, подо
#: www/views/includes/logOptions.html:3
msgid "Log options"
-msgstr ""
+msgstr "Параметры журнала"
#: www/views/modals/bitpay-card-confirmation.html:14
msgid "Log out"
@@ -1741,7 +1750,7 @@ msgstr "Bыйти"
#: www/views/addresses.html:87
msgid "Low amount inputs"
-msgstr ""
+msgstr "Входы с малыми суммами"
#: www/views/includes/walletHistory.html:27
msgid "Low fees"
@@ -1773,11 +1782,11 @@ msgstr "Памятка"
#: www/views/mercadoLibre.html:6
msgid "Mercado Livre Brazil Gift Cards"
-msgstr ""
+msgstr "Подарочные карты Mercado Livre (Бразилия)"
#: src/js/controllers/buyMercadoLibre.js:98
msgid "Mercadolibre Gift Card Service is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Сервис подарочных карт Mercadolibre сейчас недоступен. Попробуйте позже."
#: www/views/modals/txp-details.html:131
msgid "Merchant Message"
@@ -1787,7 +1796,7 @@ msgstr "Сообщение от продавца"
#: www/views/buyMercadoLibre.html:54
#: www/views/topup.html:63
msgid "Miner Fee"
-msgstr ""
+msgstr "Комиссия майнера"
#: src/js/services/bwcError.js:134
msgid "Missing parameter"
@@ -1830,7 +1839,7 @@ msgstr "Название"
#: www/views/buyMercadoLibre.html:48
#: www/views/topup.html:56
msgid "Network Cost"
-msgstr ""
+msgstr "Затраты сети"
#: src/js/services/bwcError.js:47
msgid "Network error"
@@ -1859,7 +1868,7 @@ msgstr "Нет кошельков"
#: src/js/controllers/buyAmazon.js:115
#: src/js/controllers/buyMercadoLibre.js:115
msgid "No access key defined"
-msgstr ""
+msgstr "Ключ доступа не задан"
#: www/views/onboarding/backupRequest.html:5
msgid "No backup, no bitcoin."
@@ -1871,7 +1880,7 @@ msgstr "Нет контактов"
#: www/views/preferencesLogs.html:16
msgid "No entries for this log level"
-msgstr ""
+msgstr "Для этого уровня ведения журнала записей нет"
#: www/views/preferencesExternal.html:12
msgid "No hardware information available."
@@ -1892,7 +1901,7 @@ msgstr "Нет недавних транзакций"
#: src/js/controllers/buyAmazon.js:44
#: src/js/controllers/topup.js:47
msgid "No signing proposal: No private key"
-msgstr ""
+msgstr "Нет предложения по подписыванию: нет приватного ключа"
#: www/views/walletDetails.html:204
msgid "No transactions yet"
@@ -1911,7 +1920,7 @@ msgstr "Не выбран кошелёк"
#: src/js/controllers/confirm.js:85
#: src/js/controllers/topup.js:265
msgid "No wallets available"
-msgstr ""
+msgstr "Нет кошельков"
#: www/views/paperWallet.html:45
msgid "No wallets available to receive funds"
@@ -1919,15 +1928,15 @@ msgstr "Некуда перевести средства"
#: www/views/cashScan.html:15
msgid "No wallets eligible for Bitcoin Cash support"
-msgstr ""
+msgstr "Нет кошельков с возможностью поддержки Bitcoin Cash"
#: src/js/controllers/cashScan.js:58
msgid "Non BIP44 wallet"
-msgstr ""
+msgstr "Не является кошельком BIP44"
#: www/views/cashScan.html:46
msgid "Non eligible BTC wallets"
-msgstr ""
+msgstr "Неподходящие кошельки BTC"
#: src/js/services/feeService.js:12
msgid "Normal"
@@ -1960,7 +1969,7 @@ msgstr "Примечание"
#: www/views/backup.html:19
msgid "Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase."
-msgstr ""
+msgstr "Примечание: если этот кошелёк BCH — дубликат кошелька BTC, то у них одинаковое ключевое словосочетание."
#: www/views/modals/wallets.html:25
msgid "Notice: only 1-1 (single signature) wallets can be used for sell bitcoin"
@@ -1973,15 +1982,15 @@ msgstr "Уведомления"
#: www/views/onboarding/collectEmail.html:9
msgid "Notifications by email"
-msgstr ""
+msgstr "Уведомления по эл. почте"
#: www/views/tx-details.html:117
msgid "Notify me if confirmed"
-msgstr ""
+msgstr "Уведомлять при подтверждении"
#: www/views/preferencesNotifications.html:24
msgid "Notify me when transactions are confirmed"
-msgstr ""
+msgstr "Уведомлять меня при подтверждении транзакций"
#: www/views/includes/backupNeededPopup.html:8
msgid "Now is a good time to backup your wallet. If this device is lost, it is impossible to access your funds without a backup."
@@ -2019,7 +2028,7 @@ msgstr "О, нет!"
#: src/js/controllers/buyMercadoLibre.js:306
msgid "Ok"
-msgstr ""
+msgstr "OK"
#: www/views/tab-home.html:39
msgid "On this screen you can see all your wallets, accounts, and assets."
@@ -2049,7 +2058,7 @@ msgstr "Откройте проект GitHub"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "Открыть обзор"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2065,11 +2074,11 @@ msgstr "Перейти на сайт"
#: src/js/controllers/preferencesCash.js:32
msgid "Open bitcoincash.org?"
-msgstr ""
+msgstr "Открыть bitcoincash.org?"
#: src/js/controllers/cashScan.js:18
msgid "Open the recovery tool."
-msgstr ""
+msgstr "Открыть инструмент восстановления."
#: www/views/tab-receive.html:27
msgid "Open wallet"
@@ -2096,7 +2105,7 @@ msgstr "Пароль"
#: src/js/controllers/import.js:98
msgid "Password required. Make sure to enter your password in advanced options"
-msgstr "Необходим пароль. Убедитесь, что вы ввели ваш пароль в дополнительных настройках"
+msgstr "Необходим пароль. Убедитесь, что вы ввели ваш пароль в расширенных настройках"
#: www/views/join.html:33
msgid "Paste invitation here"
@@ -2121,7 +2130,7 @@ msgstr "Платёж принят"
#: www/views/confirm.html:25
msgid "Payment Expires:"
-msgstr "Платёж истекает:"
+msgstr "Срок платежа:"
#: www/views/modals/txp-details.html:6
msgid "Payment Proposal"
@@ -2169,7 +2178,7 @@ msgstr "Платёж принят и будет отправлен Glidera. В
#: src/js/services/incomingData.js:152
msgid "Payment address was translated to new Bitcoin Cash address format:"
-msgstr ""
+msgstr "Платежный адрес был переведен в новый формат адреса Bitcoin Cash:"
#: www/views/modals/txp-details.html:107
msgid "Payment details"
@@ -2182,7 +2191,7 @@ msgstr "Запрос платежа"
#: www/views/mercadoLibreCards.html:22
#: www/views/modals/mercadolibre-card-details.html:39
msgid "Pending"
-msgstr ""
+msgstr "Ожидание"
#: www/views/proposals.html:4
msgid "Pending Proposals"
@@ -2236,7 +2245,7 @@ msgstr "Пожалуйста, выберите ваш файл резервно
#: www/views/bitpayCard.html:81
msgid "Pre-Auth Holds"
-msgstr ""
+msgstr "Предв. авторизация"
#: www/views/tab-settings.html:40
msgid "Preferences"
@@ -2294,11 +2303,11 @@ msgstr "Предложенные платежи"
#: src/js/controllers/buyAmazon.js:282
msgid "Purchase Amount is limited to {{limitPerDay}} {{currency}} per day"
-msgstr ""
+msgstr "Ограничение на сумму покупки — {{limitPerDay}} {{currency}} в день"
#: src/js/controllers/buyMercadoLibre.js:281
msgid "Purchase amount must be a value between 50 and 2000"
-msgstr ""
+msgstr "Сумма покупки должна быть от 50 до 2000"
#: www/views/onboarding/notifications.html:3
msgid "Push Notifications"
@@ -2336,11 +2345,11 @@ msgstr "Показать больше"
#: src/js/controllers/preferences.js:65
#: src/js/controllers/tx-details.js:54
msgid "Read more in our Wiki"
-msgstr ""
+msgstr "Подробнее — в нашей вики"
#: src/js/controllers/cashScan.js:61
msgid "Read only wallet"
-msgstr ""
+msgstr "Кошелёк только для чтения"
#: www/views/tab-receive.html:3
#: www/views/tabs.html:7
@@ -2349,7 +2358,7 @@ msgstr "Получить"
#: www/views/customAmount.html:44
msgid "Receive in"
-msgstr ""
+msgstr "Куда получить:"
#: www/views/includes/walletHistory.html:24
#: www/views/tx-details.html:18
@@ -2398,7 +2407,7 @@ msgstr "Воссоздаю кошелёк..."
#: www/views/modals/mercadolibre-card-details.html:22
msgid "Redeem now"
-msgstr ""
+msgstr "Погасить"
#: src/js/controllers/modals/txpDetails.js:63
#: src/js/controllers/tx-details.js:80
@@ -2499,7 +2508,7 @@ msgstr "Просканировать адреса для обнаружения
#: www/views/modals/fingerprintCheck.html:11
msgid "Scan again"
-msgstr ""
+msgstr "Сканировать еще раз"
#: src/js/services/fingerprintService.js:56
msgid "Scan your fingerprint please"
@@ -2507,7 +2516,7 @@ msgstr "Пожалуйста, отсканируйте ваш отпечаток
#: www/views/preferencesCash.html:23
msgid "Scan your wallets for Bitcoin Cash"
-msgstr ""
+msgstr "Искать в ваших кошельках Bitcoin Cash"
#: src/js/services/onGoingProcess.js:30
msgid "Scanning Wallet funds..."
@@ -2515,7 +2524,7 @@ msgstr "Сканирование адресов кошелька..."
#: www/views/includes/walletList.html:11
msgid "Scanning funds..."
-msgstr ""
+msgstr "Сканирование средств..."
#: www/views/includes/screenshotWarningModal.html:7
msgid "Screenshots are not secure"
@@ -2529,6 +2538,14 @@ msgstr "Поиск транзакций"
msgid "Search or enter bitcoin address"
msgstr "Найти или ввести биткойн-адрес"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "Буфер обмена"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "Буфер обмена пуст"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "Поиск транзакций"
@@ -2543,7 +2560,7 @@ msgstr "Безопасность"
#: www/views/modals/mercadolibre-card-details.html:64
msgid "See invoice"
-msgstr ""
+msgstr "Просмотр инвойса"
#: www/views/tab-import-file.html:7
msgid "Select a backup file"
@@ -2587,16 +2604,77 @@ msgid "Send by email"
msgstr "Отправить на email"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "Отправить от"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "Получатель"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "Вставить из буфера обмена"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "Вставить адрес"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "Перевод с кошелька на кошелек"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "Сканировать QR код"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Отправляйте биткойны еще быстрее!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "Отправляйте биткойны еще быстрее!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "Сохраняйте часто используемые адреса кошельков и отправляйте на них биткойны одним нажатием"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "Добавить первый контакт"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "Ваш кошелёк пуст"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "Чтобы начать работу, купите Bitcoin Cash (BCH) или Bitcoin Core (BTC), или поделитесь вашим адресом."
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "Вы можете получать биткойны с любого кошелька или сервиса."
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "Чтобы начать работу, вам нужно создать кошелёк и получить биткойн."
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "Купить биткойны сейчас"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "Показать мой адрес"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "Отправить макс. сумму"
#: www/views/includes/incomingDataMenu.html:46
msgid "Send payment to this address"
-msgstr ""
+msgstr "Отправить платеж на этот адрес"
#: www/views/feedback/rateApp.html:17
msgid "Send us feedback instead"
@@ -2647,7 +2725,7 @@ msgstr "Ответ сервера не может быть проверен"
#: src/js/controllers/buyAmazon.js:97
#: src/js/controllers/buyMercadoLibre.js:97
msgid "Service not available"
-msgstr ""
+msgstr "Сервис недоступен"
#: www/views/includes/homeIntegrations.html:3
msgid "Services"
@@ -2667,7 +2745,7 @@ msgstr "Задайте пароль"
#: src/js/controllers/preferencesFee.js:85
msgid "Set your own fee in satoshis/byte"
-msgstr ""
+msgstr "Задайте собственную комиссию в сатоши/байт"
#: www/views/tab-settings.html:3
#: www/views/tabs.html:19
@@ -2708,7 +2786,7 @@ msgstr "Показать адрес"
#: www/views/tab-import-hardware.html:30
#: www/views/tab-import-phrase.html:35
msgid "Show advanced options"
-msgstr "Показать дополнительные параметры"
+msgstr "Показать расширенные параметры"
#: www/views/tab-send.html:37
msgid "Show bitcoin address"
@@ -2743,24 +2821,24 @@ msgstr "Пропустить"
#: src/js/controllers/confirm.js:371
#: src/js/controllers/modals/txpDetails.js:47
msgid "Slide to accept"
-msgstr ""
+msgstr "Провести пальцем — принять"
#: www/views/buyAmazon.html:96
msgid "Slide to buy"
-msgstr ""
+msgstr "Провести пальцем — купить"
#: src/js/controllers/confirm.js:365
msgid "Slide to pay"
-msgstr ""
+msgstr "Провести пальцем — оплатить"
#: src/js/controllers/confirm.js:377
#: src/js/controllers/modals/txpDetails.js:40
msgid "Slide to send"
-msgstr ""
+msgstr "Провести пальцем — отправить"
#: www/views/cashScan.html:56
msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
-msgstr ""
+msgstr "Некоторые из ваших кошельков не могут поддерживать Bitcoin Cash. Можно попытаться получить доступ к BCH из этих кошельков через"
#: src/js/controllers/create.js:88
#: src/js/controllers/join.js:71
@@ -2781,7 +2859,7 @@ msgstr "Необходим платёжный пароль"
#: www/views/walletDetails.html:173
msgid "Spending this balance will need significant Bitcoin network fees"
-msgstr ""
+msgstr "Чтобы потратить эту сумму, потребуются значительные комиссии сети Биткойн"
#: www/views/tab-send.html:28
msgid "Start sending bitcoin"
@@ -2794,7 +2872,7 @@ msgstr "Блокировка при запуске"
#: www/views/mercadoLibreCards.html:21
#: www/views/modals/mercadolibre-card-details.html:42
msgid "Still pending"
-msgstr ""
+msgstr "Еще в ожидании"
#: www/views/topup.html:101
msgid "Success"
@@ -2806,7 +2884,7 @@ msgstr "Очень экономичная"
#: www/views/preferencesCash.html:11
msgid "Support Bitcoin Cash"
-msgstr ""
+msgstr "Поддержка Bitcoin Cash"
#: www/views/paperWallet.html:7
msgid "Sweep"
@@ -2836,7 +2914,7 @@ msgstr "Коснитесь и удерживайте, чтобы показат
#: www/views/includes/walletInfo.html:3
msgid "Tap to recreate"
-msgstr ""
+msgstr "Чтобы пересоздать, нажмите сюда"
#: www/views/includes/walletInfo.html:4
msgid "Tap to retry"
@@ -2856,7 +2934,7 @@ msgstr "Условия использования"
#: www/views/tab-create-personal.html:118
#: www/views/tab-import-phrase.html:68
msgid "Testnet"
-msgstr ""
+msgstr "Testnet"
#: www/views/includes/incomingDataMenu.html:61
msgid "Text"
@@ -2875,7 +2953,7 @@ msgstr "Спасибо!"
#: src/js/controllers/feedback/send.js:73
msgid "That's exciting to hear. We'd love to earn that fifth star from you – how could we improve your experience?"
-msgstr ""
+msgstr "Нам интересно выслушать вас. И мы хотели бы получить от вас пять звезд — что нам нужно усовершенствовать?"
#: src/js/services/ledger.js:152
msgid "The Ledger Chrome application is not installed"
@@ -2899,7 +2977,7 @@ msgstr "Путь деривации"
#: www/views/onboarding/tour.html:37
msgid "The exchange rate changes with the market."
-msgstr ""
+msgstr "Обменные курс меняются."
#: www/views/preferencesFee.html:12
msgid "The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy."
@@ -2907,7 +2985,7 @@ msgstr "Чем выше комиссия, тем вероятнее майнер
#: www/views/addresses.html:51
msgid "The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab."
-msgstr ""
+msgstr "Достигнуто максимальное число последовательных неиспользуемых адресов (20). Когда один из неиспользуемых адресов получит платеж, будет создан новый адрес, который отобразится на вкладке «Получить»."
#: src/js/controllers/onboarding/terms.js:21
msgid "The official English Terms of Service are available on the BitPay website."
@@ -2938,7 +3016,7 @@ msgstr "Запрос не распознан сервером"
#: www/views/addresses.html:52
msgid "The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated."
-msgstr ""
+msgstr "Процесс восстановления остановится, когда 20 сформированных подряд адресов не будут содержать средств. Чтобы без риска сформировать больше адресов, сделайте платеж на один из неиспользуемых уже сформированных адресов."
#: src/js/services/bwcError.js:98
msgid "The spend proposal is not pending"
@@ -2950,7 +3028,7 @@ msgstr "Сумма биткойнов в этом кошельке."
#: www/views/preferencesHistory.html:27
msgid "The transaction history and every new incoming transaction are cached in the app. This feature clean this up and synchronizes again from the server"
-msgstr ""
+msgstr "История транзакций и каждая новая входящая транзакция кэшируются в приложении. Эта функция очищает его и снова проводит синхронизацию с сервером"
#: www/views/tab-import-phrase.html:6
msgid "The wallet service URL"
@@ -2969,7 +3047,7 @@ msgstr "Ошибка в форме"
#: src/js/controllers/feedback/send.js:61
#: src/js/controllers/feedback/send.js:65
msgid "There's obviously something we're doing wrong."
-msgstr ""
+msgstr "Очевидно, мы что-то делаем неправильно."
#: src/js/controllers/feedback/rateCard.js:38
msgid "This app is fantastic!"
@@ -2977,17 +3055,17 @@ msgstr "Замечательное приложение!"
#: www/views/onboarding/tour.html:47
msgid "This app stores your bitcoin with cutting-edge security."
-msgstr ""
+msgstr "Это приложение хранит биткойны с высочайшим уровнем безопасности."
#: src/js/controllers/confirm.js:523
msgid "This bitcoin payment request has expired."
-msgstr "Этот запрос платежа истёк."
+msgstr "Срок этого запроса платежа истёк."
#: www/views/join.html:133
#: www/views/tab-create-personal.html:103
#: www/views/tab-create-shared.html:132
msgid "This password cannot be recovered. If the password is lost, there is no way you could recover your funds."
-msgstr ""
+msgstr "Этот пароль восстановить нельзя. Если потерять пароль, вы не сможете восстановить свои средства."
#: www/views/backup.html:31
msgid "This recovery phrase was created with a password. To recover this wallet both the recovery phrase and password are needed."
@@ -2995,11 +3073,11 @@ msgstr "Это ключевое словосочетание было созда
#: www/views/tx-details.html:91
msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
-msgstr ""
+msgstr "Сумма транзакции слишком мала в сравнении с текущими комиссиями Биткойн. Чтобы потратить эти средства, понадобится комиссия сети Биткойн, сопоставимая с суммой транзакции."
#: www/views/tx-details.html:87
msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
-msgstr ""
+msgstr "Из-за низкой комиссии, установленной отправителем, на подтверждение транзакции может уйти много времени, или она может быть отброшена"
#: www/views/walletDetails.html:109
#: www/views/walletDetails.html:29
@@ -3030,15 +3108,15 @@ msgstr "Чтобы начать работу, вам нужно создать
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
-msgstr ""
+msgstr "{{reason}}: сначала нужно добавить учетную запись BitPay — {{email}}"
#: src/js/services/onGoingProcess.js:48
msgid "Top up in progress..."
-msgstr ""
+msgstr "Выполняется пополнение..."
#: src/js/controllers/topup.js:206
msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
-msgstr ""
+msgstr "Пополнить дебетовую карту ({{cardLastNumber}}) на {{amountStr}}"
#: www/views/buyAmazon.html:61
#: www/views/buyMercadoLibre.html:60
@@ -3057,7 +3135,7 @@ msgstr "Количество совладельцев"
#: www/views/addresses.html:81
msgid "Total wallet inputs"
-msgstr ""
+msgstr "Всего входов на кошельке"
#: src/js/services/fingerprintService.js:63
#: src/js/services/fingerprintService.js:68
@@ -3070,7 +3148,7 @@ msgstr "Транзакция"
#: www/views/confirm.html:126
msgid "Transaction Created"
-msgstr ""
+msgstr "Транзакция создана"
#: www/views/preferencesAdvanced.html:29
#: www/views/preferencesHistory.html:3
@@ -3085,11 +3163,11 @@ msgstr "Транзакция уже отправлена"
#: src/js/controllers/buyMercadoLibre.js:301
#: src/js/controllers/topup.js:281
msgid "Transaction has not been created"
-msgstr ""
+msgstr "Транзакция не создана"
#: www/views/topup.html:104
msgid "Transaction initiated"
-msgstr ""
+msgstr "Транзакция начата"
#: src/js/controllers/tx-details.js:119
msgid "Transaction not available at this time"
@@ -3102,7 +3180,7 @@ msgstr "Транзакция не обнаружена"
#: www/views/modals/chooseFeeLevel.html:55
msgid "Transactions without fee are not supported."
-msgstr ""
+msgstr "Транзакции без комиссии не поддерживаются."
#: src/js/controllers/paperWallet.js:109
msgid "Transfer to"
@@ -3196,7 +3274,7 @@ msgstr "Посмотреть Условия обслуживания"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "Просмотр транзакции на странице Explorer.Bitcoin.com"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3208,7 +3286,7 @@ msgstr "Посмотреть в блокчейне"
#: www/views/mercadoLibre.html:26
msgid "Visit mercadolivre.com.br →"
-msgstr ""
+msgstr "Посетить mercadolivre.com.br →"
#: www/views/walletDetails.html:182
msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
@@ -3270,7 +3348,7 @@ msgstr "Информация о кошельке"
#: www/views/addresses.html:76
msgid "Wallet Inputs"
-msgstr ""
+msgstr "Входы на кошельке"
#: www/views/join.html:26
msgid "Wallet Invitation"
@@ -3324,7 +3402,7 @@ msgstr "Кошелёк уже существует"
#: src/js/services/profileService.js:516
msgid "Wallet already in {{appName}}"
-msgstr ""
+msgstr "Кошелёк уже в приложении {{appName}}"
#: www/views/includes/walletActivity.html:6
msgid "Wallet created"
@@ -3371,11 +3449,11 @@ msgstr "Кошелёк не зарегистрирован"
#: src/js/services/bwcError.js:29
msgid "Wallet not registered at the wallet service. Recreate it from \"Create Wallet\" using \"Advanced Options\" to set your recovery phrase"
-msgstr "Кошелёк не зарегистрирован на сервере Bitcore. Пересоздайте кошелёк воспользовавшись дополнительными параметрами, чтобы указать ключевое словосочетание"
+msgstr "Кошелёк не зарегистрирован на сервере Bitcore. Пересоздайте кошелёк воспользовавшись расширенными параметрами, чтобы указать ключевое словосочетание"
#: www/views/backup.html:12
msgid "Wallet recovery phrase not available"
-msgstr ""
+msgstr "Ключевое словосочетание кошелька недоступно"
#: src/js/services/bwcError.js:50
msgid "Wallet service not found"
@@ -3416,7 +3494,7 @@ msgstr "Мы всегда ищем пути улучшения {{appName}}."
#: src/js/controllers/feedback/send.js:83
msgid "We're always looking for ways to improve {{appName}}. How could we improve your experience?"
-msgstr ""
+msgstr "Мы всегда ищем возможность улучшить {{appName}}. Как мы можем усовершенствовать приложение?"
#: www/views/includes/incomingDataMenu.html:6
msgid "Website"
@@ -3424,7 +3502,7 @@ msgstr "Сайт"
#: www/views/preferencesLanguage.html:16
msgid "We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin."
-msgstr ""
+msgstr "Мы всегда ищем переводчиков! Вы можете исправить перевод или помочь перевести это приложение на родной язык, присоединившись к нашему сообществу на платформе Crowdin."
#: www/views/preferencesAlias.html:11
msgid "What do you call this wallet?"
@@ -3444,7 +3522,7 @@ msgstr "Почему?"
#: www/views/feedback/rateApp.html:10
msgid "Would you be willing to rate {{appName}} in the app store?"
-msgstr ""
+msgstr "Хотите оценить приложение {{appName}} в магазине приложений?"
#: www/views/onboarding/notifications.html:4
msgid "Would you like to receive push notifications about payments?"
@@ -3472,7 +3550,7 @@ msgstr "Вы можете создать резервную копию позж
#: src/js/controllers/preferencesLanguage.js:12
msgid "You can make contributions by signing up on our Crowdin community translation website. We’re looking forward to hearing from you!"
-msgstr ""
+msgstr "Чтобы внести свой вклад, зарегистрируйтесь на веб-сайте переводов сообщества Crowdin. Мы будем рады сотрудничать с вами!"
#: www/views/tab-scan.html:16
msgid "You can scan bitcoin addresses, payment requests, paper wallets, and more."
@@ -3480,19 +3558,19 @@ msgstr "Вы можете сканировать биткойн-адреса, з
#: src/js/controllers/preferencesAbout.js:14
msgid "You can see the latest developments and contribute to this open source app by visiting our project on GitHub."
-msgstr ""
+msgstr "Увидеть последние разработки и внести вклад в наше приложение с открытым исходным кодом можно в нашем проекте на платформе GitHub."
#: www/views/onboarding/tour.html:19
msgid "You can spend bitcoin at millions of websites and stores worldwide."
-msgstr ""
+msgstr "Можно тратить биткойны на миллионах веб-сайтов и в магазинах по всему миру."
#: www/views/backup.html:15
msgid "You can still export it from Advanced > Export."
-msgstr "Вы можете экспортировать её в Дополнительные параметры > Экспорт."
+msgstr "Вы можете экспортировать её в меню «Расширенные > Экспорт»."
#: www/views/onboarding/tour.html:32
msgid "You can trade it for other currencies like US Dollars, Euros, or Pounds."
-msgstr ""
+msgstr "Можно обменивать их на другую валюту, например, доллары США, евро или фунты."
#: www/views/onboarding/tour.html:46
msgid "You control your bitcoin."
@@ -3500,11 +3578,11 @@ msgstr "Вы контролируете Ваши bitcoin-ы."
#: www/views/modals/chooseFeeLevel.html:64
msgid "You should not set a fee higher than {{maxFeeRecommended}} satoshis/byte."
-msgstr ""
+msgstr "Не следует устанавливать комиссию выше, чем {{maxFeeRecommended}} сатоши/ байт."
#: www/views/modals/bitpay-card-confirmation.html:5
msgid "You will need to log back for fill in your BitPay Card."
-msgstr ""
+msgstr "Для заполнения карты BitPay Card вам нужно будет снова войти."
#: www/views/preferencesNotifications.html:34
msgid "You'll receive email notifications about payments sent and received from your wallets."
@@ -3512,7 +3590,7 @@ msgstr "Вы будете получать email-уведомления о вх
#: www/views/bitpayCard.html:50
msgid "Your BitPay Card is ready. Add funds to your card to start using it at stores and ATMs worldwide."
-msgstr ""
+msgstr "Ваша карта BitPay Card готова. Пополните карту и пользуйтесь ей в магазинах и банкоматах по всему миру."
#: www/views/mercadoLibre.html:57
#: www/views/mercadoLibreCards.html:6
@@ -3529,7 +3607,7 @@ msgstr "Ваш кошелёк готов!"
#: www/views/modals/chooseFeeLevel.html:61
msgid "Your fee is lower than recommended."
-msgstr ""
+msgstr "Ваша комиссия ниже рекомендованной."
#: www/views/feedback/send.html:42
msgid "Your ideas, feedback, or comments"
@@ -3550,11 +3628,11 @@ msgstr "Ваш пароль"
#: www/views/buyAmazon.html:102
msgid "Your purchase could not be completed"
-msgstr ""
+msgstr "Покупку выполнить не удалось"
#: www/views/buyAmazon.html:105
msgid "Your purchase was added to the list of pending"
-msgstr ""
+msgstr "Покупка была добавлена в список ожидания"
#: www/views/onboarding/backupRequest.html:10
msgid "Your wallet is never saved to cloud storage or standard device backups."
@@ -3576,7 +3654,7 @@ msgstr "[Баланс скрыт]"
#: www/views/walletDetails.html:141
#: www/views/walletDetails.html:61
msgid "[Scanning Funds]"
-msgstr ""
+msgstr "[Сканирование средств]"
#: src/js/controllers/bitpayCardIntro.js:11
msgid "add your BitPay Visa card(s)"
@@ -3592,7 +3670,7 @@ msgstr "мне"
#: www/views/addressbook.add.html:32
msgid "name@example.com"
-msgstr ""
+msgstr "name@example.com"
#: www/views/preferencesHistory.html:15
msgid "preparing..."
@@ -3600,15 +3678,15 @@ msgstr "Подготавливается..."
#: www/views/cashScan.html:57
msgid "recovery tool."
-msgstr ""
+msgstr "инструмент восстановления."
#: src/js/controllers/buyAmazon.js:239
msgid "{{amountStr}} for Amazon.com Gift Card"
-msgstr ""
+msgstr "{{amountStr}} за подарочную карту Amazon.com"
#: src/js/controllers/buyMercadoLibre.js:237
msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
-msgstr ""
+msgstr "{{amountStr}} за подарочную карту Mercado Livre (Бразилия)"
#: www/views/preferencesBwsUrl.html:21
msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
@@ -3620,7 +3698,7 @@ msgstr "{{fee}} будет использовано для оплаты коми
#: www/views/confirm.html:85
msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
-msgstr ""
+msgstr "{{tx.txp[wallet.id].feeRatePerStr}} от отправляемой суммы"
#: www/views/walletDetails.html:218
msgid "{{updatingTxHistoryProgress}} transactions downloaded"
@@ -3632,3 +3710,51 @@ msgstr "{{updatingTxHistoryProgress}} транзакций загружено"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}-из-{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "Сообщество"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "Обзор Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Игры Bitcoin Cash"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "Новости"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "Пул для майнинга"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "Инструменты"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "Динамика курса биткойна"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "Bitcoin Cash бесплатно"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "Ваши кошельки готовы!"
+
diff --git a/i18n/po/sv-SE/template-sv-SE.po b/i18n/po/sv-SE/template-sv-SE.po
index 2fe3ffa81..7ffdda946 100644
--- a/i18n/po/sv-SE/template-sv-SE.po
+++ b/i18n/po/sv-SE/template-sv-SE.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Swedish\n"
"Language: sv\n"
-"PO-Revision-Date: 2018-05-08 00:44-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "Konto"
msgid "Account Number"
msgstr "Kontonummer"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr ""
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "Konton"
@@ -187,11 +191,11 @@ msgstr ""
#: www/views/tab-scan.html:21
msgid "Allow Camera Access"
-msgstr ""
+msgstr "Tillåt kameraåtkomst"
#: www/views/onboarding/notifications.html:7
msgid "Allow notifications"
-msgstr ""
+msgstr "Tillåt notificationer"
#: www/views/onboarding/disclaimer.html:14
msgid "Almost done! Let's review."
@@ -200,149 +204,149 @@ msgstr ""
#: www/views/preferencesAltCurrency.html:4
#: www/views/tab-settings.html:79
msgid "Alternative Currency"
-msgstr ""
+msgstr "Alternativ Valuta"
#: src/js/controllers/buyAmazon.js:98
msgid "Amazon.com is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Amazon.com är inte tillgängligt för tillfället. Försök igen senare."
#: www/views/amount.html:44
#: www/views/customAmount.html:34
#: www/views/includes/output.html:7
msgid "Amount"
-msgstr ""
+msgstr "Belopp"
#: src/js/services/bwcError.js:110
msgid "Amount below minimum allowed"
-msgstr ""
+msgstr "Belopp under minsta tillåtna"
#: src/js/controllers/confirm.js:216
msgid "Amount too big"
-msgstr ""
+msgstr "Beloppet för stort"
#: www/views/includes/walletHistory.html:31
msgid "Amount too low to spend"
-msgstr ""
+msgstr "Beloppet för lågt för att spendera"
#: src/js/controllers/tab-home.js:147
msgid "An update to this app is available. For your security, please update to the latest version."
-msgstr ""
+msgstr "En uppdatering för appen är tillgänglig. För din säkerhet, var vänlig uppdatera till den senaste versionen."
#: www/views/backupWarning.html:14
msgid "Anyone with your backup phrase can access or spend your bitcoin."
-msgstr ""
+msgstr "Vem som helst med din återhämtnings fras kan kommat åt eller spendera dina bitcoin."
#: www/views/addresses.html:94
msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
-msgstr ""
+msgstr "Ungefärlig Bitcoin nätverks avgift för att överföra plånbokens saldo (med normal prioritet)"
#: www/views/backupWarning.html:10
msgid "Are you being watched?"
-msgstr ""
+msgstr "Håller någon ögonen på dig?"
#: src/js/controllers/preferencesExternal.js:15
msgid "Are you being watched? Anyone with your recovery phrase can access or spend your bitcoin."
-msgstr ""
+msgstr "Håller någon ögonen på dig? Vem som helst med din återhämtnings fras kan kommat åt eller spendera dina bitcoin."
#: src/js/controllers/copayers.js:56
msgid "Are you sure you want to cancel and delete this wallet?"
-msgstr ""
+msgstr "Är du säker på att du vill avbryta och ta bort denna plånboken?"
#: src/js/controllers/addressbookView.js:37
msgid "Are you sure you want to delete this contact?"
-msgstr ""
+msgstr "Är du säker på att du vill ta bort denna kontakten?"
#: src/js/controllers/preferencesDelete.js:25
msgid "Are you sure you want to delete this wallet?"
-msgstr ""
+msgstr "Är du säker på att du vill ta bort denna plånboken?"
#: src/js/controllers/modals/txpDetails.js:154
msgid "Are you sure you want to reject this transaction?"
-msgstr ""
+msgstr "Är du säker på att du vill avvisa denna transaktion?"
#: src/js/controllers/modals/txpDetails.js:171
msgid "Are you sure you want to remove this transaction?"
-msgstr ""
+msgstr "Är du säker på att du vill ta bort denna transaktion?"
#: src/js/controllers/onboarding/backupRequest.js:23
msgid "Are you sure you want to skip it?"
-msgstr ""
+msgstr "Är du säker på att du vill hoppa över detta?"
#: www/views/modals/bitpay-card-confirmation.html:4
msgid "Are you sure you would like to log out of your BitPay Card account?"
-msgstr ""
+msgstr "Är du säker på att du vill logga ut från ditt BitPay Card konto?"
#: src/js/controllers/preferencesBitpayCard.js:7
#: src/js/controllers/preferencesBitpayServices.js:20
msgid "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
-msgstr ""
+msgstr "Är du säker på att du vill ta bort ditt BitPay Card ({{lastFourDigits}}) från denna enheten?"
#: www/views/includes/walletInfo.html:10
msgid "Auditable"
-msgstr ""
+msgstr "Granskningsbar"
#: www/views/modals/wallet-balance.html:42
msgid "Available"
-msgstr ""
+msgstr "Tillgänglig"
#: www/views/includes/available-balance.html:3
msgid "Available Balance"
-msgstr ""
+msgstr "Tillgängligt Saldo"
#: www/views/modals/chooseFeeLevel.html:24
#: www/views/preferencesFee.html:15
msgid "Average confirmation time"
-msgstr ""
+msgstr "Genomsnittlig bekräftelsetid"
#: www/views/join.html:143
#: www/views/tab-create-personal.html:113
#: www/views/tab-create-shared.html:142
#: www/views/tab-import-phrase.html:51
msgid "BIP32 path for address derivation"
-msgstr ""
+msgstr "BIP32 sökväg för adress derivering"
#: www/views/cashScan.html:25
msgid "BTC wallets"
-msgstr ""
+msgstr "BTC plånböcker"
#: www/views/preferences.html:34
msgid "Backup"
-msgstr ""
+msgstr "Säkerhetskopiera"
#: www/views/includes/backupNeededPopup.html:7
msgid "Backup Needed"
-msgstr ""
+msgstr "Säkerhetskopiering Behövs"
#: src/js/controllers/lockSetup.js:87
msgid "Backup all livenet wallets before using this function"
-msgstr ""
+msgstr "Säkerhetskopiera alla livenet plånböcker innan du använder denna funktion"
#: src/js/controllers/cashScan.js:64
#: www/views/includes/walletListSettings.html:12
#: www/views/preferences.html:36
msgid "Backup needed"
-msgstr ""
+msgstr "Säkerhetskopiering behövs"
#: www/views/includes/backupNeededPopup.html:9
msgid "Backup now"
-msgstr ""
+msgstr "Säkerhetskopiera nu"
#: www/views/onboarding/backupRequest.html:11
#: www/views/tab-export-file.html:89
msgid "Backup wallet"
-msgstr ""
+msgstr "Säkerhetskopiera plånbok"
#: src/js/controllers/lockSetup.js:84
msgid "Backup your wallet before using this function"
-msgstr ""
+msgstr "Säkerhetskopiera din plånbok innan du använder denna funktion"
#: src/js/services/profileService.js:446
msgid "Bad wallet invitation"
-msgstr ""
+msgstr "Fel på plånboks inbjudan"
#: www/views/preferencesInformation.html:102
msgid "Balance By Address"
-msgstr ""
+msgstr "Saldo av Address"
#: www/views/includes/confirmBackupPopup.html:7
msgid "Be sure to store your recovery phrase in a secure place. If this app is deleted, your money cannot be recovered without it."
@@ -369,7 +373,7 @@ msgstr ""
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
msgid "Bitcoin Cash Wallets"
-msgstr ""
+msgstr "Bitcoin Cash plånböcker"
#: www/views/modals/chooseFeeLevel.html:4
#: www/views/preferencesFee.html:4
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr ""
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr ""
@@ -615,10 +620,14 @@ msgstr ""
msgid "Connection reset by peer"
msgstr ""
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr ""
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr ""
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr ""
@@ -819,7 +828,7 @@ msgstr ""
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr ""
@@ -2529,6 +2538,14 @@ msgstr ""
msgid "Search or enter bitcoin address"
msgstr ""
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr ""
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr ""
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr ""
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr ""
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr ""
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr ""
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr ""
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr ""
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr ""
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr ""
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr ""
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr ""
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr ""
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr ""
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr ""
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr ""
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr ""
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr ""
@@ -3632,3 +3710,51 @@ msgstr ""
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr ""
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr ""
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr ""
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr ""
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr ""
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr ""
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr ""
+
diff --git a/i18n/po/template.pot b/i18n/po/template.pot
index d97008340..a23e5dbae 100644
--- a/i18n/po/template.pot
+++ b/i18n/po/template.pot
@@ -1,3624 +1,3701 @@
-msgid ""
-msgstr ""
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Project-Id-Version: \n"
-
-#: www/views/modals/paypro.html:34
-msgid "(Trusted)"
-msgstr ""
-
-#: www/views/includes/txp.html:23
-#: www/views/includes/walletHistory.html:64
-msgid "(possible double spend)"
-msgstr ""
-
-#: www/views/modals/txp-details.html:159
-msgid "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
-msgstr ""
-
-#: www/views/tx-details.html:82
-msgid "- {{btx.feeRateStr}} of the transaction"
-msgstr ""
-
-#: www/views/modals/txp-details.html:102
-msgid "- {{tx.feeRateStr}} of the transaction"
-msgstr ""
-
-#: www/views/feedback/rateApp.html:7
-msgid "5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!"
-msgstr ""
-
-#: www/views/mercadoLibre.html:18
-#: www/views/mercadoLibre.html:40
-msgid "Only redeemable on Mercado Livre (Brazil)"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:27
-#: www/views/feedback/complete.html:21
-msgid "A member of the team will review your feedback as soon as possible."
-msgstr ""
-
-#: src/js/controllers/confirm.js:401
-msgid "A total of {{amountAboveMaxSizeStr}} were excluded. The maximum size allowed for a transaction was exceeded."
-msgstr ""
-
-#: src/js/controllers/confirm.js:395
-msgid "A total of {{amountBelowFeeStr}} were excluded. These funds come from UTXOs smaller than the network fee provided."
-msgstr ""
-
-#: src/js/controllers/preferencesAbout.js:6
-#: www/views/tab-settings.html:156
-msgid "About"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:62
-#: src/js/controllers/tx-details.js:79
-msgid "Accepted"
-msgstr ""
-
-#: www/views/preferencesInformation.html:72
-msgid "Account"
-msgstr ""
-
-#: www/views/join.html:72
-#: www/views/tab-create-personal.html:45
-#: www/views/tab-create-shared.html:74
-#: www/views/tab-import-hardware.html:19
-msgid "Account Number"
-msgstr ""
-
-#: www/views/preferencesBitpayServices.html:23
-msgid "Accounts"
-msgstr ""
-
-#: www/views/bitpayCard.html:56
-msgid "Activity"
-msgstr ""
-
-#: src/js/services/bitpayAccountService.js:83
-msgid "Add Account"
-msgstr ""
-
-#: src/js/services/bitpayAccountService.js:69
-msgid "Add BitPay Account?"
-msgstr ""
-
-#: www/views/addressbook.add.html:4
-#: www/views/addressbook.html:22
-msgid "Add Contact"
-msgstr ""
-
-#: www/views/bitpayCard.html:28
-msgid "Add Funds"
-msgstr ""
-
-#: www/views/confirm.html:94
-msgid "Add Memo"
-msgstr ""
-
-#: www/views/join.html:87
-#: www/views/tab-create-personal.html:59
-#: www/views/tab-create-shared.html:88
-msgid "Add a password"
-msgstr ""
-
-#: www/views/includes/accountSelector.html:27
-msgid "Add account"
-msgstr ""
-
-#: www/views/join.html:90
-#: www/views/tab-create-personal.html:62
-#: www/views/tab-create-shared.html:91
-msgid "Add an optional password to secure the recovery phrase"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:41
-msgid "Add as a contact"
-msgstr ""
-
-#: src/js/controllers/confirm.js:424
-msgid "Add description"
-msgstr ""
-
-#: www/views/topup.html:6
-msgid "Add funds"
-msgstr ""
-
-#: src/js/services/bitpayAccountService.js:78
-msgid "Add this BitPay account ({{email}})?"
-msgstr ""
-
-#: www/views/add.html:3
-msgid "Add wallet"
-msgstr ""
-
-#: www/views/addressbook.view.html:26
-#: www/views/customAmount.html:28
-#: www/views/modals/paypro.html:24
-msgid "Address"
-msgstr ""
-
-#: www/views/addressbook.html:6
-#: www/views/tab-settings.html:13
-msgid "Address Book"
-msgstr ""
-
-#: www/views/preferencesInformation.html:41
-msgid "Address Type"
-msgstr ""
-
-#: www/views/addresses.html:64
-msgid "Addresses With Balance"
-msgstr ""
-
-#: www/views/tab-settings.html:149
-msgid "Advanced"
-msgstr ""
-
-#: www/views/advancedSettings.html:3
-msgid "Advanced Settings"
-msgstr ""
-
-#: www/views/bitpayCard.html:62
-msgid "All"
-msgstr ""
-
-#: www/views/allAddresses.html:3
-msgid "All Addresses"
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:18
-msgid "All of your bitcoin wallet balance may not be available for immediate spending."
-msgstr ""
-
-#: www/views/tab-receive.html:25
-msgid "All signing devices must be added to this multisig wallet before bitcoin addresses can be created."
-msgstr ""
-
-#: www/views/tab-scan.html:21
-msgid "Allow Camera Access"
-msgstr ""
-
-#: www/views/onboarding/notifications.html:7
-msgid "Allow notifications"
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:14
-msgid "Almost done! Let's review."
-msgstr ""
-
-#: www/views/preferencesAltCurrency.html:4
-#: www/views/tab-settings.html:79
-msgid "Alternative Currency"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:98
-msgid "Amazon.com is not available at this moment. Please try back later."
-msgstr ""
-
-#: www/views/amount.html:44
-#: www/views/customAmount.html:34
-#: www/views/includes/output.html:7
-msgid "Amount"
-msgstr ""
-
-#: src/js/services/bwcError.js:110
-msgid "Amount below minimum allowed"
-msgstr ""
-
-#: src/js/controllers/confirm.js:216
-msgid "Amount too big"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:31
-msgid "Amount too low to spend"
-msgstr ""
-
-#: src/js/controllers/tab-home.js:147
-msgid "An update to this app is available. For your security, please update to the latest version."
-msgstr ""
-
-#: www/views/backupWarning.html:14
-msgid "Anyone with your backup phrase can access or spend your bitcoin."
-msgstr ""
-
-#: www/views/addresses.html:94
-msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
-msgstr ""
-
-#: www/views/backupWarning.html:10
-msgid "Are you being watched?"
-msgstr ""
-
-#: src/js/controllers/preferencesExternal.js:15
-msgid "Are you being watched? Anyone with your recovery phrase can access or spend your bitcoin."
-msgstr ""
-
-#: src/js/controllers/copayers.js:56
-msgid "Are you sure you want to cancel and delete this wallet?"
-msgstr ""
-
-#: src/js/controllers/addressbookView.js:37
-msgid "Are you sure you want to delete this contact?"
-msgstr ""
-
-#: src/js/controllers/preferencesDelete.js:25
-msgid "Are you sure you want to delete this wallet?"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:154
-msgid "Are you sure you want to reject this transaction?"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:171
-msgid "Are you sure you want to remove this transaction?"
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:23
-msgid "Are you sure you want to skip it?"
-msgstr ""
-
-#: www/views/modals/bitpay-card-confirmation.html:4
-msgid "Are you sure you would like to log out of your BitPay Card account?"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayCard.js:7
-#: src/js/controllers/preferencesBitpayServices.js:20
-msgid "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
-msgstr ""
-
-#: www/views/includes/walletInfo.html:10
-msgid "Auditable"
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:42
-msgid "Available"
-msgstr ""
-
-#: www/views/includes/available-balance.html:3
-msgid "Available Balance"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:24
-#: www/views/preferencesFee.html:15
-msgid "Average confirmation time"
-msgstr ""
-
-#: www/views/join.html:143
-#: www/views/tab-create-personal.html:113
-#: www/views/tab-create-shared.html:142
-#: www/views/tab-import-phrase.html:51
-msgid "BIP32 path for address derivation"
-msgstr ""
-
-#: www/views/cashScan.html:25
-msgid "BTC wallets"
-msgstr ""
-
-#: www/views/preferences.html:34
-msgid "Backup"
-msgstr ""
-
-#: www/views/includes/backupNeededPopup.html:7
-msgid "Backup Needed"
-msgstr ""
-
-#: src/js/controllers/lockSetup.js:87
-msgid "Backup all livenet wallets before using this function"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:64
-#: www/views/includes/walletListSettings.html:12
-#: www/views/preferences.html:36
-msgid "Backup needed"
-msgstr ""
-
-#: www/views/includes/backupNeededPopup.html:9
-msgid "Backup now"
-msgstr ""
-
-#: www/views/onboarding/backupRequest.html:11
-#: www/views/tab-export-file.html:89
-msgid "Backup wallet"
-msgstr ""
-
-#: src/js/controllers/lockSetup.js:84
-msgid "Backup your wallet before using this function"
-msgstr ""
-
-#: src/js/services/profileService.js:446
-msgid "Bad wallet invitation"
-msgstr ""
-
-#: www/views/preferencesInformation.html:102
-msgid "Balance By Address"
-msgstr ""
-
-#: www/views/includes/confirmBackupPopup.html:7
-msgid "Be sure to store your recovery phrase in a secure place. If this app is deleted, your money cannot be recovered without it."
-msgstr ""
-
-#: www/views/preferencesBitpayServices.html:9
-msgid "BitPay Visa® Cards"
-msgstr ""
-
-#: www/views/addressbook.add.html:38
-#: www/views/includes/incomingDataMenu.html:29
-msgid "Bitcoin Address"
-msgstr ""
-
-#: www/views/cashScan.html:4
-msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
-
-#: www/views/preferencesCash.html:3
-#: www/views/tab-settings.html:47
-msgid "Bitcoin Cash Support"
-msgstr ""
-
-#: www/views/tab-home.html:98
-#: www/views/tab-settings.html:115
-msgid "Bitcoin Cash Wallets"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:4
-#: www/views/preferencesFee.html:4
-#: www/views/tab-settings.html:90
-msgid "Bitcoin Network Fee Policy"
-msgstr ""
-
-#: www/views/tab-home.html:83
-#: www/views/tab-settings.html:107
-msgid "Bitcoin Core Wallets"
-msgstr ""
-
-#: src/js/services/incomingData.js:151
-msgid "Bitcoin cash Payment"
-msgstr ""
-
-#: www/views/onboarding/tour.html:31
-msgid "Bitcoin is a currency."
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:15
-msgid "Bitcoin is different – it cannot be safely held with a bank or web service."
-msgstr ""
-
-#: www/views/onboarding/tour.html:18
-msgid "Bitcoin is secure, digital money."
-msgstr ""
-
-#: www/views/preferencesFee.html:11
-msgid "Bitcoin transactions include a fee collected by miners on the network."
-msgstr ""
-
-#: www/views/buyAmazon.html:108
-msgid "Bought {{amountUnitStr}}"
-msgstr ""
-
-#: www/views/modals/txp-details.html:36
-msgid "Broadcast Payment"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:64
-#: src/js/controllers/tx-details.js:81
-msgid "Broadcasted"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:11
-msgid "Broadcasting transaction"
-msgstr ""
-
-#: www/views/unsupported.html:6
-msgid "Browser unsupported"
-msgstr ""
-
-#: www/views/buyAmazon.html:5
-#: www/views/buyMercadoLibre.html:6
-msgid "Buy"
-msgstr ""
-
-#: www/views/includes/buyAndSellCard.html:3
-msgid "Buy & Sell Bitcoin"
-msgstr ""
-
-#: www/views/tab-send.html:35
-msgid "Buy Bitcoin"
-msgstr ""
-
-#: www/views/mercadoLibre.html:22
-#: www/views/mercadoLibre.html:50
-msgid "Buy a Gift Card"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:334
-msgid "Buy from"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:40
-msgid "Buying Bitcoin..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:12
-msgid "Calculating fee"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:313
-#: src/js/controllers/buyMercadoLibre.js:307
-#: src/js/controllers/confirm.js:550
-#: src/js/controllers/topup.js:287
-#: src/js/services/incomingData.js:154
-#: src/js/services/popupService.js:62
-#: src/js/services/popupService.js:73
-#: www/views/addressbook.add.html:10
-#: www/views/feedback/send.html:5
-#: www/views/includes/incomingDataMenu.html:22
-#: www/views/includes/incomingDataMenu.html:54
-#: www/views/includes/incomingDataMenu.html:73
-#: www/views/includes/incomingDataMenu.html:97
-#: www/views/includes/note.html:6
-#: www/views/modals/bitpay-card-confirmation.html:8
-#: www/views/modals/confirmation.html:13
-msgid "Cancel"
-msgstr ""
-
-#: www/views/copayers.html:36
-msgid "Cancel invitation"
-msgstr ""
-
-#: src/js/controllers/onboarding/tour.js:52
-msgid "Cannot Create Wallet"
-msgstr ""
-
-#: src/js/services/profileService.js:442
-msgid "Cannot join the same wallet more that once"
-msgstr ""
-
-#: www/views/includes/bitpayCardsCard.html:2
-msgid "Cards"
-msgstr ""
-
-#: www/views/modals/paypro.html:30
-msgid "Certified by"
-msgstr ""
-
-#: www/views/preferencesExternal.html:19
-msgid "Check installation and retry."
-msgstr ""
-
-#: www/views/tab-import-file.html:4
-msgid "Choose a backup file from your computer"
-msgstr ""
-
-#: www/views/modals/wallets.html:9
-msgid "Choose your destination wallet"
-msgstr ""
-
-#: www/views/modals/wallets.html:10
-msgid "Choose your source wallet"
-msgstr ""
-
-#: www/views/backup.html:61
-msgid "Clear"
-msgstr ""
-
-#: www/views/preferencesHistory.html:24
-msgid "Clear cache"
-msgstr ""
-
-#: src/js/controllers/confirm.js:373
-#: src/js/controllers/modals/txpDetails.js:49
-msgid "Click to accept"
-msgstr ""
-
-#: src/js/controllers/confirm.js:367
-msgid "Click to pay"
-msgstr ""
-
-#: src/js/controllers/confirm.js:379
-#: src/js/controllers/modals/txpDetails.js:42
-msgid "Click to send"
-msgstr ""
-
-#: www/views/customAmount.html:4
-#: www/views/modals/mercadolibre-card-details.html:3
-#: www/views/modals/paypro.html:4
-#: www/views/modals/pin.html:3
-#: www/views/modals/search.html:3
-#: www/views/modals/wallet-balance.html:3
-#: www/views/modals/wallets.html:5
-msgid "Close"
-msgstr ""
-
-#: www/views/includes/cash.html:2
-#: www/views/preferencesInformation.html:17
-msgid "Coin"
-msgstr ""
-
-#: www/views/preferences.html:22
-msgid "Color"
-msgstr ""
-
-#: www/views/preferencesAbout.html:21
-msgid "Commit hash"
-msgstr ""
-
-#: www/views/preferences.html:49
-msgid "Complete the backup process to use this option"
-msgstr ""
-
-#: www/views/bitpayCard.html:93
-msgid "Completed"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:311
-#: src/js/controllers/buyMercadoLibre.js:305
-#: src/js/controllers/confirm.js:549
-#: src/js/controllers/copayers.js:55
-#: src/js/controllers/topup.js:285
-#: www/views/backup.html:60
-#: www/views/backup.html:79
-#: www/views/confirm.html:4
-#: www/views/onboarding/collectEmail.html:32
-msgid "Confirm"
-msgstr ""
-
-#: www/views/modals/terms.html:26
-#: www/views/onboarding/disclaimer.html:44
-msgid "Confirm & Finish"
-msgstr ""
-
-#: www/views/buyAmazon.html:90
-msgid "Confirm purchase"
-msgstr ""
-
-#: www/views/modals/pin.html:10
-msgid "Confirm your PIN"
-msgstr ""
-
-#: src/js/services/walletService.js:1033
-msgid "Confirm your new spending password"
-msgstr ""
-
-#: www/views/tx-details.html:98
-msgid "Confirmations"
-msgstr ""
-
-#: www/views/bitpayCard.html:68
-#: www/views/modals/wallet-balance.html:61
-msgid "Confirming"
-msgstr ""
-
-#: www/views/bitpayCardIntro.html:37
-msgid "Connect my BitPay Card"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:13
-msgid "Connecting to Coinbase..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:14
-msgid "Connecting to Glidera..."
-msgstr ""
-
-#: src/js/services/bwcError.js:53
-msgid "Connection reset by peer"
-msgstr ""
-
-#: www/views/tab-send.html:45
-msgid "Contacts"
-msgstr ""
-
-#: www/views/onboarding/notifications.html:9
-msgid "Continue"
-msgstr ""
-
-#: www/views/preferencesLanguage.html:26
-msgid "Contribute Translations"
-msgstr ""
-
-#: src/js/controllers/confirm.js:130
-msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
-msgstr ""
-
-#: src/js/services/bwcError.js:62
-msgid "Copayer already in this wallet"
-msgstr ""
-
-#: src/js/services/bwcError.js:77
-msgid "Copayer already voted on this spend proposal"
-msgstr ""
-
-#: src/js/services/bwcError.js:107
-msgid "Copayer data mismatch"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:2
-msgid "Copayer joined"
-msgstr ""
-
-#: www/views/preferencesInformation.html:94
-msgid "Copayer {{$index}}"
-msgstr ""
-
-#: src/js/controllers/copayers.js:79
-#: src/js/controllers/export.js:193
-#: www/views/includes/copyToClipboard.html:4
-msgid "Copied to clipboard"
-msgstr ""
-
-#: www/views/tab-export-file.html:94
-msgid "Copy this text as it is to a safe place (notepad or email)"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:51
-#: www/views/includes/incomingDataMenu.html:70
-#: www/views/includes/incomingDataMenu.html:94
-#: www/views/includes/logOptions.html:9
-#: www/views/tab-export-file.html:78
-msgid "Copy to clipboard"
-msgstr ""
-
-#: src/js/controllers/buyMercadoLibre.js:102
-msgid "Could not access Gift Card Service"
-msgstr ""
-
-#: www/views/tab-import-phrase.html:2
-msgid "Could not access the wallet at the server. Please check:"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:102
-msgid "Could not access to Amazon.com"
-msgstr ""
-
-#: src/js/services/profileService.js:511
-msgid "Could not access wallet"
-msgstr ""
-
-#: src/js/controllers/confirm.js:210
-msgid "Could not add message to imported wallet without shared encrypting key"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:199
-msgid "Could not broadcast payment"
-msgstr ""
-
-#: src/js/services/bwcError.js:41
-msgid "Could not build transaction"
-msgstr ""
-
-#: src/js/services/walletService.js:854
-msgid "Could not create address"
-msgstr ""
-
-#: src/js/controllers/topup.js:92
-msgid "Could not create the invoice"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:164
-#: src/js/controllers/buyMercadoLibre.js:164
-#: src/js/controllers/topup.js:142
-msgid "Could not create transaction"
-msgstr ""
-
-#: src/js/services/profileService.js:350
-msgid "Could not create using the specified extended private key"
-msgstr ""
-
-#: src/js/services/profileService.js:362
-msgid "Could not create using the specified extended public key"
-msgstr ""
-
-#: src/js/services/profileService.js:338
-msgid "Could not create: Invalid wallet recovery phrase"
-msgstr ""
-
-#: src/js/controllers/import.js:114
-msgid "Could not decrypt file, check your password"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:181
-msgid "Could not delete payment proposal"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:117
-msgid "Could not duplicate"
-msgstr ""
-
-#: src/js/services/feeService.js:73
-msgid "Could not get dynamic fee"
-msgstr ""
-
-#: src/js/services/feeService.js:43
-msgid "Could not get dynamic fee for level: {{feeLevel}}"
-msgstr ""
-
-#: src/js/controllers/modals/feeLevels.js:112
-msgid "Could not get fee levels"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:122
-#: src/js/controllers/buyMercadoLibre.js:122
-#: src/js/controllers/topup.js:100
-msgid "Could not get the invoice"
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:66
-msgid "Could not get transactions"
-msgstr ""
-
-#: src/js/services/profileService.js:615
-#: src/js/services/profileService.js:650
-#: src/js/services/profileService.js:674
-msgid "Could not import"
-msgstr ""
-
-#: src/js/services/profileService.js:584
-msgid "Could not import. Check input file and spending password"
-msgstr ""
-
-#: src/js/services/profileService.js:457
-msgid "Could not join wallet"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:161
-msgid "Could not reject payment"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayServices.js:33
-msgid "Could not remove account"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayCard.js:20
-#: src/js/controllers/preferencesBitpayServices.js:50
-msgid "Could not remove card"
-msgstr ""
-
-#: src/js/services/walletService.js:776
-msgid "Could not save preferences on the server"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:147
-msgid "Could not send payment"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:325
-#: src/js/controllers/buyMercadoLibre.js:318
-#: src/js/controllers/topup.js:299
-msgid "Could not send transaction"
-msgstr ""
-
-#: www/views/walletDetails.html:210
-msgid "Could not update transaction history"
-msgstr ""
-
-#: src/js/controllers/addresses.js:29
-#: src/js/controllers/addresses.js:37
-#: src/js/controllers/copayers.js:30
-#: src/js/controllers/walletDetails.js:78
-msgid "Could not update wallet"
-msgstr ""
-
-#: www/views/tab-create-personal.html:3
-msgid "Create Personal Wallet"
-msgstr ""
-
-#: www/views/tab-create-shared.html:3
-msgid "Create Shared Wallet"
-msgstr ""
-
-#: www/views/onboarding/tour.html:51
-#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
-msgid "Create bitcoin wallet"
-msgstr ""
-
-#: www/views/tab-create-personal.html:131
-msgid "Create new wallet"
-msgstr ""
-
-#: www/views/add.html:22
-msgid "Create shared wallet"
-msgstr ""
-
-#: www/views/tab-create-shared.html:160
-msgid "Create {{formData.requiredCopayers}}-of-{{formData.totalCopayers}} wallet"
-msgstr ""
-
-#: www/views/modals/txp-details.html:81
-#: www/views/tx-details.html:60
-msgid "Created by"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:18
-msgid "Creating Wallet..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:17
-msgid "Creating transaction"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:34
-#: www/views/preferencesFee.html:20
-msgid "Current fee rate for this policy"
-msgstr ""
-
-#: src/js/services/feeService.js:15
-msgid "Custom"
-msgstr ""
-
-#: www/views/customAmount.html:9
-msgid "Custom Amount"
-msgstr ""
-
-#: src/js/controllers/preferencesFee.js:85
-msgid "Custom Fee"
-msgstr ""
-
-#: www/views/modals/mercadolibre-card-details.html:56
-#: www/views/modals/txp-details.html:87
-#: www/views/tx-details.html:66
-msgid "Date"
-msgstr ""
-
-#: www/views/preferencesDeleteWallet.html:21
-msgid "Delete"
-msgstr ""
-
-#: www/views/modals/txp-details.html:164
-msgid "Delete Payment Proposal"
-msgstr ""
-
-#: www/views/preferencesAdvanced.html:33
-#: www/views/preferencesDeleteWallet.html:3
-msgid "Delete Wallet"
-msgstr ""
-
-#: www/views/copayers.html:59
-msgid "Delete it and create a new one"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:19
-msgid "Deleting Wallet..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:28
-msgid "Deleting payment proposal"
-msgstr ""
-
-#: www/views/join.html:141
-#: www/views/tab-create-personal.html:111
-#: www/views/tab-create-shared.html:140
-#: www/views/tab-import-phrase.html:49
-msgid "Derivation Path"
-msgstr ""
-
-#: www/views/preferencesInformation.html:47
-msgid "Derivation Strategy"
-msgstr ""
-
-#: www/views/buyAmazon.html:39
-#: www/views/buyMercadoLibre.html:38
-#: www/views/modals/mercadolibre-card-details.html:6
-#: www/views/topup.html:45
-msgid "Details"
-msgstr ""
-
-#: src/js/controllers/lockSetup.js:9
-#: src/js/controllers/tab-settings.js:65
-#: www/views/tab-settings.html:50
-msgid "Disabled"
-msgstr ""
-
-#: www/views/includes/backupNeededPopup.html:10
-#: www/views/onboarding/backupRequest.html:12
-msgid "Do it later"
-msgstr ""
-
-#: www/views/tab-export-file.html:29
-msgid "Do not include private key"
-msgstr ""
-
-#: www/views/preferencesLanguage.html:21
-msgid "Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language."
-msgstr ""
-
-#: www/views/tab-export-file.html:59
-#: www/views/tab-home.html:22
-msgid "Download"
-msgstr ""
-
-#: www/views/cashScan.html:37
-msgid "Duplicate for BCH"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:49
-msgid "Duplicating wallet..."
-msgstr ""
-
-#: www/views/addresses.html:19
-msgid "Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment."
-msgstr ""
-
-#: src/js/services/feeService.js:13
-msgid "Economy"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:27
-msgid "Edit"
-msgstr ""
-
-#: www/views/addressbook.add.html:29
-#: www/views/addressbook.view.html:22
-msgid "Email"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:42
-msgid "Email Address"
-msgstr ""
-
-#: src/js/services/bwcError.js:122
-msgid "Empty addresses limit reached. New addresses cannot be generated."
-msgstr ""
-
-#: www/views/preferencesCash.html:17
-msgid "Enable Bitcoin Cash wallet creation and operation within the App."
-msgstr ""
-
-#: www/views/tab-scan.html:19
-msgid "Enable camera access in your device settings to get started."
-msgstr ""
-
-#: www/views/preferencesNotifications.html:29
-msgid "Enable email notifications"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:12
-msgid "Enable push notifications"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:33
-msgid "Enable sound"
-msgstr ""
-
-#: www/views/tab-scan.html:18
-msgid "Enable the camera to get started."
-msgstr ""
-
-#: www/views/tab-settings.html:49
-msgid "Enabled"
-msgstr ""
-
-#: src/js/services/walletService.js:1047
-#: src/js/services/walletService.js:1062
-msgid "Enter Spending Password"
-msgstr ""
-
-#: src/js/services/bitpayAccountService.js:110
-msgid "Enter Two Factor for your BitPay account"
-msgstr ""
-
-#: www/views/amount.html:4
-msgid "Enter amount"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:41
-msgid "Enter custom fee"
-msgstr ""
-
-#: src/js/services/walletService.js:1029
-msgid "Enter new spending password"
-msgstr ""
-
-#: www/views/join.html:79
-#: www/views/tab-create-personal.html:51
-#: www/views/tab-create-shared.html:80
-msgid "Enter the recovery phrase (BIP39)"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:13
-msgid "Enter your email"
-msgstr ""
-
-#: www/views/backup.html:69
-msgid "Enter your password"
-msgstr ""
-
-#. Trying to import a malformed wallet export QR code
-#: src/js/controllers/activity.js:45
-#: src/js/controllers/addressbookAdd.js:30
-#: src/js/controllers/addressbookView.js:42
-#: src/js/controllers/addresses.js:125
-#: src/js/controllers/addresses.js:126
-#: src/js/controllers/bitpayCard.js:66
-#: src/js/controllers/bitpayCardIntro.js:40
-#: src/js/controllers/bitpayCardIntro.js:81
-#: src/js/controllers/buyAmazon.js:24
-#: src/js/controllers/buyAmazon.js:35
-#: src/js/controllers/buyMercadoLibre.js:24
-#: src/js/controllers/buyMercadoLibre.js:35
-#: src/js/controllers/confirm.js:307
-#: src/js/controllers/copayers.js:67
-#: src/js/controllers/create.js:161
-#: src/js/controllers/create.js:174
-#: src/js/controllers/create.js:180
-#: src/js/controllers/create.js:186
-#: src/js/controllers/create.js:208
-#: src/js/controllers/create.js:215
-#: src/js/controllers/create.js:233
-#: src/js/controllers/export.js:109
-#: src/js/controllers/export.js:115
-#: src/js/controllers/export.js:126
-#: src/js/controllers/export.js:154
-#: src/js/controllers/export.js:160
-#: src/js/controllers/export.js:171
-#: src/js/controllers/export.js:47
-#: src/js/controllers/export.js:53
-#: src/js/controllers/feedback/send.js:23
-#: src/js/controllers/import.js:119
-#: src/js/controllers/import.js:131
-#: src/js/controllers/import.js:149
-#: src/js/controllers/import.js:200
-#: src/js/controllers/import.js:229
-#: src/js/controllers/import.js:238
-#: src/js/controllers/import.js:254
-#: src/js/controllers/import.js:266
-#: src/js/controllers/import.js:278
-#: src/js/controllers/import.js:288
-#: src/js/controllers/import.js:312
-#: src/js/controllers/import.js:325
-#: src/js/controllers/import.js:335
-#: src/js/controllers/import.js:345
-#: src/js/controllers/import.js:369
-#: src/js/controllers/import.js:382
-#: src/js/controllers/import.js:85
-#: src/js/controllers/import.js:98
-#: src/js/controllers/join.js:125
-#: src/js/controllers/join.js:139
-#: src/js/controllers/join.js:145
-#: src/js/controllers/join.js:151
-#: src/js/controllers/join.js:174
-#: src/js/controllers/join.js:182
-#: src/js/controllers/join.js:200
-#: src/js/controllers/modals/feeLevels.js:9
-#: src/js/controllers/modals/txpDetails.js:140
-#: src/js/controllers/paperWallet.js:47
-#: src/js/controllers/preferencesBitpayCard.js:20
-#: src/js/controllers/preferencesBitpayServices.js:33
-#: src/js/controllers/preferencesBitpayServices.js:50
-#: src/js/controllers/preferencesDelete.js:36
-#: src/js/controllers/preferencesExternal.js:20
-#: src/js/controllers/tab-home.js:174
-#: src/js/controllers/tab-send.js:143
-#: src/js/controllers/tabsController.js:36
-#: src/js/controllers/tabsController.js:7
-#: src/js/controllers/topup.js:21
-#: src/js/controllers/topup.js:32
-#: src/js/controllers/tx-details.js:119
-#: src/js/services/incomingData.js:101
-#: src/js/services/incomingData.js:125
-#: src/js/services/incomingData.js:168
-#: www/views/mercadoLibreCards.html:19
-#: www/views/modals/mercadolibre-card-details.html:45
-msgid "Error"
-msgstr ""
-
-#: src/js/controllers/confirm.js:502
-msgid "Error at confirm"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:179
-msgid "Error creating gift card"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:94
-#: src/js/controllers/buyMercadoLibre.js:94
-msgid "Error creating the invoice"
-msgstr ""
-
-#: src/js/services/profileService.js:412
-msgid "Error creating wallet"
-msgstr ""
-
-#: src/js/controllers/confirm.js:296
-msgid "Error getting SendMax information"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:136
-#: src/js/controllers/buyMercadoLibre.js:136
-#: src/js/controllers/topup.js:114
-msgid "Error in Payment Protocol"
-msgstr ""
-
-#: src/js/controllers/bitpayCardIntro.js:14
-msgid "Error pairing BitPay Account"
-msgstr ""
-
-#: src/js/controllers/paperWallet.js:41
-msgid "Error scanning funds:"
-msgstr ""
-
-#: src/js/controllers/paperWallet.js:90
-msgid "Error sweeping wallet:"
-msgstr ""
-
-#: src/js/controllers/bitpayCardIntro.js:20
-msgid "Error updating Debit Cards"
-msgstr ""
-
-#: src/js/services/bwcError.js:143
-msgid "Exceeded daily limit of $500 per user"
-msgstr ""
-
-#: src/js/controllers/confirm.js:461
-#: www/views/confirm.html:27
-#: www/views/mercadoLibreCards.html:25
-#: www/views/modals/mercadolibre-card-details.html:34
-#: www/views/modals/txp-details.html:119
-msgid "Expired"
-msgstr ""
-
-#: www/views/modals/paypro.html:54
-#: www/views/modals/txp-details.html:125
-msgid "Expires"
-msgstr ""
-
-#: www/views/preferencesAdvanced.html:21
-msgid "Export Wallet"
-msgstr ""
-
-#: www/views/preferencesHistory.html:11
-#: www/views/preferencesHistory.html:14
-msgid "Export to file"
-msgstr ""
-
-#: www/views/export.html:3
-msgid "Export wallet"
-msgstr ""
-
-#: src/js/services/walletService.js:1174
-#: www/views/tab-export-qrCode.html:9
-msgid "Exporting via QR not supported for this wallet"
-msgstr ""
-
-#: www/views/preferencesInformation.html:89
-msgid "Extended Public Keys"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:20
-msgid "Extracting Wallet information..."
-msgstr ""
-
-#: src/js/controllers/export.js:115
-#: src/js/controllers/export.js:126
-#: src/js/controllers/export.js:160
-#: src/js/controllers/export.js:171
-#: www/views/tab-export-file.html:4
-msgid "Failed to export"
-msgstr ""
-
-#: www/views/tab-create-personal.html:14
-#: www/views/tab-create-shared.html:14
-msgid "Family vacation funds"
-msgstr ""
-
-#: www/views/tx-details.html:79
-msgid "Fee"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:75
-msgid "Fee level"
-msgstr ""
-
-#: src/js/controllers/modals/feeLevels.js:100
-msgid "Fee level is not defined"
-msgstr ""
-
-#: www/views/confirm.html:79
-#: www/views/modals/txp-details.html:99
-msgid "Fee:"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:23
-msgid "Feedback could not be submitted. Please try again later."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:42
-msgid "Fetching BitPay Account..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:21
-msgid "Fetching payment information"
-msgstr ""
-
-#: www/views/export.html:14
-#: www/views/import.html:16
-msgid "File/Text"
-msgstr ""
-
-#: www/views/preferencesLogs.html:17
-msgid "Filter setting"
-msgstr ""
-
-#: src/js/services/fingerprintService.js:43
-#: src/js/services/fingerprintService.js:48
-msgid "Finger Scan Failed"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:34
-#: www/views/feedback/complete.html:7
-msgid "Finish"
-msgstr ""
-
-#: www/views/tab-create-personal.html:123
-#: www/views/tab-create-shared.html:152
-msgid "For audit purposes"
-msgstr ""
-
-#: src/js/controllers/topup.js:308
-#: www/views/buyAmazon.html:29
-#: www/views/buyMercadoLibre.html:28
-#: www/views/confirm.html:65
-#: www/views/modals/txp-details.html:74
-#: www/views/topup.html:34
-#: www/views/tx-details.html:52
-msgid "From"
-msgstr ""
-
-#: src/js/controllers/bitpayCardIntro.js:71
-msgid "From BitPay account"
-msgstr ""
-
-#: www/views/tab-import-phrase.html:57
-msgid "From Hardware Wallet"
-msgstr ""
-
-#: www/views/tab-export-qrCode.html:5
-msgid "From the destination device, go to Add wallet > Import wallet and scan this QR code"
-msgstr ""
-
-#: src/js/services/bwcError.js:74
-msgid "Funds are locked by pending spend proposals"
-msgstr ""
-
-#: www/views/paperWallet.html:16
-msgid "Funds found:"
-msgstr ""
-
-#: www/views/topup.html:49
-msgid "Funds to be added"
-msgstr ""
-
-#: www/views/paperWallet.html:51
-msgid "Funds transferred"
-msgstr ""
-
-#: www/views/topup.html:103
-msgid "Funds were added to debit card"
-msgstr ""
-
-#: www/views/paperWallet.html:22
-msgid "Funds will be transferred to"
-msgstr ""
-
-#: www/views/tab-receive.html:51
-msgid "Generate new address"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:22
-msgid "Generating .csv file..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:37
-msgid "Generating new address..."
-msgstr ""
-
-#: www/views/bitpayCardIntro.html:23
-msgid "Get local cash anywhere you go, from any Visa® compatible ATM. ATM bank fees may apply."
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:15
-msgid "Get news and updates from BitPay"
-msgstr ""
-
-#: www/views/onboarding/welcome.html:8
-msgctxt "button"
-msgid "Get started"
-msgstr ""
-
-#: www/views/bitpayCard.html:49
-msgid "Get started"
-msgstr ""
-
-#: www/views/addressbook.html:20
-msgid "Get started by adding your first one."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:23
-msgid "Getting fee levels..."
-msgstr ""
-
-#: www/views/buyAmazon.html:43
-#: www/views/buyMercadoLibre.html:42
-msgid "Gift Card"
-msgstr ""
-
-#: www/views/modals/mercadolibre-card-details.html:30
-#: www/views/modals/mercadolibre-card-details.html:35
-msgid "Gift Card is not available to use anymore"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:204
-msgid "Gift card expired"
-msgstr ""
-
-#: www/views/buyAmazon.html:111
-msgid "Gift card generated and ready to use."
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:114
-#: src/js/controllers/bitpayCard.js:124
-#: src/js/controllers/cashScan.js:20
-#: src/js/controllers/onboarding/terms.js:23
-#: src/js/controllers/preferences.js:67
-#: src/js/controllers/preferencesAbout.js:16
-#: src/js/controllers/preferencesCash.js:34
-#: src/js/controllers/preferencesLanguage.js:14
-#: src/js/controllers/tab-home.js:149
-#: src/js/controllers/tab-settings.js:53
-#: src/js/controllers/tx-details.js:193
-#: src/js/controllers/tx-details.js:56
-msgid "Go Back"
-msgstr ""
-
-#: src/js/controllers/confirm.js:131
-#: src/js/controllers/onboarding/backupRequest.js:20
-#: src/js/controllers/onboarding/backupRequest.js:26
-#: src/js/services/bitpayAccountService.js:84
-msgid "Go back"
-msgstr ""
-
-#: www/views/backupWarning.html:15
-#: www/views/includes/confirmBackupPopup.html:8
-#: www/views/onboarding/tour.html:23
-msgid "Got it"
-msgstr ""
-
-#: www/views/preferencesInformation.html:53
-#: www/views/preferencesInformation.html:59
-msgid "Hardware Wallet"
-msgstr ""
-
-#: www/views/preferencesExternal.html:18
-msgid "Hardware not connected."
-msgstr ""
-
-#: www/views/import.html:20
-msgid "Hardware wallet"
-msgstr ""
-
-#: src/js/controllers/create.js:180
-#: src/js/controllers/join.js:145
-msgid "Hardware wallets are not yet supported with Bitcoin Cash"
-msgstr ""
-
-#: www/views/tab-settings.html:20
-msgid "Help & Support"
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:112
-#: src/js/controllers/tab-settings.js:51
-msgid "Help and support information is available at the website."
-msgstr ""
-
-#: www/views/addresses.html:25
-msgid "Hide"
-msgstr ""
-
-#: www/views/preferences.html:27
-msgid "Hide Balance"
-msgstr ""
-
-#: www/views/advancedSettings.html:30
-msgid "Hide Next Steps Card"
-msgstr ""
-
-#: www/views/join.html:49
-#: www/views/tab-create-personal.html:28
-#: www/views/tab-create-shared.html:57
-#: www/views/tab-export-file.html:25
-#: www/views/tab-import-file.html:30
-#: www/views/tab-import-hardware.html:31
-#: www/views/tab-import-phrase.html:36
-msgid "Hide advanced options"
-msgstr ""
-
-#: www/views/tabs.html:3
-msgid "Home"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:61
-#: src/js/controllers/feedback/send.js:65
-#: src/js/controllers/feedback/send.js:69
-msgid "How could we improve your experience?"
-msgstr ""
-
-#: www/views/feedback/rateCard.html:3
-msgid "How do you like {{appName}}?"
-msgstr ""
-
-#: src/js/controllers/feedback/rateCard.js:29
-msgid "I don't like it"
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:43
-msgid "I have read, understood, and agree to the Terms of Use ."
-msgstr ""
-
-#: www/views/modals/terms.html:22
-msgid "I have read, understood, and agree with the Terms of use."
-msgstr ""
-
-#: www/views/join.html:137
-#: www/views/tab-create-personal.html:107
-#: www/views/tab-create-shared.html:136
-msgid "I have written it down"
-msgstr ""
-
-#: src/js/controllers/feedback/rateCard.js:35
-msgid "I like the app"
-msgstr ""
-
-#: src/js/controllers/feedback/rateCard.js:26
-msgid "I think this app is terrible."
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:19
-#: www/views/includes/screenshotWarningModal.html:9
-msgid "I understand"
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:21
-msgid "I understand that if this app is moved to another device or deleted, my bitcoin can only be recovered with the backup phrase."
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:18
-msgid "I understand that my funds are held securely on this device, not by a company."
-msgstr ""
-
-#: www/views/backup.html:36
-msgid "I've written it down"
-msgstr ""
-
-#: www/views/preferences.html:45
-msgid "If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with this wallet will be protected."
-msgstr ""
-
-#: www/views/advancedSettings.html:23
-msgid "If enabled, the Recent Transactions card - a list of transactions occuring across all wallets - will appear in the Home tab."
-msgstr ""
-
-#: www/views/advancedSettings.html:14
-msgid "If enabled, wallets will also try to spend unconfirmed funds. This option may cause transaction delays."
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:18
-msgid "If this device is replaced or this app is deleted, neither you nor BitPay can recover your funds without a backup."
-msgstr ""
-
-#: www/views/feedback/complete.html:23
-msgid "If you have additional feedback, please let us know by tapping the \"Send feedback\" option in the Settings tab."
-msgstr ""
-
-#: www/views/includes/screenshotWarningModal.html:8
-msgid "If you take a screenshot, your backup may be viewed by other apps. You can make a safe backup with physical paper and a pen."
-msgstr ""
-
-#: www/views/tab-import-hardware.html:42
-#: www/views/tab-import-phrase.html:80
-msgid "Import"
-msgstr ""
-
-#: www/views/import.html:3
-msgid "Import Wallet"
-msgstr ""
-
-#: www/views/tab-import-file.html:41
-msgid "Import backup"
-msgstr ""
-
-#: www/views/add.html:38
-msgid "Import wallet"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:24
-msgid "Importing Wallet..."
-msgstr ""
-
-#: www/views/backup.html:72
-msgid "In order to verify your wallet backup, please type your password."
-msgstr ""
-
-#: www/views/mercadoLibreCards.html:24
-#: www/views/modals/mercadolibre-card-details.html:29
-msgid "Inactive"
-msgstr ""
-
-#: www/views/includes/walletItem.html:9
-#: www/views/includes/walletList.html:6
-#: www/views/includes/walletListSettings.html:9
-#: www/views/includes/walletSelector.html:16
-msgid "Incomplete"
-msgstr ""
-
-#: www/views/tab-receive.html:22
-msgid "Incomplete wallet"
-msgstr ""
-
-#: www/views/modals/pin.html:12
-msgid "Incorrect PIN, try again."
-msgstr ""
-
-#. Trying to import a malformed wallet export QR code
-#: src/js/controllers/import.js:85
-msgid "Incorrect code format"
-msgstr ""
-
-#: src/js/services/bwcError.js:113
-msgid "Incorrect network address"
-msgstr ""
-
-#: src/js/controllers/confirm.js:114
-#: src/js/controllers/confirm.js:306
-#: src/js/services/bwcError.js:44
-msgid "Insufficient confirmed funds"
-msgstr ""
-
-#: src/js/controllers/topup.js:165
-#: src/js/controllers/topup.js:177
-#: src/js/services/bwcError.js:71
-msgid "Insufficient funds for fee"
-msgstr ""
-
-#: www/views/tab-settings.html:123
-msgid "Integrations"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:49
-msgid "Invalid"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:137
-#: src/js/controllers/buyMercadoLibre.js:137
-#: src/js/controllers/topup.js:115
-msgid "Invalid URL"
-msgstr ""
-
-#: src/js/controllers/create.js:186
-#: src/js/controllers/import.js:345
-#: src/js/controllers/join.js:151
-msgid "Invalid account number"
-msgstr ""
-
-#: src/js/services/bwcError.js:119
-msgid "Invalid address"
-msgstr ""
-
-#: src/js/controllers/tabsController.js:7
-msgid "Invalid data"
-msgstr ""
-
-#: src/js/controllers/create.js:161
-#: src/js/controllers/import.js:266
-#: src/js/controllers/join.js:125
-msgid "Invalid derivation path"
-msgstr ""
-
-#: src/js/controllers/copayers.js:90
-msgid "Invitation to share a {{appName}} Wallet"
-msgstr ""
-
-#: www/views/mercadoLibreCards.html:20
-#: www/views/modals/mercadolibre-card-details.html:48
-msgid "Invoice expired"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:79
-msgid "Is there anything we could do better?"
-msgstr ""
-
-#: www/views/backup.html:54
-msgid "Is this correct?"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:22
-msgid "Is this email address correct?"
-msgstr ""
-
-#: www/views/addresses.html:25
-msgid "It's a good idea to avoid reusing addresses - this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers."
-msgstr ""
-
-#: src/js/controllers/backup.js:76
-msgid "It's important that you write your backup phrase down correctly. If something happens to your wallet, you'll need this backup to recover your money. Please review your backup and try again."
-msgstr ""
-
-#: www/views/join.html:151
-msgid "Join"
-msgstr ""
-
-#: src/js/controllers/copayers.js:85
-msgid "Join my {{appName}} Wallet. Here is the invitation code: {{secret}} You can download {{appName}} for your phone or desktop at {{appUrl}}"
-msgstr ""
-
-#: www/views/add.html:30
-#: www/views/join.html:5
-msgid "Join shared wallet"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:25
-msgid "Joining Wallet..."
-msgstr ""
-
-#: www/views/onboarding/tour.html:22
-msgid "Just scan the code to pay."
-msgstr ""
-
-#: src/js/services/bwcError.js:116
-msgid "Key already associated with an existing wallet"
-msgstr ""
-
-#: www/views/preferencesLanguage.html:4
-#: www/views/tab-settings.html:68
-msgid "Language"
-msgstr ""
-
-#: www/views/bitpayCard.html:61
-msgid "Last Month"
-msgstr ""
-
-#: src/js/controllers/confirm.js:132
-#: www/views/preferences.html:48
-#: www/views/preferencesCash.html:18
-#: www/views/tx-details.html:94
-msgid "Learn more"
-msgstr ""
-
-#: www/views/backup.html:43
-msgid "Let's verify your backup phrase."
-msgstr ""
-
-#: www/views/addresses.html:45
-#: www/views/allAddresses.html:14
-msgid "Loading addresses..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:35
-msgid "Loading transaction info..."
-msgstr ""
-
-#: www/views/tab-settings.html:100
-msgid "Lock App"
-msgstr ""
-
-#: src/js/controllers/lockSetup.js:23
-msgid "Lock by Fingerprint"
-msgstr ""
-
-#: src/js/controllers/lockSetup.js:14
-msgid "Lock by PIN"
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:80
-msgid "Locked"
-msgstr ""
-
-#: src/js/services/bwcError.js:86
-msgid "Locktime in effect. Please wait to create a new spend proposal"
-msgstr ""
-
-#: src/js/services/bwcError.js:89
-msgid "Locktime in effect. Please wait to remove this spend proposal"
-msgstr ""
-
-#: www/views/includes/logOptions.html:3
-msgid "Log options"
-msgstr ""
-
-#: www/views/modals/bitpay-card-confirmation.html:14
-msgid "Log out"
-msgstr ""
-
-#: www/views/addresses.html:87
-msgid "Low amount inputs"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:27
-msgid "Low fees"
-msgstr ""
-
-#: www/views/onboarding/tour.html:38
-msgid "Makes sense"
-msgstr ""
-
-#: src/js/controllers/modals/search.js:61
-msgid "Matches:"
-msgstr ""
-
-#: www/views/includes/copayers.html:4
-#: www/views/preferencesInformation.html:85
-msgid "Me"
-msgstr ""
-
-#: src/js/controllers/feedback/rateCard.js:32
-msgid "Meh - it's alright"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:165
-#: www/views/modals/paypro.html:48
-#: www/views/modals/txp-details.html:93
-#: www/views/tx-details.html:72
-msgid "Memo"
-msgstr ""
-
-#: www/views/mercadoLibre.html:6
-msgid "Mercado Livre Brazil Gift Cards"
-msgstr ""
-
-#: src/js/controllers/buyMercadoLibre.js:98
-msgid "Mercadolibre Gift Card Service is not available at this moment. Please try back later."
-msgstr ""
-
-#: www/views/modals/txp-details.html:131
-msgid "Merchant Message"
-msgstr ""
-
-#: www/views/buyAmazon.html:55
-#: www/views/buyMercadoLibre.html:54
-#: www/views/topup.html:63
-msgid "Miner Fee"
-msgstr ""
-
-#: src/js/services/bwcError.js:134
-msgid "Missing parameter"
-msgstr ""
-
-#: src/js/services/bwcError.js:32
-msgid "Missing private keys to sign"
-msgstr ""
-
-#: www/views/preferences.html:61
-#: www/views/preferencesAdvanced.html:3
-msgid "More Options"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:47
-#: www/views/tx-details.html:19
-msgid "Moved"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:131
-msgid "Moved Funds"
-msgstr ""
-
-#: www/views/modals/txp-details.html:57
-msgid "Multiple recipients"
-msgstr ""
-
-#: www/views/tab-import-phrase.html:8
-msgid "NOTE: To import a wallet from a 3rd party software, please go to Add Wallet > Create Wallet, and specify the Recovery Phrase there."
-msgstr ""
-
-#: www/views/addressbook.add.html:21
-#: www/views/addressbook.view.html:18
-#: www/views/preferences.html:15
-#: www/views/preferencesAlias.html:17
-msgid "Name"
-msgstr ""
-
-#: www/views/buyAmazon.html:49
-#: www/views/buyMercadoLibre.html:48
-#: www/views/topup.html:56
-msgid "Network Cost"
-msgstr ""
-
-#: src/js/services/bwcError.js:47
-msgid "Network error"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:43
-msgid "New Proposal"
-msgstr ""
-
-#: src/js/controllers/addresses.js:126
-msgid "New address could not be generated. Please try again."
-msgstr ""
-
-#: www/views/add.html:14
-msgid "New personal wallet"
-msgstr ""
-
-#: www/views/includes/nextSteps.html:3
-msgid "Next steps"
-msgstr ""
-
-#: www/views/tab-receive.html:16
-msgid "No Wallet"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:115
-#: src/js/controllers/buyMercadoLibre.js:115
-msgid "No access key defined"
-msgstr ""
-
-#: www/views/onboarding/backupRequest.html:5
-msgid "No backup, no bitcoin."
-msgstr ""
-
-#: www/views/addressbook.html:19
-msgid "No contacts yet"
-msgstr ""
-
-#: www/views/preferencesLogs.html:16
-msgid "No entries for this log level"
-msgstr ""
-
-#: www/views/preferencesExternal.html:12
-msgid "No hardware information available."
-msgstr ""
-
-#: www/views/tab-import-hardware.html:3
-msgid "No hardware wallets supported on this device"
-msgstr ""
-
-#: www/views/proposals.html:24
-msgid "No pending proposals"
-msgstr ""
-
-#: www/views/activity.html:25
-msgid "No recent transactions"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:44
-#: src/js/controllers/topup.js:47
-msgid "No signing proposal: No private key"
-msgstr ""
-
-#: www/views/walletDetails.html:204
-msgid "No transactions yet"
-msgstr ""
-
-#: src/js/controllers/preferencesDelete.js:15
-msgid "No wallet found"
-msgstr ""
-
-#: src/js/controllers/preferencesDelete.js:8
-msgid "No wallet selected"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:300
-#: src/js/controllers/buyMercadoLibre.js:292
-#: src/js/controllers/confirm.js:85
-#: src/js/controllers/topup.js:265
-msgid "No wallets available"
-msgstr ""
-
-#: www/views/paperWallet.html:45
-msgid "No wallets available to receive funds"
-msgstr ""
-
-#: www/views/cashScan.html:15
-msgid "No wallets eligible for Bitcoin Cash support"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:58
-msgid "Non BIP44 wallet"
-msgstr ""
-
-#: www/views/cashScan.html:46
-msgid "Non eligible BTC wallets"
-msgstr ""
-
-#: src/js/services/feeService.js:12
-msgid "Normal"
-msgstr ""
-
-#: src/js/services/bwcError.js:80
-msgid "Not authorized"
-msgstr ""
-
-#: src/js/controllers/confirm.js:307
-msgid "Not enough funds for fee"
-msgstr ""
-
-#: www/views/onboarding/tour.html:50
-msgid "Not even BitPay can access it."
-msgstr ""
-
-#: src/js/controllers/paperWallet.js:47
-msgid "Not funds found"
-msgstr ""
-
-#: www/views/feedback/rateApp.html:3
-#: www/views/onboarding/notifications.html:8
-msgid "Not now"
-msgstr ""
-
-#: www/views/includes/output.html:15
-msgid "Note"
-msgstr ""
-
-#: www/views/backup.html:19
-msgid "Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase."
-msgstr ""
-
-#: www/views/modals/wallets.html:25
-msgid "Notice: only 1-1 (single signature) wallets can be used for sell bitcoin"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:3
-#: www/views/tab-settings.html:61
-msgid "Notifications"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:9
-msgid "Notifications by email"
-msgstr ""
-
-#: www/views/tx-details.html:117
-msgid "Notify me if confirmed"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:24
-msgid "Notify me when transactions are confirmed"
-msgstr ""
-
-#: www/views/includes/backupNeededPopup.html:8
-msgid "Now is a good time to backup your wallet. If this device is lost, it is impossible to access your funds without a backup."
-msgstr ""
-
-#: www/views/backupWarning.html:11
-msgid "Now is a perfect time to assess your surroundings. Nearby windows? Hidden cameras? Shoulder-spies?"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:312
-#: src/js/controllers/topup.js:286
-#: src/js/services/incomingData.js:153
-#: src/js/services/popupService.js:16
-#: src/js/services/popupService.js:52
-#: src/js/services/popupService.js:61
-#: src/js/services/popupService.js:72
-#: www/views/modals/chooseFeeLevel.html:6
-msgid "OK"
-msgstr ""
-
-#: www/views/modals/tx-status.html:12
-#: www/views/modals/tx-status.html:24
-#: www/views/modals/tx-status.html:36
-#: www/views/modals/tx-status.html:46
-msgid "OKAY"
-msgstr ""
-
-#: www/views/modals/terms.html:15
-msgid "Official English Disclaimer"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:64
-msgid "Oh no!"
-msgstr ""
-
-#: src/js/controllers/buyMercadoLibre.js:306
-msgid "Ok"
-msgstr ""
-
-#: www/views/tab-home.html:39
-msgid "On this screen you can see all your wallets, accounts, and assets."
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:113
-#: src/js/controllers/cashScan.js:19
-#: src/js/controllers/preferences.js:66
-#: src/js/controllers/preferencesCash.js:33
-#: src/js/controllers/tab-settings.js:52
-#: src/js/controllers/tx-details.js:55
-msgid "Open"
-msgstr ""
-
-#: src/js/controllers/preferencesLanguage.js:13
-msgid "Open Crowdin"
-msgstr ""
-
-#: src/js/controllers/preferencesAbout.js:15
-msgid "Open GitHub"
-msgstr ""
-
-#: src/js/controllers/preferencesAbout.js:13
-msgid "Open GitHub Project"
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:123
-#: src/js/controllers/tx-details.js:192
-msgid "Open Explorer"
-msgstr ""
-
-#: www/views/tab-scan.html:22
-msgid "Open Settings"
-msgstr ""
-
-#: src/js/controllers/preferencesLanguage.js:11
-msgid "Open Translation Community"
-msgstr ""
-
-#: src/js/controllers/onboarding/terms.js:22
-msgid "Open Website"
-msgstr ""
-
-#: src/js/controllers/preferencesCash.js:32
-msgid "Open bitcoincash.org?"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:18
-msgid "Open the recovery tool."
-msgstr ""
-
-#: www/views/tab-receive.html:27
-msgid "Open wallet"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:19
-msgid "Open website"
-msgstr ""
-
-#: www/views/bitpayCardIntro.html:34
-msgid "Order the BitPay Card"
-msgstr ""
-
-#: www/views/join.html:105
-#: www/views/join.html:96
-#: www/views/tab-create-personal.html:69
-#: www/views/tab-create-personal.html:77
-#: www/views/tab-create-shared.html:106
-#: www/views/tab-create-shared.html:98
-#: www/views/tab-import-file.html:18
-#: www/views/tab-import-phrase.html:41
-msgid "Password"
-msgstr ""
-
-#: src/js/controllers/import.js:98
-msgid "Password required. Make sure to enter your password in advanced options"
-msgstr ""
-
-#: www/views/join.html:33
-msgid "Paste invitation here"
-msgstr ""
-
-#: www/views/tab-import-file.html:13
-msgid "Paste the backup plain text code"
-msgstr ""
-
-#: www/views/bitpayCardIntro.html:28
-msgid "Pay 0% fees to turn bitcoin into dollars."
-msgstr ""
-
-#: www/views/modals/paypro.html:18
-msgid "Pay To"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:51
-#: www/views/modals/tx-status.html:33
-msgid "Payment Accepted"
-msgstr ""
-
-#: www/views/confirm.html:25
-msgid "Payment Expires:"
-msgstr ""
-
-#: www/views/modals/txp-details.html:6
-msgid "Payment Proposal"
-msgstr ""
-
-#: www/views/modals/tx-status.html:21
-msgid "Payment Proposal Created"
-msgstr ""
-
-#: www/views/tab-home.html:46
-msgid "Payment Proposals"
-msgstr ""
-
-#: src/js/services/payproService.js:32
-msgid "Payment Protocol Invalid"
-msgstr ""
-
-#: src/js/services/payproService.js:18
-msgid "Payment Protocol not supported on Chrome App"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:20
-msgid "Payment Received"
-msgstr ""
-
-#: www/views/modals/tx-status.html:43
-#: www/views/modals/txp-details.html:43
-msgid "Payment Rejected"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:44
-#: www/views/confirm.html:124
-#: www/views/includes/walletActivity.html:11
-#: www/views/modals/txp-details.html:42
-msgid "Payment Sent"
-msgstr ""
-
-#: www/views/modals/txp-details.html:32
-msgid "Payment accepted, but not yet broadcasted"
-msgstr ""
-
-#: www/views/modals/txp-details.html:40
-msgid "Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created."
-msgstr ""
-
-#: src/js/services/incomingData.js:152
-msgid "Payment address was translated to new Bitcoin Cash address format:"
-msgstr ""
-
-#: www/views/modals/txp-details.html:107
-msgid "Payment details"
-msgstr ""
-
-#: www/views/modals/paypro.html:6
-msgid "Payment request"
-msgstr ""
-
-#: www/views/mercadoLibreCards.html:22
-#: www/views/modals/mercadolibre-card-details.html:39
-msgid "Pending"
-msgstr ""
-
-#: www/views/proposals.html:4
-msgid "Pending Proposals"
-msgstr ""
-
-#: www/views/preferencesDeleteWallet.html:13
-msgid "Permanently delete this wallet."
-msgstr ""
-
-#: src/js/services/profileService.js:403
-msgid "Personal Wallet"
-msgstr ""
-
-#: www/views/backup.html:25
-msgid "Please carefully write down this phrase."
-msgstr ""
-
-#: www/views/tab-scan.html:20
-msgid "Please connect a camera to get started."
-msgstr ""
-
-#: src/js/controllers/import.js:278
-msgid "Please enter the recovery phrase"
-msgstr ""
-
-#: src/js/controllers/create.js:174
-#: src/js/controllers/join.js:139
-msgid "Please enter the wallet recovery phrase"
-msgstr ""
-
-#: www/views/modals/pin.html:9
-msgid "Please enter your PIN"
-msgstr ""
-
-#: www/views/backup.html:53
-msgid "Please tap each word in the correct order."
-msgstr ""
-
-#: src/js/services/bwcError.js:101
-msgid "Please upgrade Copay to perform this action"
-msgstr ""
-
-#: www/views/walletDetails.html:142
-#: www/views/walletDetails.html:62
-msgid "Please wait"
-msgstr ""
-
-#: src/js/controllers/import.js:238
-msgid "Please, select your backup file"
-msgstr ""
-
-#: www/views/bitpayCard.html:81
-msgid "Pre-Auth Holds"
-msgstr ""
-
-#: www/views/tab-settings.html:40
-msgid "Preferences"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:38
-msgid "Preparing addresses..."
-msgstr ""
-
-#: src/js/controllers/export.js:198
-msgid "Preparing backup..."
-msgstr ""
-
-#: src/js/routes.js:1264
-msgid "Press again to exit"
-msgstr ""
-
-#: src/js/services/feeService.js:11
-msgid "Priority"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:80
-msgid "Private Key"
-msgstr ""
-
-#: src/js/controllers/paperWallet.js:136
-msgid "Private key encrypted. Enter password"
-msgstr ""
-
-#: src/js/services/bwcError.js:35
-msgid "Private key is encrypted, cannot sign"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:51
-msgid "Proposal Accepted"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:61
-#: src/js/controllers/tx-details.js:78
-#: www/views/confirm.html:125
-msgid "Proposal Created"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:27
-msgid "Proposal Deleted"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:35
-msgid "Proposal Rejected"
-msgstr ""
-
-#: www/views/walletDetails.html:189
-msgid "Proposals"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:282
-msgid "Purchase Amount is limited to {{limitPerDay}} {{currency}} per day"
-msgstr ""
-
-#: src/js/controllers/buyMercadoLibre.js:281
-msgid "Purchase amount must be a value between 50 and 2000"
-msgstr ""
-
-#: www/views/onboarding/notifications.html:3
-msgid "Push Notifications"
-msgstr ""
-
-#: www/views/preferencesNotifications.html:17
-msgid "Push notifications for {{appName}} are currently disabled. Enable them in the Settings app."
-msgstr ""
-
-#: www/views/export.html:17
-msgid "QR Code"
-msgstr ""
-
-#: www/views/onboarding/disclaimer.html:13
-msgid "Quick review!"
-msgstr ""
-
-#: src/js/controllers/create.js:84
-#: src/js/controllers/join.js:68
-msgid "Random"
-msgstr ""
-
-#: www/views/feedback/rateApp.html:14
-msgid "Rate on the app store"
-msgstr ""
-
-#: www/views/addresses.html:52
-msgid "Read less"
-msgstr ""
-
-#: www/views/addresses.html:51
-msgid "Read more"
-msgstr ""
-
-#: src/js/controllers/preferences.js:65
-#: src/js/controllers/tx-details.js:54
-msgid "Read more in our Wiki"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:61
-msgid "Read only wallet"
-msgstr ""
-
-#: www/views/tab-receive.html:3
-#: www/views/tabs.html:7
-msgid "Receive"
-msgstr ""
-
-#: www/views/customAmount.html:44
-msgid "Receive in"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:24
-#: www/views/tx-details.html:18
-msgid "Received"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:130
-msgid "Received Funds"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:57
-#: www/views/tx-details.html:24
-msgid "Receiving"
-msgstr ""
-
-#: www/views/bitpayCard.html:60
-#: www/views/includes/walletHistory.html:3
-msgid "Recent"
-msgstr ""
-
-#: www/views/advancedSettings.html:21
-msgid "Recent Transaction Card"
-msgstr ""
-
-#: www/views/activity.html:4
-#: www/views/tab-home.html:58
-msgid "Recent Transactions"
-msgstr ""
-
-#: www/views/amount.html:18
-#: www/views/tab-send.html:9
-msgid "Recipient"
-msgstr ""
-
-#: www/views/modals/txp-details.html:62
-msgid "Recipients"
-msgstr ""
-
-#: www/views/import.html:12
-msgid "Recovery phrase"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:26
-msgid "Recreating Wallet..."
-msgstr ""
-
-#: www/views/modals/mercadolibre-card-details.html:22
-msgid "Redeem now"
-msgstr ""
-
-#: src/js/controllers/modals/txpDetails.js:63
-#: src/js/controllers/tx-details.js:80
-msgid "Rejected"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:27
-msgid "Rejecting payment proposal"
-msgstr ""
-
-#: www/views/preferencesAbout.html:9
-msgid "Release information"
-msgstr ""
-
-#: www/views/addressbook.view.html:36
-#: www/views/modals/mercadolibre-card-details.html:69
-msgid "Remove"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayServices.js:7
-msgid "Remove BitPay Account?"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayServices.js:19
-msgid "Remove BitPay Card?"
-msgstr ""
-
-#: src/js/controllers/preferencesBitpayServices.js:8
-msgid "Removing your BitPay account will remove all associated BitPay account data from this device. Are you sure you would like to remove your BitPay Account ({{email}}) from this device?"
-msgstr ""
-
-#: www/views/join.html:116
-#: www/views/join.html:124
-#: www/views/tab-create-personal.html:86
-#: www/views/tab-create-personal.html:94
-#: www/views/tab-create-shared.html:115
-#: www/views/tab-create-shared.html:123
-#: www/views/tab-export-file.html:17
-msgid "Repeat password"
-msgstr ""
-
-#: www/views/tab-export-file.html:16
-msgid "Repeat the password"
-msgstr ""
-
-#: www/views/preferences.html:56
-msgid "Request Fingerprint"
-msgstr ""
-
-#: www/views/tab-receive.html:45
-msgid "Request Specific amount"
-msgstr ""
-
-#: www/views/preferences.html:42
-msgid "Request Spending Password"
-msgstr ""
-
-#: www/views/tab-create-shared.html:44
-msgid "Required number of signatures"
-msgstr ""
-
-#: www/views/onboarding/welcome.html:9
-msgid "Restore from backup"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:29
-msgid "Retrieving inputs information"
-msgstr ""
-
-#: src/js/controllers/onboarding/tour.js:56
-msgid "Retry"
-msgstr ""
-
-#: www/views/tab-scan.html:23
-msgid "Retry Camera"
-msgstr ""
-
-#: www/views/addressbook.add.html:56
-#: www/views/includes/note.html:9
-#: www/views/preferencesAlias.html:21
-#: www/views/preferencesBwsUrl.html:25
-#: www/views/preferencesNotifications.html:46
-msgid "Save"
-msgstr ""
-
-#: www/views/tab-scan.html:3
-#: www/views/tabs.html:11
-msgid "Scan"
-msgstr ""
-
-#: www/views/tab-scan.html:15
-msgid "Scan QR Codes"
-msgstr ""
-
-#: www/views/addresses.html:31
-msgid "Scan addresses for funds"
-msgstr ""
-
-#: www/views/modals/fingerprintCheck.html:11
-msgid "Scan again"
-msgstr ""
-
-#: src/js/services/fingerprintService.js:56
-msgid "Scan your fingerprint please"
-msgstr ""
-
-#: www/views/preferencesCash.html:23
-msgid "Scan your wallets for Bitcoin Cash"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:30
-msgid "Scanning Wallet funds..."
-msgstr ""
-
-#: www/views/includes/walletList.html:11
-msgid "Scanning funds..."
-msgstr ""
-
-#: www/views/includes/screenshotWarningModal.html:7
-msgid "Screenshots are not secure"
-msgstr ""
-
-#: www/views/modals/search.html:6
-msgid "Search Transactions"
-msgstr ""
-
-#: www/views/tab-send.html:13
-msgid "Search or enter bitcoin address"
-msgstr ""
-
-#: www/views/modals/search.html:16
-msgid "Search transactions"
-msgstr ""
-
-#: www/views/preferencesAltCurrency.html:14
-msgid "Search your currency"
-msgstr ""
-
-#: www/views/preferences.html:30
-msgid "Security"
-msgstr ""
-
-#: www/views/modals/mercadolibre-card-details.html:64
-msgid "See invoice"
-msgstr ""
-
-#: www/views/tab-import-file.html:7
-msgid "Select a backup file"
-msgstr ""
-
-#: src/js/controllers/tab-receive.js:139
-msgid "Select a wallet"
-msgstr ""
-
-#: www/views/modals/paypro.html:38
-msgid "Self-signed Certificate"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:41
-msgid "Selling Bitcoin..."
-msgstr ""
-
-#: www/views/feedback/send.html:13
-#: www/views/feedback/send.html:43
-#: www/views/tab-send.html:3
-#: www/views/tabs.html:15
-msgid "Send"
-msgstr ""
-
-#: www/views/feedback/send.html:3
-#: www/views/tab-settings.html:29
-msgid "Send Feedback"
-msgstr ""
-
-#: www/views/addressbook.view.html:31
-msgid "Send Money"
-msgstr ""
-
-#: www/views/allAddresses.html:19
-msgid "Send addresses by email"
-msgstr ""
-
-#: www/views/includes/logOptions.html:17
-#: www/views/tab-export-file.html:82
-msgid "Send by email"
-msgstr ""
-
-#: src/js/controllers/confirm.js:177
-msgid "Send from"
-msgstr ""
-
-#: www/views/includes/itemSelector.html:8
-msgid "Send max amount"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:46
-msgid "Send payment to this address"
-msgstr ""
-
-#: www/views/feedback/rateApp.html:17
-msgid "Send us feedback instead"
-msgstr ""
-
-#: www/views/confirm.html:15
-#: www/views/includes/txp.html:12
-#: www/views/modals/txp-details.html:19
-#: www/views/tx-details.html:23
-msgid "Sending"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:39
-msgid "Sending 2FA code..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:36
-msgid "Sending feedback..."
-msgstr ""
-
-#: www/views/confirm.html:16
-msgid "Sending maximum amount"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:31
-msgid "Sending transaction"
-msgstr ""
-
-#: src/js/controllers/confirm.js:545
-msgid "Sending {{amountStr}} from your {{name}} wallet"
-msgstr ""
-
-#: www/views/includes/walletHistory.html:42
-#: www/views/modals/tx-status.html:9
-#: www/views/topup.html:100
-#: www/views/tx-details.html:17
-msgid "Sent"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:129
-msgid "Sent Funds"
-msgstr ""
-
-#: src/js/services/bwcError.js:38
-msgid "Server response could not be verified"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:97
-#: src/js/controllers/buyMercadoLibre.js:97
-msgid "Service not available"
-msgstr ""
-
-#: www/views/includes/homeIntegrations.html:3
-msgid "Services"
-msgstr ""
-
-#: www/views/preferencesLogs.html:3
-msgid "Session Log"
-msgstr ""
-
-#: www/views/preferencesAbout.html:35
-msgid "Session log"
-msgstr ""
-
-#: www/views/tab-export-file.html:10
-msgid "Set up a password"
-msgstr ""
-
-#: src/js/controllers/preferencesFee.js:85
-msgid "Set your own fee in satoshis/byte"
-msgstr ""
-
-#: www/views/tab-settings.html:3
-#: www/views/tabs.html:19
-msgid "Settings"
-msgstr ""
-
-#: www/views/feedback/complete.html:17
-#: www/views/feedback/complete.html:26
-msgid "Share the love by inviting your friends."
-msgstr ""
-
-#: www/views/copayers.html:20
-msgid "Share this invitation with your copayers"
-msgstr ""
-
-#: src/js/controllers/feedback/complete.js:5
-#: www/views/tab-settings.html:36
-msgid "Share {{appName}}"
-msgstr ""
-
-#: www/views/tab-import-hardware.html:24
-msgid "Shared Wallet"
-msgstr ""
-
-#: www/views/preferencesExternal.html:34
-msgid "Show Recovery Phrase"
-msgstr ""
-
-#: www/views/tab-receive.html:34
-msgid "Show address"
-msgstr ""
-
-#: www/views/join.html:48
-#: www/views/tab-create-personal.html:27
-#: www/views/tab-create-shared.html:56
-#: www/views/tab-export-file.html:24
-#: www/views/tab-import-file.html:29
-#: www/views/tab-import-hardware.html:30
-#: www/views/tab-import-phrase.html:35
-msgid "Show advanced options"
-msgstr ""
-
-#: www/views/tab-send.html:37
-msgid "Show bitcoin address"
-msgstr ""
-
-#: www/views/tab-send.html:59
-msgid "Show more"
-msgstr ""
-
-#: src/js/services/bwcError.js:104
-msgid "Signatures rejected by server"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:32
-msgid "Signing transaction"
-msgstr ""
-
-#: www/views/onboarding/backupRequest.html:6
-msgid "Since only you control your money, you’ll need to save your backup phrase in case this app is deleted."
-msgstr ""
-
-#: www/views/tab-create-personal.html:122
-#: www/views/tab-create-shared.html:151
-msgid "Single Address Wallet"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:40
-#: www/views/onboarding/tour.html:11
-msgid "Skip"
-msgstr ""
-
-#: src/js/controllers/confirm.js:371
-#: src/js/controllers/modals/txpDetails.js:47
-msgid "Slide to accept"
-msgstr ""
-
-#: www/views/buyAmazon.html:96
-msgid "Slide to buy"
-msgstr ""
-
-#: src/js/controllers/confirm.js:365
-msgid "Slide to pay"
-msgstr ""
-
-#: src/js/controllers/confirm.js:377
-#: src/js/controllers/modals/txpDetails.js:40
-msgid "Slide to send"
-msgstr ""
-
-#: www/views/cashScan.html:56
-msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
-msgstr ""
-
-#: src/js/controllers/create.js:88
-#: src/js/controllers/join.js:71
-msgid "Specify Recovery Phrase..."
-msgstr ""
-
-#: src/js/services/bwcError.js:92
-msgid "Spend proposal is not accepted"
-msgstr ""
-
-#: src/js/services/bwcError.js:95
-msgid "Spend proposal not found"
-msgstr ""
-
-#: src/js/services/bwcError.js:137
-msgid "Spending Password needed"
-msgstr ""
-
-#: www/views/walletDetails.html:173
-msgid "Spending this balance will need significant Bitcoin network fees"
-msgstr ""
-
-#: www/views/tab-send.html:28
-msgid "Start sending bitcoin"
-msgstr ""
-
-#: www/views/lockSetup.html:3
-msgid "Startup Lock"
-msgstr ""
-
-#: www/views/mercadoLibreCards.html:21
-#: www/views/modals/mercadolibre-card-details.html:42
-msgid "Still pending"
-msgstr ""
-
-#: www/views/topup.html:101
-msgid "Success"
-msgstr ""
-
-#: src/js/services/feeService.js:14
-msgid "Super Economy"
-msgstr ""
-
-#: www/views/preferencesCash.html:11
-msgid "Support Bitcoin Cash"
-msgstr ""
-
-#: www/views/paperWallet.html:7
-msgid "Sweep"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:89
-#: www/views/paperWallet.html:3
-msgid "Sweep paper wallet"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:33
-msgid "Sweeping Wallet..."
-msgstr ""
-
-#: www/views/preferencesDeleteWallet.html:16
-msgid "THIS ACTION CANNOT BE REVERSED"
-msgstr ""
-
-#: www/views/onboarding/welcome.html:5
-msgid "Take control of your money, get started with bitcoin."
-msgstr ""
-
-#: www/views/walletDetails.html:132
-#: www/views/walletDetails.html:52
-msgid "Tap and hold to show"
-msgstr ""
-
-#: www/views/includes/walletInfo.html:3
-msgid "Tap to recreate"
-msgstr ""
-
-#: www/views/includes/walletInfo.html:4
-msgid "Tap to retry"
-msgstr ""
-
-#: www/views/termsOfUse.html:3
-msgid "Terms Of Use"
-msgstr ""
-
-#: www/views/modals/terms.html:3
-#: www/views/onboarding/disclaimer.html:29
-#: www/views/onboarding/disclaimer.html:43
-#: www/views/preferencesAbout.html:30
-msgid "Terms of Use"
-msgstr ""
-
-#: www/views/tab-create-personal.html:118
-#: www/views/tab-import-phrase.html:68
-msgid "Testnet"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:61
-msgid "Text"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:27
-#: src/js/controllers/feedback/send.js:76
-#: www/views/feedback/complete.html:20
-#: www/views/feedback/rateApp.html:4
-msgid "Thank you!"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:72
-msgid "Thanks!"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:73
-msgid "That's exciting to hear. We'd love to earn that fifth star from you – how could we improve your experience?"
-msgstr ""
-
-#: src/js/services/ledger.js:152
-msgid "The Ledger Chrome application is not installed"
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:55
-msgid "The amount of bitcoin immediately spendable from this wallet."
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:93
-msgid "The amount of bitcoin stored in this wallet that is allocated as inputs to your pending transaction proposals. The amount is determined using unspent transaction outputs associated with this wallet and may be more than the actual amounts associated with your pending transaction proposals."
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:74
-msgid "The amount of bitcoin stored in this wallet with less than 1 blockchain confirmation."
-msgstr ""
-
-#: www/views/tab-import-phrase.html:5
-msgid "The derivation path"
-msgstr ""
-
-#: www/views/onboarding/tour.html:37
-msgid "The exchange rate changes with the market."
-msgstr ""
-
-#: www/views/preferencesFee.html:12
-msgid "The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy."
-msgstr ""
-
-#: www/views/addresses.html:51
-msgid "The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab."
-msgstr ""
-
-#: src/js/controllers/onboarding/terms.js:21
-msgid "The official English Terms of Service are available on the BitPay website."
-msgstr ""
-
-#: www/views/tab-import-phrase.html:4
-msgid "The password of the recovery phrase (if set)"
-msgstr ""
-
-#: src/js/services/walletService.js:1139
-msgid "The payment was created but could not be completed. Please try again from home screen"
-msgstr ""
-
-#: www/views/modals/txp-details.html:26
-msgid "The payment was removed by creator"
-msgstr ""
-
-#: www/views/join.html:91
-#: www/views/tab-create-personal.html:63
-#: www/views/tab-create-shared.html:92
-#: www/views/tab-import-phrase.html:43
-msgid "The recovery phrase could require a password to be imported"
-msgstr ""
-
-#: src/js/services/bwcError.js:56
-msgid "The request could not be understood by the server"
-msgstr ""
-
-#: www/views/addresses.html:52
-msgid "The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated."
-msgstr ""
-
-#: src/js/services/bwcError.js:98
-msgid "The spend proposal is not pending"
-msgstr ""
-
-#: www/views/modals/wallet-balance.html:36
-msgid "The total amount of bitcoin stored in this wallet."
-msgstr ""
-
-#: www/views/preferencesHistory.html:27
-msgid "The transaction history and every new incoming transaction are cached in the app. This feature clean this up and synchronizes again from the server"
-msgstr ""
-
-#: www/views/tab-import-phrase.html:6
-msgid "The wallet service URL"
-msgstr ""
-
-#: src/js/controllers/tab-home.js:38
-msgid "There is a new version of {{appName}} available"
-msgstr ""
-
-#: src/js/controllers/import.js:229
-#: src/js/controllers/import.js:254
-#: src/js/controllers/import.js:335
-msgid "There is an error in the form"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:61
-#: src/js/controllers/feedback/send.js:65
-msgid "There's obviously something we're doing wrong."
-msgstr ""
-
-#: src/js/controllers/feedback/rateCard.js:38
-msgid "This app is fantastic!"
-msgstr ""
-
-#: www/views/onboarding/tour.html:47
-msgid "This app stores your bitcoin with cutting-edge security."
-msgstr ""
-
-#: src/js/controllers/confirm.js:523
-msgid "This bitcoin payment request has expired."
-msgstr ""
-
-#: www/views/join.html:133
-#: www/views/tab-create-personal.html:103
-#: www/views/tab-create-shared.html:132
-msgid "This password cannot be recovered. If the password is lost, there is no way you could recover your funds."
-msgstr ""
-
-#: www/views/backup.html:31
-msgid "This recovery phrase was created with a password. To recover this wallet both the recovery phrase and password are needed."
-msgstr ""
-
-#: www/views/tx-details.html:91
-msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
-msgstr ""
-
-#: www/views/tx-details.html:87
-msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
-msgstr ""
-
-#: www/views/walletDetails.html:109
-#: www/views/walletDetails.html:29
-msgid "This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information."
-msgstr ""
-
-#: www/views/modals/txp-details.html:136
-#: www/views/tx-details.html:121
-msgid "Timeline"
-msgstr ""
-
-#: www/views/confirm.html:31
-#: www/views/includes/output.html:2
-#: www/views/modals/txp-details.html:109
-#: www/views/modals/txp-details.html:53
-#: www/views/tx-details.html:41
-#: www/views/tx-details.html:53
-msgid "To"
-msgstr ""
-
-#: www/views/tab-send.html:32
-msgid "To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service."
-msgstr ""
-
-#: www/views/tab-send.html:33
-msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr ""
-
-#: src/js/services/bitpayAccountService.js:73
-msgid "To {{reason}} you must first add your BitPay account - {{email}}"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:48
-msgid "Top up in progress..."
-msgstr ""
-
-#: src/js/controllers/topup.js:206
-msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
-msgstr ""
-
-#: www/views/buyAmazon.html:61
-#: www/views/buyMercadoLibre.html:60
-#: www/views/modals/wallet-balance.html:23
-#: www/views/topup.html:70
-msgid "Total"
-msgstr ""
-
-#: www/views/walletDetails.html:196
-msgid "Total Locked Balance"
-msgstr ""
-
-#: www/views/tab-create-shared.html:35
-msgid "Total number of copayers"
-msgstr ""
-
-#: www/views/addresses.html:81
-msgid "Total wallet inputs"
-msgstr ""
-
-#: src/js/services/fingerprintService.js:63
-#: src/js/services/fingerprintService.js:68
-msgid "Touch ID Failed"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:12
-msgid "Transaction"
-msgstr ""
-
-#: www/views/confirm.html:126
-msgid "Transaction Created"
-msgstr ""
-
-#: www/views/preferencesAdvanced.html:29
-#: www/views/preferencesHistory.html:3
-msgid "Transaction History"
-msgstr ""
-
-#: src/js/services/bwcError.js:83
-msgid "Transaction already broadcasted"
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:308
-#: src/js/controllers/buyMercadoLibre.js:301
-#: src/js/controllers/topup.js:281
-msgid "Transaction has not been created"
-msgstr ""
-
-#: www/views/topup.html:104
-msgid "Transaction initiated"
-msgstr ""
-
-#: src/js/controllers/tx-details.js:119
-msgid "Transaction not available at this time"
-msgstr ""
-
-#: src/js/controllers/activity.js:45
-#: src/js/controllers/tab-home.js:174
-msgid "Transaction not found"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:55
-msgid "Transactions without fee are not supported."
-msgstr ""
-
-#: src/js/controllers/paperWallet.js:109
-msgid "Transfer to"
-msgstr ""
-
-#: www/views/tab-send.html:67
-msgid "Transfer to Wallet"
-msgstr ""
-
-#: www/views/modals/pin.html:13
-msgid "Try again in {{expires}}"
-msgstr ""
-
-#: www/views/bitpayCardIntro.html:18
-msgid "Turn bitcoin into dollars, swipe anywhere Visa® is accepted."
-msgstr ""
-
-#: www/views/tab-import-phrase.html:17
-msgid "Type the Recovery Phrase (usually 12 words)"
-msgstr ""
-
-#: src/js/controllers/backup.js:75
-msgid "Uh oh..."
-msgstr ""
-
-#: www/views/tx-details.html:100
-msgid "Unconfirmed"
-msgstr ""
-
-#: www/views/walletDetails.html:190
-msgid "Unsent transactions"
-msgstr ""
-
-#: www/views/addresses.html:39
-msgid "Unused Addresses"
-msgstr ""
-
-#: www/views/addresses.html:50
-msgid "Unused Addresses Limit"
-msgstr ""
-
-#: src/js/controllers/tab-home.js:146
-msgid "Update Available"
-msgstr ""
-
-#: www/views/proposals.html:14
-msgid "Updating pending proposals. Please stand by"
-msgstr ""
-
-#: www/views/walletDetails.html:217
-msgid "Updating transaction history. Please stand by."
-msgstr ""
-
-#: www/views/activity.html:14
-msgid "Updating... Please stand by"
-msgstr ""
-
-#: src/js/services/feeService.js:10
-msgid "Urgent"
-msgstr ""
-
-#: www/views/advancedSettings.html:12
-msgid "Use Unconfirmed Funds"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:34
-msgid "Validating recovery phrase..."
-msgstr ""
-
-#: www/views/modals/fingerprintCheck.html:4
-msgid "Verify your identity"
-msgstr ""
-
-#: www/views/preferencesAbout.html:14
-#: www/views/preferencesExternal.html:25
-msgid "Version"
-msgstr ""
-
-#: www/views/tab-export-file.html:69
-msgid "View"
-msgstr ""
-
-#: www/views/addresses.html:34
-msgid "View All Addresses"
-msgstr ""
-
-#: src/js/controllers/onboarding/terms.js:20
-msgid "View Terms of Service"
-msgstr ""
-
-#: src/js/controllers/bitpayCard.js:122
-#: src/js/controllers/tx-details.js:191
-msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
-
-#: src/js/controllers/tab-home.js:148
-msgid "View Update"
-msgstr ""
-
-#: www/views/tx-details.html:147
-msgid "View on blockchain"
-msgstr ""
-
-#: www/views/mercadoLibre.html:26
-msgid "Visit mercadolivre.com.br →"
-msgstr ""
-
-#: www/views/walletDetails.html:182
-msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
-msgstr ""
-
-#: www/views/tab-export-file.html:45
-msgid "WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
-msgstr ""
-
-#: www/views/tab-export-file.html:36
-msgid "WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
-msgstr ""
-
-#: www/views/modals/paypro.html:42
-msgid "WARNING: UNTRUSTED CERTIFICATE"
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:15
-msgid "Waiting for Ledger..."
-msgstr ""
-
-#: src/js/services/onGoingProcess.js:16
-msgid "Waiting for Trezor..."
-msgstr ""
-
-#: www/views/copayers.html:48
-msgid "Waiting for copayers"
-msgstr ""
-
-#: www/views/copayers.html:53
-msgid "Waiting..."
-msgstr ""
-
-#: www/views/addresses.html:3
-#: www/views/preferencesAdvanced.html:17
-msgid "Wallet Addresses"
-msgstr ""
-
-#: www/views/preferencesColor.html:4
-msgid "Wallet Color"
-msgstr ""
-
-#: www/views/preferencesInformation.html:29
-msgid "Wallet Configuration (m-n)"
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:5
-msgid "Wallet Created"
-msgstr ""
-
-#: www/views/preferencesInformation.html:23
-msgid "Wallet Id"
-msgstr ""
-
-#: www/views/preferencesAdvanced.html:13
-#: www/views/preferencesInformation.html:3
-msgid "Wallet Information"
-msgstr ""
-
-#: www/views/addresses.html:76
-msgid "Wallet Inputs"
-msgstr ""
-
-#: www/views/join.html:26
-msgid "Wallet Invitation"
-msgstr ""
-
-#: www/views/join.html:60
-#: www/views/tab-create-personal.html:38
-#: www/views/tab-create-shared.html:67
-msgid "Wallet Key"
-msgstr ""
-
-#: www/views/preferencesAlias.html:4
-msgid "Wallet Name"
-msgstr ""
-
-#: www/views/preferencesInformation.html:11
-msgid "Wallet Name (at creation)"
-msgstr ""
-
-#: www/views/preferencesInformation.html:35
-msgid "Wallet Network"
-msgstr ""
-
-#: www/views/join.html:77
-#: www/views/tab-create-personal.html:50
-#: www/views/tab-create-shared.html:79
-msgid "Wallet Recovery Phrase"
-msgstr ""
-
-#: src/js/services/bwcError.js:26
-msgid "Wallet Recovery Phrase is invalid"
-msgstr ""
-
-#: www/views/preferencesAdvanced.html:25
-#: www/views/tab-import-phrase.html:73
-msgid "Wallet Service URL"
-msgstr ""
-
-#: www/views/preferences.html:4
-msgid "Wallet Settings"
-msgstr ""
-
-#: www/views/tab-import-hardware.html:11
-#: www/views/tab-import-phrase.html:61
-msgid "Wallet Type"
-msgstr ""
-
-#: src/js/services/bwcError.js:59
-msgid "Wallet already exists"
-msgstr ""
-
-#: src/js/services/profileService.js:516
-msgid "Wallet already in {{appName}}"
-msgstr ""
-
-#: www/views/includes/walletActivity.html:6
-msgid "Wallet created"
-msgstr ""
-
-#: www/views/copayers.html:58
-msgid "Wallet incomplete and broken"
-msgstr ""
-
-#: src/js/services/bwcError.js:65
-msgid "Wallet is full"
-msgstr ""
-
-#: src/js/services/bwcError.js:125
-msgid "Wallet is locked"
-msgstr ""
-
-#: src/js/services/bwcError.js:128
-msgid "Wallet is not complete"
-msgstr ""
-
-#: www/views/tab-create-personal.html:12
-#: www/views/tab-create-shared.html:12
-msgid "Wallet name"
-msgstr ""
-
-#: src/js/services/bwcError.js:131
-msgid "Wallet needs backup"
-msgstr ""
-
-#: www/views/tab-receive.html:59
-#: www/views/walletDetails.html:169
-msgid "Wallet not backed up"
-msgstr ""
-
-#: src/js/services/bwcError.js:68
-msgid "Wallet not found"
-msgstr ""
-
-#: src/js/controllers/cashScan.js:81
-#: src/js/controllers/tab-home.js:230
-msgid "Wallet not registered"
-msgstr ""
-
-#: src/js/services/bwcError.js:29
-msgid "Wallet not registered at the wallet service. Recreate it from \"Create Wallet\" using \"Advanced Options\" to set your recovery phrase"
-msgstr ""
-
-#: www/views/backup.html:12
-msgid "Wallet recovery phrase not available"
-msgstr ""
-
-#: src/js/services/bwcError.js:50
-msgid "Wallet service not found"
-msgstr ""
-
-#: www/views/tab-home.html:69
-msgid "Wallets"
-msgstr ""
-
-#: src/js/controllers/addressbookView.js:36
-#: src/js/controllers/modals/txpDetails.js:153
-#: src/js/controllers/modals/txpDetails.js:170
-#: src/js/controllers/preferencesDelete.js:24
-#: src/js/controllers/preferencesExternal.js:14
-#: www/views/preferencesDeleteWallet.html:11
-msgid "Warning!"
-msgstr ""
-
-#: www/views/modals/txp-details.html:47
-msgid "Warning: this transaction has unconfirmed inputs"
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:17
-msgid "Watch out!"
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:69
-msgid "We'd love to do better."
-msgstr ""
-
-#: www/views/backup.html:35
-msgid "We'll confirm on the next screen."
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:77
-msgid "We're always looking for ways to improve {{appName}}."
-msgstr ""
-
-#: src/js/controllers/feedback/send.js:83
-msgid "We're always looking for ways to improve {{appName}}. How could we improve your experience?"
-msgstr ""
-
-#: www/views/includes/incomingDataMenu.html:6
-msgid "Website"
-msgstr ""
-
-#: www/views/preferencesLanguage.html:16
-msgid "We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin."
-msgstr ""
-
-#: www/views/preferencesAlias.html:11
-msgid "What do you call this wallet?"
-msgstr ""
-
-#: www/views/preferencesAlias.html:12
-msgid "When this wallet was created, it was called “{{walletName}}”. You can change the name displayed on this device below."
-msgstr ""
-
-#: www/views/onboarding/collectEmail.html:10
-msgid "Where would you like to receive email notifications about payments?"
-msgstr ""
-
-#: www/views/addresses.html:19
-msgid "Why?"
-msgstr ""
-
-#: www/views/feedback/rateApp.html:10
-msgid "Would you be willing to rate {{appName}} in the app store?"
-msgstr ""
-
-#: www/views/onboarding/notifications.html:4
-msgid "Would you like to receive push notifications about payments?"
-msgstr ""
-
-#: src/js/controllers/import.js:288
-msgid "Wrong number of recovery words:"
-msgstr ""
-
-#: src/js/services/bwcError.js:140
-msgid "Wrong spending password"
-msgstr ""
-
-#: www/views/modals/confirmation.html:7
-msgid "Yes"
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:25
-msgid "Yes, skip"
-msgstr ""
-
-#: src/js/controllers/onboarding/backupRequest.js:24
-msgid "You can create a backup later from your wallet settings."
-msgstr ""
-
-#: src/js/controllers/preferencesLanguage.js:12
-msgid "You can make contributions by signing up on our Crowdin community translation website. We’re looking forward to hearing from you!"
-msgstr ""
-
-#: www/views/tab-scan.html:16
-msgid "You can scan bitcoin addresses, payment requests, paper wallets, and more."
-msgstr ""
-
-#: src/js/controllers/preferencesAbout.js:14
-msgid "You can see the latest developments and contribute to this open source app by visiting our project on GitHub."
-msgstr ""
-
-#: www/views/onboarding/tour.html:19
-msgid "You can spend bitcoin at millions of websites and stores worldwide."
-msgstr ""
-
-#: www/views/backup.html:15
-msgid "You can still export it from Advanced > Export."
-msgstr ""
-
-#: www/views/onboarding/tour.html:32
-msgid "You can trade it for other currencies like US Dollars, Euros, or Pounds."
-msgstr ""
-
-#: www/views/onboarding/tour.html:46
-msgid "You control your bitcoin."
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:64
-msgid "You should not set a fee higher than {{maxFeeRecommended}} satoshis/byte."
-msgstr ""
-
-#: www/views/modals/bitpay-card-confirmation.html:5
-msgid "You will need to log back for fill in your BitPay Card."
-msgstr ""
-
-#: www/views/preferencesNotifications.html:34
-msgid "You'll receive email notifications about payments sent and received from your wallets."
-msgstr ""
-
-#: www/views/bitpayCard.html:50
-msgid "Your BitPay Card is ready. Add funds to your card to start using it at stores and ATMs worldwide."
-msgstr ""
-
-#: www/views/mercadoLibre.html:57
-#: www/views/mercadoLibreCards.html:6
-msgid "Your Gift Cards"
-msgstr ""
-
-#: www/views/includes/confirmBackupPopup.html:6
-msgid "Your bitcoin wallet is backed up!"
-msgstr ""
-
-#: www/views/tab-home.html:36
-msgid "Your bitcoin wallet is ready!"
-msgstr ""
-
-#: www/views/modals/chooseFeeLevel.html:61
-msgid "Your fee is lower than recommended."
-msgstr ""
-
-#: www/views/feedback/send.html:42
-msgid "Your ideas, feedback, or comments"
-msgstr ""
-
-#: www/views/tab-create-shared.html:22
-msgid "Your name"
-msgstr ""
-
-#: www/views/join.html:16
-msgid "Your nickname"
-msgstr ""
-
-#: www/views/tab-export-file.html:11
-#: www/views/tab-import-file.html:20
-msgid "Your password"
-msgstr ""
-
-#: www/views/buyAmazon.html:102
-msgid "Your purchase could not be completed"
-msgstr ""
-
-#: www/views/buyAmazon.html:105
-msgid "Your purchase was added to the list of pending"
-msgstr ""
-
-#: www/views/onboarding/backupRequest.html:10
-msgid "Your wallet is never saved to cloud storage or standard device backups."
-msgstr ""
-
-#: src/js/services/walletService.js:1030
-msgid "Your wallet key will be encrypted. The Spending Password cannot be recovered. Be sure to write it down."
-msgstr ""
-
-#: www/views/includes/walletList.html:13
-#: www/views/includes/walletSelector.html:21
-#: www/views/paperWallet.html:33
-#: www/views/tab-receive.html:72
-#: www/views/walletDetails.html:131
-#: www/views/walletDetails.html:51
-msgid "[Balance Hidden]"
-msgstr ""
-
-#: www/views/walletDetails.html:141
-#: www/views/walletDetails.html:61
-msgid "[Scanning Funds]"
-msgstr ""
-
-#: src/js/controllers/bitpayCardIntro.js:11
-msgid "add your BitPay Visa card(s)"
-msgstr ""
-
-#: www/views/includes/available-balance.html:8
-msgid "locked by pending payments"
-msgstr ""
-
-#: src/js/services/profileService.js:404
-msgid "me"
-msgstr ""
-
-#: www/views/addressbook.add.html:32
-msgid "name@example.com"
-msgstr ""
-
-#: www/views/preferencesHistory.html:15
-msgid "preparing..."
-msgstr ""
-
-#: www/views/cashScan.html:57
-msgid "recovery tool."
-msgstr ""
-
-#: src/js/controllers/buyAmazon.js:239
-msgid "{{amountStr}} for Amazon.com Gift Card"
-msgstr ""
-
-#: src/js/controllers/buyMercadoLibre.js:237
-msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
-msgstr ""
-
-#: www/views/preferencesBwsUrl.html:21
-msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
-msgstr ""
-
-#: src/js/controllers/confirm.js:408
-msgid "{{fee}} will be deducted for bitcoin networking fees."
-msgstr ""
-
-#: www/views/confirm.html:85
-msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
-msgstr ""
-
-#: www/views/walletDetails.html:218
-msgid "{{updatingTxHistoryProgress}} transactions downloaded"
-msgstr ""
-
-#: www/views/cashScan.html:33
-#: www/views/copayers.html:46
-#: www/views/includes/walletInfo.html:18
-msgid "{{wallet.m}}-of-{{wallet.n}}"
-msgstr ""
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Project-Id-Version: \n"
+
+#: www/views/modals/paypro.html:34
+msgid "(Trusted)"
+msgstr ""
+
+#: www/views/includes/txp.html:23
+#: www/views/includes/walletHistory.html:64
+msgid "(possible double spend)"
+msgstr ""
+
+#: www/views/modals/txp-details.html:159
+msgid "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
+msgstr ""
+
+#: www/views/tx-details.html:82
+msgid "- {{btx.feeRateStr}} of the transaction"
+msgstr ""
+
+#: www/views/modals/txp-details.html:102
+msgid "- {{tx.feeRateStr}} of the transaction"
+msgstr ""
+
+#: www/views/feedback/rateApp.html:7
+msgid "5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!"
+msgstr ""
+
+#: www/views/mercadoLibre.html:18
+#: www/views/mercadoLibre.html:40
+msgid "Only redeemable on Mercado Livre (Brazil)"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:27
+#: www/views/feedback/complete.html:21
+msgid "A member of the team will review your feedback as soon as possible."
+msgstr ""
+
+#: src/js/controllers/confirm.js:401
+msgid "A total of {{amountAboveMaxSizeStr}} were excluded. The maximum size allowed for a transaction was exceeded."
+msgstr ""
+
+#: src/js/controllers/confirm.js:395
+msgid "A total of {{amountBelowFeeStr}} were excluded. These funds come from UTXOs smaller than the network fee provided."
+msgstr ""
+
+#: src/js/controllers/preferencesAbout.js:6
+#: www/views/tab-settings.html:156
+msgid "About"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:62
+#: src/js/controllers/tx-details.js:79
+msgid "Accepted"
+msgstr ""
+
+#: www/views/preferencesInformation.html:72
+msgid "Account"
+msgstr ""
+
+#: www/views/join.html:72
+#: www/views/tab-create-personal.html:45
+#: www/views/tab-create-shared.html:74
+#: www/views/tab-import-hardware.html:19
+msgid "Account Number"
+msgstr ""
+
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr ""
+
+#: www/views/preferencesBitpayServices.html:23
+msgid "Accounts"
+msgstr ""
+
+#: www/views/bitpayCard.html:56
+msgid "Activity"
+msgstr ""
+
+#: src/js/services/bitpayAccountService.js:83
+msgid "Add Account"
+msgstr ""
+
+#: src/js/services/bitpayAccountService.js:69
+msgid "Add BitPay Account?"
+msgstr ""
+
+#: www/views/addressbook.add.html:4
+#: www/views/addressbook.html:22
+msgid "Add Contact"
+msgstr ""
+
+#: www/views/bitpayCard.html:28
+msgid "Add Funds"
+msgstr ""
+
+#: www/views/confirm.html:94
+msgid "Add Memo"
+msgstr ""
+
+#: www/views/join.html:87
+#: www/views/tab-create-personal.html:59
+#: www/views/tab-create-shared.html:88
+msgid "Add a password"
+msgstr ""
+
+#: www/views/includes/accountSelector.html:27
+msgid "Add account"
+msgstr ""
+
+#: www/views/join.html:90
+#: www/views/tab-create-personal.html:62
+#: www/views/tab-create-shared.html:91
+msgid "Add an optional password to secure the recovery phrase"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:41
+msgid "Add as a contact"
+msgstr ""
+
+#: src/js/controllers/confirm.js:424
+msgid "Add description"
+msgstr ""
+
+#: www/views/topup.html:6
+msgid "Add funds"
+msgstr ""
+
+#: src/js/services/bitpayAccountService.js:78
+msgid "Add this BitPay account ({{email}})?"
+msgstr ""
+
+#: www/views/add.html:3
+msgid "Add wallet"
+msgstr ""
+
+#: www/views/addressbook.view.html:26
+#: www/views/customAmount.html:28
+#: www/views/modals/paypro.html:24
+msgid "Address"
+msgstr ""
+
+#: www/views/addressbook.html:6
+#: www/views/tab-settings.html:13
+msgid "Address Book"
+msgstr ""
+
+#: www/views/preferencesInformation.html:41
+msgid "Address Type"
+msgstr ""
+
+#: www/views/addresses.html:64
+msgid "Addresses With Balance"
+msgstr ""
+
+#: www/views/tab-settings.html:149
+msgid "Advanced"
+msgstr ""
+
+#: www/views/advancedSettings.html:3
+msgid "Advanced Settings"
+msgstr ""
+
+#: www/views/bitpayCard.html:62
+msgid "All"
+msgstr ""
+
+#: www/views/allAddresses.html:3
+msgid "All Addresses"
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:18
+msgid "All of your bitcoin wallet balance may not be available for immediate spending."
+msgstr ""
+
+#: www/views/tab-receive.html:25
+msgid "All signing devices must be added to this multisig wallet before bitcoin addresses can be created."
+msgstr ""
+
+#: www/views/tab-scan.html:21
+msgid "Allow Camera Access"
+msgstr ""
+
+#: www/views/onboarding/notifications.html:7
+msgid "Allow notifications"
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:14
+msgid "Almost done! Let's review."
+msgstr ""
+
+#: www/views/preferencesAltCurrency.html:4
+#: www/views/tab-settings.html:79
+msgid "Alternative Currency"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:98
+msgid "Amazon.com is not available at this moment. Please try back later."
+msgstr ""
+
+#: www/views/amount.html:44
+#: www/views/customAmount.html:34
+#: www/views/includes/output.html:7
+msgid "Amount"
+msgstr ""
+
+#: src/js/services/bwcError.js:110
+msgid "Amount below minimum allowed"
+msgstr ""
+
+#: src/js/controllers/confirm.js:216
+msgid "Amount too big"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:31
+msgid "Amount too low to spend"
+msgstr ""
+
+#: src/js/controllers/tab-home.js:147
+msgid "An update to this app is available. For your security, please update to the latest version."
+msgstr ""
+
+#: www/views/backupWarning.html:14
+msgid "Anyone with your backup phrase can access or spend your bitcoin."
+msgstr ""
+
+#: www/views/addresses.html:94
+msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
+msgstr ""
+
+#: www/views/backupWarning.html:10
+msgid "Are you being watched?"
+msgstr ""
+
+#: src/js/controllers/preferencesExternal.js:15
+msgid "Are you being watched? Anyone with your recovery phrase can access or spend your bitcoin."
+msgstr ""
+
+#: src/js/controllers/copayers.js:56
+msgid "Are you sure you want to cancel and delete this wallet?"
+msgstr ""
+
+#: src/js/controllers/addressbookView.js:37
+msgid "Are you sure you want to delete this contact?"
+msgstr ""
+
+#: src/js/controllers/preferencesDelete.js:25
+msgid "Are you sure you want to delete this wallet?"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:154
+msgid "Are you sure you want to reject this transaction?"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:171
+msgid "Are you sure you want to remove this transaction?"
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:23
+msgid "Are you sure you want to skip it?"
+msgstr ""
+
+#: www/views/modals/bitpay-card-confirmation.html:4
+msgid "Are you sure you would like to log out of your BitPay Card account?"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayCard.js:7
+#: src/js/controllers/preferencesBitpayServices.js:20
+msgid "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
+msgstr ""
+
+#: www/views/includes/walletInfo.html:10
+msgid "Auditable"
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:42
+msgid "Available"
+msgstr ""
+
+#: www/views/includes/available-balance.html:3
+msgid "Available Balance"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:24
+#: www/views/preferencesFee.html:15
+msgid "Average confirmation time"
+msgstr ""
+
+#: www/views/join.html:143
+#: www/views/tab-create-personal.html:113
+#: www/views/tab-create-shared.html:142
+#: www/views/tab-import-phrase.html:51
+msgid "BIP32 path for address derivation"
+msgstr ""
+
+#: www/views/cashScan.html:25
+msgid "BTC wallets"
+msgstr ""
+
+#: www/views/preferences.html:34
+msgid "Backup"
+msgstr ""
+
+#: www/views/includes/backupNeededPopup.html:7
+msgid "Backup Needed"
+msgstr ""
+
+#: src/js/controllers/lockSetup.js:87
+msgid "Backup all livenet wallets before using this function"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:64
+#: www/views/includes/walletListSettings.html:12
+#: www/views/preferences.html:36
+msgid "Backup needed"
+msgstr ""
+
+#: www/views/includes/backupNeededPopup.html:9
+msgid "Backup now"
+msgstr ""
+
+#: www/views/onboarding/backupRequest.html:11
+#: www/views/tab-export-file.html:89
+msgid "Backup wallet"
+msgstr ""
+
+#: src/js/controllers/lockSetup.js:84
+msgid "Backup your wallet before using this function"
+msgstr ""
+
+#: src/js/services/profileService.js:446
+msgid "Bad wallet invitation"
+msgstr ""
+
+#: www/views/preferencesInformation.html:102
+msgid "Balance By Address"
+msgstr ""
+
+#: www/views/includes/confirmBackupPopup.html:7
+msgid "Be sure to store your recovery phrase in a secure place. If this app is deleted, your money cannot be recovered without it."
+msgstr ""
+
+#: www/views/preferencesBitpayServices.html:9
+msgid "BitPay Visa® Cards"
+msgstr ""
+
+#: www/views/addressbook.add.html:38
+#: www/views/includes/incomingDataMenu.html:29
+msgid "Bitcoin Address"
+msgstr ""
+
+#: www/views/cashScan.html:4
+msgid "Bitcoin Cash (BCH) Balances"
+msgstr ""
+
+#: www/views/preferencesCash.html:3
+#: www/views/tab-settings.html:47
+msgid "Bitcoin Cash Support"
+msgstr ""
+
+#: www/views/tab-home.html:98
+#: www/views/tab-settings.html:115
+msgid "Bitcoin Cash Wallets"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:4
+#: www/views/preferencesFee.html:4
+#: www/views/tab-settings.html:90
+msgid "Bitcoin Network Fee Policy"
+msgstr ""
+
+#: www/views/tab-home.html:83
+#: www/views/tab-settings.html:107
+msgid "Bitcoin Core Wallets"
+msgstr ""
+
+#: src/js/services/incomingData.js:151
+msgid "Bitcoin cash Payment"
+msgstr ""
+
+#: www/views/onboarding/tour.html:31
+msgid "Bitcoin is a currency."
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:15
+msgid "Bitcoin is different – it cannot be safely held with a bank or web service."
+msgstr ""
+
+#: www/views/onboarding/tour.html:18
+msgid "Bitcoin is secure, digital money."
+msgstr ""
+
+#: www/views/preferencesFee.html:11
+msgid "Bitcoin transactions include a fee collected by miners on the network."
+msgstr ""
+
+#: www/views/buyAmazon.html:108
+msgid "Bought {{amountUnitStr}}"
+msgstr ""
+
+#: www/views/modals/txp-details.html:36
+msgid "Broadcast Payment"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:64
+#: src/js/controllers/tx-details.js:81
+msgid "Broadcasted"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:11
+msgid "Broadcasting transaction"
+msgstr ""
+
+#: www/views/unsupported.html:6
+msgid "Browser unsupported"
+msgstr ""
+
+#: www/views/buyAmazon.html:5
+#: www/views/buyMercadoLibre.html:6
+msgid "Buy"
+msgstr ""
+
+#: www/views/includes/buyAndSellCard.html:3
+msgid "Buy & Sell Bitcoin"
+msgstr ""
+
+#: www/views/tab-send.html:35
+msgid "Buy Bitcoin"
+msgstr ""
+
+#: www/views/mercadoLibre.html:22
+#: www/views/mercadoLibre.html:50
+msgid "Buy a Gift Card"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:334
+msgid "Buy from"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:40
+msgid "Buying Bitcoin..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:12
+msgid "Calculating fee"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:313
+#: src/js/controllers/buyMercadoLibre.js:307
+#: src/js/controllers/confirm.js:550
+#: src/js/controllers/topup.js:287
+#: src/js/services/incomingData.js:154
+#: src/js/services/popupService.js:62
+#: src/js/services/popupService.js:73
+#: www/views/addressbook.add.html:10
+#: www/views/feedback/send.html:5
+#: www/views/includes/incomingDataMenu.html:22
+#: www/views/includes/incomingDataMenu.html:54
+#: www/views/includes/incomingDataMenu.html:73
+#: www/views/includes/incomingDataMenu.html:97
+#: www/views/includes/note.html:6
+#: www/views/modals/bitpay-card-confirmation.html:8
+#: www/views/modals/confirmation.html:13
+msgid "Cancel"
+msgstr ""
+
+#: www/views/copayers.html:36
+msgid "Cancel invitation"
+msgstr ""
+
+#: src/js/controllers/onboarding/tour.js:52
+msgid "Cannot Create Wallet"
+msgstr ""
+
+#: src/js/services/profileService.js:442
+msgid "Cannot join the same wallet more that once"
+msgstr ""
+
+#: www/views/includes/bitpayCardsCard.html:2
+msgid "Cards"
+msgstr ""
+
+#: www/views/modals/paypro.html:30
+msgid "Certified by"
+msgstr ""
+
+#: www/views/preferencesExternal.html:19
+msgid "Check installation and retry."
+msgstr ""
+
+#: www/views/tab-import-file.html:4
+msgid "Choose a backup file from your computer"
+msgstr ""
+
+#: www/views/modals/wallets.html:9
+msgid "Choose your destination wallet"
+msgstr ""
+
+#: www/views/modals/wallets.html:10
+msgid "Choose your source wallet"
+msgstr ""
+
+#: www/views/backup.html:61
+msgid "Clear"
+msgstr ""
+
+#: www/views/preferencesHistory.html:24
+msgid "Clear cache"
+msgstr ""
+
+#: src/js/controllers/confirm.js:373
+#: src/js/controllers/modals/txpDetails.js:49
+msgid "Click to accept"
+msgstr ""
+
+#: src/js/controllers/confirm.js:367
+msgid "Click to pay"
+msgstr ""
+
+#: src/js/controllers/confirm.js:379
+#: src/js/controllers/modals/txpDetails.js:42
+msgid "Click to send"
+msgstr ""
+
+#: www/views/customAmount.html:4
+#: www/views/modals/mercadolibre-card-details.html:3
+#: www/views/modals/paypro.html:4
+#: www/views/modals/pin.html:3
+#: www/views/modals/search.html:3
+#: www/views/modals/wallet-balance.html:3
+#: www/views/modals/wallets.html:5
+msgid "Close"
+msgstr ""
+
+#: www/views/includes/cash.html:2
+#: www/views/preferencesInformation.html:17
+msgid "Coin"
+msgstr ""
+
+#: www/views/preferences.html:22
+msgid "Color"
+msgstr ""
+
+#: www/views/preferencesAbout.html:21
+msgid "Commit hash"
+msgstr ""
+
+#: www/views/preferences.html:49
+msgid "Complete the backup process to use this option"
+msgstr ""
+
+#: www/views/bitpayCard.html:93
+msgid "Completed"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:311
+#: src/js/controllers/buyMercadoLibre.js:305
+#: src/js/controllers/confirm.js:549
+#: src/js/controllers/copayers.js:55
+#: src/js/controllers/topup.js:285
+#: www/views/backup.html:60
+#: www/views/backup.html:79
+#: www/views/confirm.html:4
+#: www/views/onboarding/collectEmail.html:32
+msgid "Confirm"
+msgstr ""
+
+#: www/views/modals/terms.html:26
+#: www/views/onboarding/disclaimer.html:44
+msgid "Confirm & Finish"
+msgstr ""
+
+#: www/views/buyAmazon.html:90
+msgid "Confirm purchase"
+msgstr ""
+
+#: www/views/modals/pin.html:10
+msgid "Confirm your PIN"
+msgstr ""
+
+#: src/js/services/walletService.js:1033
+msgid "Confirm your new spending password"
+msgstr ""
+
+#: www/views/tx-details.html:98
+msgid "Confirmations"
+msgstr ""
+
+#: www/views/bitpayCard.html:68
+#: www/views/modals/wallet-balance.html:61
+msgid "Confirming"
+msgstr ""
+
+#: www/views/bitpayCardIntro.html:37
+msgid "Connect my BitPay Card"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:13
+msgid "Connecting to Coinbase..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:14
+msgid "Connecting to Glidera..."
+msgstr ""
+
+#: src/js/services/bwcError.js:53
+msgid "Connection reset by peer"
+msgstr ""
+
+#: www/views/tab-send.html:85
+msgid "Contacts"
+msgstr ""
+
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr ""
+
+#: www/views/onboarding/notifications.html:9
+msgid "Continue"
+msgstr ""
+
+#: www/views/preferencesLanguage.html:26
+msgid "Contribute Translations"
+msgstr ""
+
+#: src/js/controllers/confirm.js:130
+msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
+msgstr ""
+
+#: src/js/services/bwcError.js:62
+msgid "Copayer already in this wallet"
+msgstr ""
+
+#: src/js/services/bwcError.js:77
+msgid "Copayer already voted on this spend proposal"
+msgstr ""
+
+#: src/js/services/bwcError.js:107
+msgid "Copayer data mismatch"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:2
+msgid "Copayer joined"
+msgstr ""
+
+#: www/views/preferencesInformation.html:94
+msgid "Copayer {{$index}}"
+msgstr ""
+
+#: src/js/controllers/copayers.js:79
+#: src/js/controllers/export.js:193
+#: www/views/includes/copyToClipboard.html:4
+msgid "Copied to clipboard"
+msgstr ""
+
+#: www/views/tab-export-file.html:94
+msgid "Copy this text as it is to a safe place (notepad or email)"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:51
+#: www/views/includes/incomingDataMenu.html:70
+#: www/views/includes/incomingDataMenu.html:94
+#: www/views/includes/logOptions.html:9
+#: www/views/tab-export-file.html:78
+msgid "Copy to clipboard"
+msgstr ""
+
+#: src/js/controllers/buyMercadoLibre.js:102
+msgid "Could not access Gift Card Service"
+msgstr ""
+
+#: www/views/tab-import-phrase.html:2
+msgid "Could not access the wallet at the server. Please check:"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:102
+msgid "Could not access to Amazon.com"
+msgstr ""
+
+#: src/js/services/profileService.js:511
+msgid "Could not access wallet"
+msgstr ""
+
+#: src/js/controllers/confirm.js:210
+msgid "Could not add message to imported wallet without shared encrypting key"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:199
+msgid "Could not broadcast payment"
+msgstr ""
+
+#: src/js/services/bwcError.js:41
+msgid "Could not build transaction"
+msgstr ""
+
+#: src/js/services/walletService.js:854
+msgid "Could not create address"
+msgstr ""
+
+#: src/js/controllers/topup.js:92
+msgid "Could not create the invoice"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:164
+#: src/js/controllers/buyMercadoLibre.js:164
+#: src/js/controllers/topup.js:142
+msgid "Could not create transaction"
+msgstr ""
+
+#: src/js/services/profileService.js:350
+msgid "Could not create using the specified extended private key"
+msgstr ""
+
+#: src/js/services/profileService.js:362
+msgid "Could not create using the specified extended public key"
+msgstr ""
+
+#: src/js/services/profileService.js:338
+msgid "Could not create: Invalid wallet recovery phrase"
+msgstr ""
+
+#: src/js/controllers/import.js:114
+msgid "Could not decrypt file, check your password"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:181
+msgid "Could not delete payment proposal"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:117
+msgid "Could not duplicate"
+msgstr ""
+
+#: src/js/services/feeService.js:73
+msgid "Could not get dynamic fee"
+msgstr ""
+
+#: src/js/services/feeService.js:43
+msgid "Could not get dynamic fee for level: {{feeLevel}}"
+msgstr ""
+
+#: src/js/controllers/modals/feeLevels.js:112
+msgid "Could not get fee levels"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:122
+#: src/js/controllers/buyMercadoLibre.js:122
+#: src/js/controllers/topup.js:100
+msgid "Could not get the invoice"
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:66
+msgid "Could not get transactions"
+msgstr ""
+
+#: src/js/services/profileService.js:615
+#: src/js/services/profileService.js:650
+#: src/js/services/profileService.js:674
+msgid "Could not import"
+msgstr ""
+
+#: src/js/services/profileService.js:584
+msgid "Could not import. Check input file and spending password"
+msgstr ""
+
+#: src/js/services/profileService.js:457
+msgid "Could not join wallet"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:161
+msgid "Could not reject payment"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayServices.js:33
+msgid "Could not remove account"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayCard.js:20
+#: src/js/controllers/preferencesBitpayServices.js:50
+msgid "Could not remove card"
+msgstr ""
+
+#: src/js/services/walletService.js:776
+msgid "Could not save preferences on the server"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:147
+msgid "Could not send payment"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:325
+#: src/js/controllers/buyMercadoLibre.js:318
+#: src/js/controllers/topup.js:299
+msgid "Could not send transaction"
+msgstr ""
+
+#: www/views/walletDetails.html:210
+msgid "Could not update transaction history"
+msgstr ""
+
+#: src/js/controllers/addresses.js:29
+#: src/js/controllers/addresses.js:37
+#: src/js/controllers/copayers.js:30
+#: src/js/controllers/walletDetails.js:78
+msgid "Could not update wallet"
+msgstr ""
+
+#: www/views/tab-create-personal.html:3
+msgid "Create Personal Wallet"
+msgstr ""
+
+#: www/views/tab-create-shared.html:3
+msgid "Create Shared Wallet"
+msgstr ""
+
+#: www/views/onboarding/tour.html:51
+#: www/views/tab-home.html:75
+#: www/views/tab-send.html:75
+msgid "Create bitcoin wallet"
+msgstr ""
+
+#: www/views/tab-create-personal.html:131
+msgid "Create new wallet"
+msgstr ""
+
+#: www/views/add.html:22
+msgid "Create shared wallet"
+msgstr ""
+
+#: www/views/tab-create-shared.html:160
+msgid "Create {{formData.requiredCopayers}}-of-{{formData.totalCopayers}} wallet"
+msgstr ""
+
+#: www/views/modals/txp-details.html:81
+#: www/views/tx-details.html:60
+msgid "Created by"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:18
+msgid "Creating Wallet..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:17
+msgid "Creating transaction"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:34
+#: www/views/preferencesFee.html:20
+msgid "Current fee rate for this policy"
+msgstr ""
+
+#: src/js/services/feeService.js:15
+msgid "Custom"
+msgstr ""
+
+#: www/views/customAmount.html:9
+msgid "Custom Amount"
+msgstr ""
+
+#: src/js/controllers/preferencesFee.js:85
+msgid "Custom Fee"
+msgstr ""
+
+#: www/views/modals/mercadolibre-card-details.html:56
+#: www/views/modals/txp-details.html:87
+#: www/views/tx-details.html:66
+msgid "Date"
+msgstr ""
+
+#: www/views/preferencesDeleteWallet.html:21
+msgid "Delete"
+msgstr ""
+
+#: www/views/modals/txp-details.html:164
+msgid "Delete Payment Proposal"
+msgstr ""
+
+#: www/views/preferencesAdvanced.html:33
+#: www/views/preferencesDeleteWallet.html:3
+msgid "Delete Wallet"
+msgstr ""
+
+#: www/views/copayers.html:59
+msgid "Delete it and create a new one"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:19
+msgid "Deleting Wallet..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:28
+msgid "Deleting payment proposal"
+msgstr ""
+
+#: www/views/join.html:141
+#: www/views/tab-create-personal.html:111
+#: www/views/tab-create-shared.html:140
+#: www/views/tab-import-phrase.html:49
+msgid "Derivation Path"
+msgstr ""
+
+#: www/views/preferencesInformation.html:47
+msgid "Derivation Strategy"
+msgstr ""
+
+#: www/views/buyAmazon.html:39
+#: www/views/buyMercadoLibre.html:38
+#: www/views/modals/mercadolibre-card-details.html:6
+#: www/views/topup.html:45
+msgid "Details"
+msgstr ""
+
+#: src/js/controllers/lockSetup.js:9
+#: src/js/controllers/tab-settings.js:65
+#: www/views/tab-settings.html:50
+msgid "Disabled"
+msgstr ""
+
+#: www/views/includes/backupNeededPopup.html:10
+#: www/views/onboarding/backupRequest.html:12
+msgid "Do it later"
+msgstr ""
+
+#: www/views/tab-export-file.html:29
+msgid "Do not include private key"
+msgstr ""
+
+#: www/views/preferencesLanguage.html:21
+msgid "Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language."
+msgstr ""
+
+#: www/views/tab-export-file.html:59
+#: www/views/tab-home.html:22
+msgid "Download"
+msgstr ""
+
+#: www/views/cashScan.html:37
+msgid "Duplicate for BCH"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:49
+msgid "Duplicating wallet..."
+msgstr ""
+
+#: www/views/addresses.html:19
+msgid "Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment."
+msgstr ""
+
+#: src/js/services/feeService.js:13
+msgid "Economy"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:27
+msgid "Edit"
+msgstr ""
+
+#: www/views/addressbook.add.html:29
+#: www/views/addressbook.view.html:22
+msgid "Email"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:42
+msgid "Email Address"
+msgstr ""
+
+#: src/js/services/bwcError.js:122
+msgid "Empty addresses limit reached. New addresses cannot be generated."
+msgstr ""
+
+#: www/views/preferencesCash.html:17
+msgid "Enable Bitcoin Cash wallet creation and operation within the App."
+msgstr ""
+
+#: www/views/tab-scan.html:19
+msgid "Enable camera access in your device settings to get started."
+msgstr ""
+
+#: www/views/preferencesNotifications.html:29
+msgid "Enable email notifications"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:12
+msgid "Enable push notifications"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:33
+msgid "Enable sound"
+msgstr ""
+
+#: www/views/tab-scan.html:18
+msgid "Enable the camera to get started."
+msgstr ""
+
+#: www/views/tab-settings.html:49
+msgid "Enabled"
+msgstr ""
+
+#: src/js/services/walletService.js:1047
+#: src/js/services/walletService.js:1062
+msgid "Enter Spending Password"
+msgstr ""
+
+#: src/js/services/bitpayAccountService.js:110
+msgid "Enter Two Factor for your BitPay account"
+msgstr ""
+
+#: www/views/amount.html:4
+msgid "Enter amount"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:41
+msgid "Enter custom fee"
+msgstr ""
+
+#: src/js/services/walletService.js:1029
+msgid "Enter new spending password"
+msgstr ""
+
+#: www/views/join.html:79
+#: www/views/tab-create-personal.html:51
+#: www/views/tab-create-shared.html:80
+msgid "Enter the recovery phrase (BIP39)"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:13
+msgid "Enter your email"
+msgstr ""
+
+#: www/views/backup.html:69
+msgid "Enter your password"
+msgstr ""
+
+#. Trying to import a malformed wallet export QR code
+#: src/js/controllers/activity.js:45
+#: src/js/controllers/addressbookAdd.js:30
+#: src/js/controllers/addressbookView.js:42
+#: src/js/controllers/addresses.js:125
+#: src/js/controllers/addresses.js:126
+#: src/js/controllers/bitpayCard.js:66
+#: src/js/controllers/bitpayCardIntro.js:40
+#: src/js/controllers/bitpayCardIntro.js:81
+#: src/js/controllers/buyAmazon.js:24
+#: src/js/controllers/buyAmazon.js:35
+#: src/js/controllers/buyMercadoLibre.js:24
+#: src/js/controllers/buyMercadoLibre.js:35
+#: src/js/controllers/confirm.js:307
+#: src/js/controllers/copayers.js:67
+#: src/js/controllers/create.js:161
+#: src/js/controllers/create.js:174
+#: src/js/controllers/create.js:180
+#: src/js/controllers/create.js:186
+#: src/js/controllers/create.js:208
+#: src/js/controllers/create.js:215
+#: src/js/controllers/create.js:233
+#: src/js/controllers/export.js:109
+#: src/js/controllers/export.js:115
+#: src/js/controllers/export.js:126
+#: src/js/controllers/export.js:154
+#: src/js/controllers/export.js:160
+#: src/js/controllers/export.js:171
+#: src/js/controllers/export.js:47
+#: src/js/controllers/export.js:53
+#: src/js/controllers/feedback/send.js:23
+#: src/js/controllers/import.js:119
+#: src/js/controllers/import.js:131
+#: src/js/controllers/import.js:149
+#: src/js/controllers/import.js:200
+#: src/js/controllers/import.js:229
+#: src/js/controllers/import.js:238
+#: src/js/controllers/import.js:254
+#: src/js/controllers/import.js:266
+#: src/js/controllers/import.js:278
+#: src/js/controllers/import.js:288
+#: src/js/controllers/import.js:312
+#: src/js/controllers/import.js:325
+#: src/js/controllers/import.js:335
+#: src/js/controllers/import.js:345
+#: src/js/controllers/import.js:369
+#: src/js/controllers/import.js:382
+#: src/js/controllers/import.js:85
+#: src/js/controllers/import.js:98
+#: src/js/controllers/join.js:125
+#: src/js/controllers/join.js:139
+#: src/js/controllers/join.js:145
+#: src/js/controllers/join.js:151
+#: src/js/controllers/join.js:174
+#: src/js/controllers/join.js:182
+#: src/js/controllers/join.js:200
+#: src/js/controllers/modals/feeLevels.js:9
+#: src/js/controllers/modals/txpDetails.js:140
+#: src/js/controllers/paperWallet.js:47
+#: src/js/controllers/preferencesBitpayCard.js:20
+#: src/js/controllers/preferencesBitpayServices.js:33
+#: src/js/controllers/preferencesBitpayServices.js:50
+#: src/js/controllers/preferencesDelete.js:36
+#: src/js/controllers/preferencesExternal.js:20
+#: src/js/controllers/tab-home.js:174
+#: src/js/controllers/tab-send.js:143
+#: src/js/controllers/tabsController.js:36
+#: src/js/controllers/tabsController.js:7
+#: src/js/controllers/topup.js:21
+#: src/js/controllers/topup.js:32
+#: src/js/controllers/tx-details.js:119
+#: src/js/services/incomingData.js:101
+#: src/js/services/incomingData.js:125
+#: src/js/services/incomingData.js:168
+#: www/views/mercadoLibreCards.html:19
+#: www/views/modals/mercadolibre-card-details.html:45
+msgid "Error"
+msgstr ""
+
+#: src/js/controllers/confirm.js:502
+msgid "Error at confirm"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:179
+msgid "Error creating gift card"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:94
+#: src/js/controllers/buyMercadoLibre.js:94
+msgid "Error creating the invoice"
+msgstr ""
+
+#: src/js/services/profileService.js:412
+msgid "Error creating wallet"
+msgstr ""
+
+#: src/js/controllers/confirm.js:296
+msgid "Error getting SendMax information"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:136
+#: src/js/controllers/buyMercadoLibre.js:136
+#: src/js/controllers/topup.js:114
+msgid "Error in Payment Protocol"
+msgstr ""
+
+#: src/js/controllers/bitpayCardIntro.js:14
+msgid "Error pairing BitPay Account"
+msgstr ""
+
+#: src/js/controllers/paperWallet.js:41
+msgid "Error scanning funds:"
+msgstr ""
+
+#: src/js/controllers/paperWallet.js:90
+msgid "Error sweeping wallet:"
+msgstr ""
+
+#: src/js/controllers/bitpayCardIntro.js:20
+msgid "Error updating Debit Cards"
+msgstr ""
+
+#: src/js/services/bwcError.js:143
+msgid "Exceeded daily limit of $500 per user"
+msgstr ""
+
+#: src/js/controllers/confirm.js:461
+#: www/views/confirm.html:27
+#: www/views/mercadoLibreCards.html:25
+#: www/views/modals/mercadolibre-card-details.html:34
+#: www/views/modals/txp-details.html:119
+msgid "Expired"
+msgstr ""
+
+#: www/views/modals/paypro.html:54
+#: www/views/modals/txp-details.html:125
+msgid "Expires"
+msgstr ""
+
+#: www/views/preferencesAdvanced.html:21
+msgid "Export Wallet"
+msgstr ""
+
+#: www/views/preferencesHistory.html:11
+#: www/views/preferencesHistory.html:14
+msgid "Export to file"
+msgstr ""
+
+#: www/views/export.html:3
+msgid "Export wallet"
+msgstr ""
+
+#: src/js/services/walletService.js:1174
+#: www/views/tab-export-qrCode.html:9
+msgid "Exporting via QR not supported for this wallet"
+msgstr ""
+
+#: www/views/preferencesInformation.html:89
+msgid "Extended Public Keys"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:20
+msgid "Extracting Wallet information..."
+msgstr ""
+
+#: src/js/controllers/export.js:115
+#: src/js/controllers/export.js:126
+#: src/js/controllers/export.js:160
+#: src/js/controllers/export.js:171
+#: www/views/tab-export-file.html:4
+msgid "Failed to export"
+msgstr ""
+
+#: www/views/tab-create-personal.html:14
+#: www/views/tab-create-shared.html:14
+msgid "Family vacation funds"
+msgstr ""
+
+#: www/views/tx-details.html:79
+msgid "Fee"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:75
+msgid "Fee level"
+msgstr ""
+
+#: src/js/controllers/modals/feeLevels.js:100
+msgid "Fee level is not defined"
+msgstr ""
+
+#: www/views/confirm.html:79
+#: www/views/modals/txp-details.html:99
+msgid "Fee:"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:23
+msgid "Feedback could not be submitted. Please try again later."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:42
+msgid "Fetching BitPay Account..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:21
+msgid "Fetching payment information"
+msgstr ""
+
+#: www/views/export.html:14
+#: www/views/import.html:16
+msgid "File/Text"
+msgstr ""
+
+#: www/views/preferencesLogs.html:17
+msgid "Filter setting"
+msgstr ""
+
+#: src/js/services/fingerprintService.js:43
+#: src/js/services/fingerprintService.js:48
+msgid "Finger Scan Failed"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:34
+#: www/views/feedback/complete.html:7
+msgid "Finish"
+msgstr ""
+
+#: www/views/tab-create-personal.html:123
+#: www/views/tab-create-shared.html:152
+msgid "For audit purposes"
+msgstr ""
+
+#: src/js/controllers/topup.js:308
+#: www/views/buyAmazon.html:29
+#: www/views/buyMercadoLibre.html:28
+#: www/views/confirm.html:65
+#: www/views/modals/txp-details.html:74
+#: www/views/topup.html:34
+#: www/views/tx-details.html:52
+msgid "From"
+msgstr ""
+
+#: src/js/controllers/bitpayCardIntro.js:71
+msgid "From BitPay account"
+msgstr ""
+
+#: www/views/tab-import-phrase.html:57
+msgid "From Hardware Wallet"
+msgstr ""
+
+#: www/views/tab-export-qrCode.html:5
+msgid "From the destination device, go to Add wallet > Import wallet and scan this QR code"
+msgstr ""
+
+#: src/js/services/bwcError.js:74
+msgid "Funds are locked by pending spend proposals"
+msgstr ""
+
+#: www/views/paperWallet.html:16
+msgid "Funds found:"
+msgstr ""
+
+#: www/views/topup.html:49
+msgid "Funds to be added"
+msgstr ""
+
+#: www/views/paperWallet.html:51
+msgid "Funds transferred"
+msgstr ""
+
+#: www/views/topup.html:103
+msgid "Funds were added to debit card"
+msgstr ""
+
+#: www/views/paperWallet.html:22
+msgid "Funds will be transferred to"
+msgstr ""
+
+#: www/views/tab-receive.html:51
+msgid "Generate new address"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:22
+msgid "Generating .csv file..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:37
+msgid "Generating new address..."
+msgstr ""
+
+#: www/views/bitpayCardIntro.html:23
+msgid "Get local cash anywhere you go, from any Visa® compatible ATM. ATM bank fees may apply."
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:15
+msgid "Get news and updates from BitPay"
+msgstr ""
+
+#: www/views/onboarding/welcome.html:8
+msgctxt "button"
+msgid "Get started"
+msgstr ""
+
+#: www/views/bitpayCard.html:49
+msgid "Get started"
+msgstr ""
+
+#: www/views/addressbook.html:20
+msgid "Get started by adding your first one."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:23
+msgid "Getting fee levels..."
+msgstr ""
+
+#: www/views/buyAmazon.html:43
+#: www/views/buyMercadoLibre.html:42
+msgid "Gift Card"
+msgstr ""
+
+#: www/views/modals/mercadolibre-card-details.html:30
+#: www/views/modals/mercadolibre-card-details.html:35
+msgid "Gift Card is not available to use anymore"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:204
+msgid "Gift card expired"
+msgstr ""
+
+#: www/views/buyAmazon.html:111
+msgid "Gift card generated and ready to use."
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:114
+#: src/js/controllers/bitpayCard.js:124
+#: src/js/controllers/cashScan.js:20
+#: src/js/controllers/onboarding/terms.js:23
+#: src/js/controllers/preferences.js:67
+#: src/js/controllers/preferencesAbout.js:16
+#: src/js/controllers/preferencesCash.js:34
+#: src/js/controllers/preferencesLanguage.js:14
+#: src/js/controllers/tab-home.js:149
+#: src/js/controllers/tab-settings.js:53
+#: src/js/controllers/tx-details.js:193
+#: src/js/controllers/tx-details.js:56
+msgid "Go Back"
+msgstr ""
+
+#: src/js/controllers/confirm.js:131
+#: src/js/controllers/onboarding/backupRequest.js:20
+#: src/js/controllers/onboarding/backupRequest.js:26
+#: src/js/services/bitpayAccountService.js:84
+msgid "Go back"
+msgstr ""
+
+#: www/views/backupWarning.html:15
+#: www/views/includes/confirmBackupPopup.html:8
+#: www/views/onboarding/tour.html:23
+msgid "Got it"
+msgstr ""
+
+#: www/views/preferencesInformation.html:53
+#: www/views/preferencesInformation.html:59
+msgid "Hardware Wallet"
+msgstr ""
+
+#: www/views/preferencesExternal.html:18
+msgid "Hardware not connected."
+msgstr ""
+
+#: www/views/import.html:20
+msgid "Hardware wallet"
+msgstr ""
+
+#: src/js/controllers/create.js:180
+#: src/js/controllers/join.js:145
+msgid "Hardware wallets are not yet supported with Bitcoin Cash"
+msgstr ""
+
+#: www/views/tab-settings.html:20
+msgid "Help & Support"
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:112
+#: src/js/controllers/tab-settings.js:51
+msgid "Help and support information is available at the website."
+msgstr ""
+
+#: www/views/addresses.html:25
+msgid "Hide"
+msgstr ""
+
+#: www/views/preferences.html:27
+msgid "Hide Balance"
+msgstr ""
+
+#: www/views/advancedSettings.html:30
+msgid "Hide Next Steps Card"
+msgstr ""
+
+#: www/views/join.html:49
+#: www/views/tab-create-personal.html:28
+#: www/views/tab-create-shared.html:57
+#: www/views/tab-export-file.html:25
+#: www/views/tab-import-file.html:30
+#: www/views/tab-import-hardware.html:31
+#: www/views/tab-import-phrase.html:36
+msgid "Hide advanced options"
+msgstr ""
+
+#: www/views/tabs.html:3
+msgid "Home"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:61
+#: src/js/controllers/feedback/send.js:65
+#: src/js/controllers/feedback/send.js:69
+msgid "How could we improve your experience?"
+msgstr ""
+
+#: www/views/feedback/rateCard.html:3
+msgid "How do you like {{appName}}?"
+msgstr ""
+
+#: src/js/controllers/feedback/rateCard.js:29
+msgid "I don't like it"
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:43
+msgid "I have read, understood, and agree to the Terms of Use ."
+msgstr ""
+
+#: www/views/modals/terms.html:22
+msgid "I have read, understood, and agree with the Terms of use."
+msgstr ""
+
+#: www/views/join.html:137
+#: www/views/tab-create-personal.html:107
+#: www/views/tab-create-shared.html:136
+msgid "I have written it down"
+msgstr ""
+
+#: src/js/controllers/feedback/rateCard.js:35
+msgid "I like the app"
+msgstr ""
+
+#: src/js/controllers/feedback/rateCard.js:26
+msgid "I think this app is terrible."
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:19
+#: www/views/includes/screenshotWarningModal.html:9
+msgid "I understand"
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:21
+msgid "I understand that if this app is moved to another device or deleted, my bitcoin can only be recovered with the backup phrase."
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:18
+msgid "I understand that my funds are held securely on this device, not by a company."
+msgstr ""
+
+#: www/views/backup.html:36
+msgid "I've written it down"
+msgstr ""
+
+#: www/views/preferences.html:45
+msgid "If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with this wallet will be protected."
+msgstr ""
+
+#: www/views/advancedSettings.html:23
+msgid "If enabled, the Recent Transactions card - a list of transactions occuring across all wallets - will appear in the Home tab."
+msgstr ""
+
+#: www/views/advancedSettings.html:14
+msgid "If enabled, wallets will also try to spend unconfirmed funds. This option may cause transaction delays."
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:18
+msgid "If this device is replaced or this app is deleted, neither you nor BitPay can recover your funds without a backup."
+msgstr ""
+
+#: www/views/feedback/complete.html:23
+msgid "If you have additional feedback, please let us know by tapping the \"Send feedback\" option in the Settings tab."
+msgstr ""
+
+#: www/views/includes/screenshotWarningModal.html:8
+msgid "If you take a screenshot, your backup may be viewed by other apps. You can make a safe backup with physical paper and a pen."
+msgstr ""
+
+#: www/views/tab-import-hardware.html:42
+#: www/views/tab-import-phrase.html:80
+msgid "Import"
+msgstr ""
+
+#: www/views/import.html:3
+msgid "Import Wallet"
+msgstr ""
+
+#: www/views/tab-import-file.html:41
+msgid "Import backup"
+msgstr ""
+
+#: www/views/add.html:38
+msgid "Import wallet"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:24
+msgid "Importing Wallet..."
+msgstr ""
+
+#: www/views/backup.html:72
+msgid "In order to verify your wallet backup, please type your password."
+msgstr ""
+
+#: www/views/mercadoLibreCards.html:24
+#: www/views/modals/mercadolibre-card-details.html:29
+msgid "Inactive"
+msgstr ""
+
+#: www/views/includes/walletItem.html:9
+#: www/views/includes/walletList.html:6
+#: www/views/includes/walletListSettings.html:9
+#: www/views/includes/walletSelector.html:16
+msgid "Incomplete"
+msgstr ""
+
+#: www/views/tab-receive.html:22
+msgid "Incomplete wallet"
+msgstr ""
+
+#: www/views/modals/pin.html:12
+msgid "Incorrect PIN, try again."
+msgstr ""
+
+#. Trying to import a malformed wallet export QR code
+#: src/js/controllers/import.js:85
+msgid "Incorrect code format"
+msgstr ""
+
+#: src/js/services/bwcError.js:113
+msgid "Incorrect network address"
+msgstr ""
+
+#: src/js/controllers/confirm.js:114
+#: src/js/controllers/confirm.js:306
+#: src/js/services/bwcError.js:44
+msgid "Insufficient confirmed funds"
+msgstr ""
+
+#: src/js/controllers/topup.js:165
+#: src/js/controllers/topup.js:177
+#: src/js/services/bwcError.js:71
+msgid "Insufficient funds for fee"
+msgstr ""
+
+#: www/views/tab-settings.html:123
+msgid "Integrations"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:49
+msgid "Invalid"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:137
+#: src/js/controllers/buyMercadoLibre.js:137
+#: src/js/controllers/topup.js:115
+msgid "Invalid URL"
+msgstr ""
+
+#: src/js/controllers/create.js:186
+#: src/js/controllers/import.js:345
+#: src/js/controllers/join.js:151
+msgid "Invalid account number"
+msgstr ""
+
+#: src/js/services/bwcError.js:119
+msgid "Invalid address"
+msgstr ""
+
+#: src/js/controllers/tabsController.js:7
+msgid "Invalid data"
+msgstr ""
+
+#: src/js/controllers/create.js:161
+#: src/js/controllers/import.js:266
+#: src/js/controllers/join.js:125
+msgid "Invalid derivation path"
+msgstr ""
+
+#: src/js/controllers/copayers.js:90
+msgid "Invitation to share a {{appName}} Wallet"
+msgstr ""
+
+#: www/views/mercadoLibreCards.html:20
+#: www/views/modals/mercadolibre-card-details.html:48
+msgid "Invoice expired"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:79
+msgid "Is there anything we could do better?"
+msgstr ""
+
+#: www/views/backup.html:54
+msgid "Is this correct?"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:22
+msgid "Is this email address correct?"
+msgstr ""
+
+#: www/views/addresses.html:25
+msgid "It's a good idea to avoid reusing addresses - this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers."
+msgstr ""
+
+#: src/js/controllers/backup.js:76
+msgid "It's important that you write your backup phrase down correctly. If something happens to your wallet, you'll need this backup to recover your money. Please review your backup and try again."
+msgstr ""
+
+#: www/views/join.html:151
+msgid "Join"
+msgstr ""
+
+#: src/js/controllers/copayers.js:85
+msgid "Join my {{appName}} Wallet. Here is the invitation code: {{secret}} You can download {{appName}} for your phone or desktop at {{appUrl}}"
+msgstr ""
+
+#: www/views/add.html:30
+#: www/views/join.html:5
+msgid "Join shared wallet"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:25
+msgid "Joining Wallet..."
+msgstr ""
+
+#: www/views/onboarding/tour.html:22
+msgid "Just scan the code to pay."
+msgstr ""
+
+#: src/js/services/bwcError.js:116
+msgid "Key already associated with an existing wallet"
+msgstr ""
+
+#: www/views/preferencesLanguage.html:4
+#: www/views/tab-settings.html:68
+msgid "Language"
+msgstr ""
+
+#: www/views/bitpayCard.html:61
+msgid "Last Month"
+msgstr ""
+
+#: src/js/controllers/confirm.js:132
+#: www/views/preferences.html:48
+#: www/views/preferencesCash.html:18
+#: www/views/tx-details.html:94
+msgid "Learn more"
+msgstr ""
+
+#: www/views/backup.html:43
+msgid "Let's verify your backup phrase."
+msgstr ""
+
+#: www/views/addresses.html:45
+#: www/views/allAddresses.html:14
+msgid "Loading addresses..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:35
+msgid "Loading transaction info..."
+msgstr ""
+
+#: www/views/tab-settings.html:100
+msgid "Lock App"
+msgstr ""
+
+#: src/js/controllers/lockSetup.js:23
+msgid "Lock by Fingerprint"
+msgstr ""
+
+#: src/js/controllers/lockSetup.js:14
+msgid "Lock by PIN"
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:80
+msgid "Locked"
+msgstr ""
+
+#: src/js/services/bwcError.js:86
+msgid "Locktime in effect. Please wait to create a new spend proposal"
+msgstr ""
+
+#: src/js/services/bwcError.js:89
+msgid "Locktime in effect. Please wait to remove this spend proposal"
+msgstr ""
+
+#: www/views/includes/logOptions.html:3
+msgid "Log options"
+msgstr ""
+
+#: www/views/modals/bitpay-card-confirmation.html:14
+msgid "Log out"
+msgstr ""
+
+#: www/views/addresses.html:87
+msgid "Low amount inputs"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:27
+msgid "Low fees"
+msgstr ""
+
+#: www/views/onboarding/tour.html:38
+msgid "Makes sense"
+msgstr ""
+
+#: src/js/controllers/modals/search.js:61
+msgid "Matches:"
+msgstr ""
+
+#: www/views/includes/copayers.html:4
+#: www/views/preferencesInformation.html:85
+msgid "Me"
+msgstr ""
+
+#: src/js/controllers/feedback/rateCard.js:32
+msgid "Meh - it's alright"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:165
+#: www/views/modals/paypro.html:48
+#: www/views/modals/txp-details.html:93
+#: www/views/tx-details.html:72
+msgid "Memo"
+msgstr ""
+
+#: www/views/mercadoLibre.html:6
+msgid "Mercado Livre Brazil Gift Cards"
+msgstr ""
+
+#: src/js/controllers/buyMercadoLibre.js:98
+msgid "Mercadolibre Gift Card Service is not available at this moment. Please try back later."
+msgstr ""
+
+#: www/views/modals/txp-details.html:131
+msgid "Merchant Message"
+msgstr ""
+
+#: www/views/buyAmazon.html:55
+#: www/views/buyMercadoLibre.html:54
+#: www/views/topup.html:63
+msgid "Miner Fee"
+msgstr ""
+
+#: src/js/services/bwcError.js:134
+msgid "Missing parameter"
+msgstr ""
+
+#: src/js/services/bwcError.js:32
+msgid "Missing private keys to sign"
+msgstr ""
+
+#: www/views/preferences.html:61
+#: www/views/preferencesAdvanced.html:3
+msgid "More Options"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:47
+#: www/views/tx-details.html:19
+msgid "Moved"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:131
+msgid "Moved Funds"
+msgstr ""
+
+#: www/views/modals/txp-details.html:57
+msgid "Multiple recipients"
+msgstr ""
+
+#: www/views/tab-import-phrase.html:8
+msgid "NOTE: To import a wallet from a 3rd party software, please go to Add Wallet > Create Wallet, and specify the Recovery Phrase there."
+msgstr ""
+
+#: www/views/addressbook.add.html:21
+#: www/views/addressbook.view.html:18
+#: www/views/preferences.html:15
+#: www/views/preferencesAlias.html:17
+msgid "Name"
+msgstr ""
+
+#: www/views/buyAmazon.html:49
+#: www/views/buyMercadoLibre.html:48
+#: www/views/topup.html:56
+msgid "Network Cost"
+msgstr ""
+
+#: src/js/services/bwcError.js:47
+msgid "Network error"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:43
+msgid "New Proposal"
+msgstr ""
+
+#: src/js/controllers/addresses.js:126
+msgid "New address could not be generated. Please try again."
+msgstr ""
+
+#: www/views/add.html:14
+msgid "New personal wallet"
+msgstr ""
+
+#: www/views/includes/nextSteps.html:3
+msgid "Next steps"
+msgstr ""
+
+#: www/views/tab-receive.html:16
+msgid "No Wallet"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:115
+#: src/js/controllers/buyMercadoLibre.js:115
+msgid "No access key defined"
+msgstr ""
+
+#: www/views/onboarding/backupRequest.html:5
+msgid "No backup, no bitcoin."
+msgstr ""
+
+#: www/views/addressbook.html:19
+msgid "No contacts yet"
+msgstr ""
+
+#: www/views/preferencesLogs.html:16
+msgid "No entries for this log level"
+msgstr ""
+
+#: www/views/preferencesExternal.html:12
+msgid "No hardware information available."
+msgstr ""
+
+#: www/views/tab-import-hardware.html:3
+msgid "No hardware wallets supported on this device"
+msgstr ""
+
+#: www/views/proposals.html:24
+msgid "No pending proposals"
+msgstr ""
+
+#: www/views/activity.html:25
+msgid "No recent transactions"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:44
+#: src/js/controllers/topup.js:47
+msgid "No signing proposal: No private key"
+msgstr ""
+
+#: www/views/walletDetails.html:204
+msgid "No transactions yet"
+msgstr ""
+
+#: src/js/controllers/preferencesDelete.js:15
+msgid "No wallet found"
+msgstr ""
+
+#: src/js/controllers/preferencesDelete.js:8
+msgid "No wallet selected"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:300
+#: src/js/controllers/buyMercadoLibre.js:292
+#: src/js/controllers/confirm.js:85
+#: src/js/controllers/topup.js:265
+msgid "No wallets available"
+msgstr ""
+
+#: www/views/paperWallet.html:45
+msgid "No wallets available to receive funds"
+msgstr ""
+
+#: www/views/cashScan.html:15
+msgid "No wallets eligible for Bitcoin Cash support"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:58
+msgid "Non BIP44 wallet"
+msgstr ""
+
+#: www/views/cashScan.html:46
+msgid "Non eligible BTC wallets"
+msgstr ""
+
+#: src/js/services/feeService.js:12
+msgid "Normal"
+msgstr ""
+
+#: src/js/services/bwcError.js:80
+msgid "Not authorized"
+msgstr ""
+
+#: src/js/controllers/confirm.js:307
+msgid "Not enough funds for fee"
+msgstr ""
+
+#: www/views/onboarding/tour.html:50
+msgid "Not even BitPay can access it."
+msgstr ""
+
+#: src/js/controllers/paperWallet.js:47
+msgid "Not funds found"
+msgstr ""
+
+#: www/views/feedback/rateApp.html:3
+#: www/views/onboarding/notifications.html:8
+msgid "Not now"
+msgstr ""
+
+#: www/views/includes/output.html:15
+msgid "Note"
+msgstr ""
+
+#: www/views/backup.html:19
+msgid "Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase."
+msgstr ""
+
+#: www/views/modals/wallets.html:25
+msgid "Notice: only 1-1 (single signature) wallets can be used for sell bitcoin"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:3
+#: www/views/tab-settings.html:61
+msgid "Notifications"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:9
+msgid "Notifications by email"
+msgstr ""
+
+#: www/views/tx-details.html:117
+msgid "Notify me if confirmed"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:24
+msgid "Notify me when transactions are confirmed"
+msgstr ""
+
+#: www/views/includes/backupNeededPopup.html:8
+msgid "Now is a good time to backup your wallet. If this device is lost, it is impossible to access your funds without a backup."
+msgstr ""
+
+#: www/views/backupWarning.html:11
+msgid "Now is a perfect time to assess your surroundings. Nearby windows? Hidden cameras? Shoulder-spies?"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:312
+#: src/js/controllers/topup.js:286
+#: src/js/services/incomingData.js:153
+#: src/js/services/popupService.js:16
+#: src/js/services/popupService.js:52
+#: src/js/services/popupService.js:61
+#: src/js/services/popupService.js:72
+#: www/views/modals/chooseFeeLevel.html:6
+msgid "OK"
+msgstr ""
+
+#: www/views/modals/tx-status.html:12
+#: www/views/modals/tx-status.html:24
+#: www/views/modals/tx-status.html:36
+#: www/views/modals/tx-status.html:46
+msgid "OKAY"
+msgstr ""
+
+#: www/views/modals/terms.html:15
+msgid "Official English Disclaimer"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:64
+msgid "Oh no!"
+msgstr ""
+
+#: src/js/controllers/buyMercadoLibre.js:306
+msgid "Ok"
+msgstr ""
+
+#: www/views/tab-home.html:39
+msgid "On this screen you can see all your wallets, accounts, and assets."
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:113
+#: src/js/controllers/cashScan.js:19
+#: src/js/controllers/preferences.js:66
+#: src/js/controllers/preferencesCash.js:33
+#: src/js/controllers/tab-settings.js:52
+#: src/js/controllers/tx-details.js:55
+msgid "Open"
+msgstr ""
+
+#: src/js/controllers/preferencesLanguage.js:13
+msgid "Open Crowdin"
+msgstr ""
+
+#: src/js/controllers/preferencesAbout.js:15
+msgid "Open GitHub"
+msgstr ""
+
+#: src/js/controllers/preferencesAbout.js:13
+msgid "Open GitHub Project"
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:123
+#: src/js/controllers/tx-details.js:192
+msgid "Open Explorer"
+msgstr ""
+
+#: www/views/tab-scan.html:22
+msgid "Open Settings"
+msgstr ""
+
+#: src/js/controllers/preferencesLanguage.js:11
+msgid "Open Translation Community"
+msgstr ""
+
+#: src/js/controllers/onboarding/terms.js:22
+msgid "Open Website"
+msgstr ""
+
+#: src/js/controllers/preferencesCash.js:32
+msgid "Open bitcoincash.org?"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:18
+msgid "Open the recovery tool."
+msgstr ""
+
+#: www/views/tab-receive.html:27
+msgid "Open wallet"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:19
+msgid "Open website"
+msgstr ""
+
+#: www/views/bitpayCardIntro.html:34
+msgid "Order the BitPay Card"
+msgstr ""
+
+#: www/views/join.html:105
+#: www/views/join.html:96
+#: www/views/tab-create-personal.html:69
+#: www/views/tab-create-personal.html:77
+#: www/views/tab-create-shared.html:106
+#: www/views/tab-create-shared.html:98
+#: www/views/tab-import-file.html:18
+#: www/views/tab-import-phrase.html:41
+msgid "Password"
+msgstr ""
+
+#: src/js/controllers/import.js:98
+msgid "Password required. Make sure to enter your password in advanced options"
+msgstr ""
+
+#: www/views/join.html:33
+msgid "Paste invitation here"
+msgstr ""
+
+#: www/views/tab-import-file.html:13
+msgid "Paste the backup plain text code"
+msgstr ""
+
+#: www/views/bitpayCardIntro.html:28
+msgid "Pay 0% fees to turn bitcoin into dollars."
+msgstr ""
+
+#: www/views/modals/paypro.html:18
+msgid "Pay To"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:51
+#: www/views/modals/tx-status.html:33
+msgid "Payment Accepted"
+msgstr ""
+
+#: www/views/confirm.html:25
+msgid "Payment Expires:"
+msgstr ""
+
+#: www/views/modals/txp-details.html:6
+msgid "Payment Proposal"
+msgstr ""
+
+#: www/views/modals/tx-status.html:21
+msgid "Payment Proposal Created"
+msgstr ""
+
+#: www/views/tab-home.html:46
+msgid "Payment Proposals"
+msgstr ""
+
+#: src/js/services/payproService.js:32
+msgid "Payment Protocol Invalid"
+msgstr ""
+
+#: src/js/services/payproService.js:18
+msgid "Payment Protocol not supported on Chrome App"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:20
+msgid "Payment Received"
+msgstr ""
+
+#: www/views/modals/tx-status.html:43
+#: www/views/modals/txp-details.html:43
+msgid "Payment Rejected"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:44
+#: www/views/confirm.html:124
+#: www/views/includes/walletActivity.html:11
+#: www/views/modals/txp-details.html:42
+msgid "Payment Sent"
+msgstr ""
+
+#: www/views/modals/txp-details.html:32
+msgid "Payment accepted, but not yet broadcasted"
+msgstr ""
+
+#: www/views/modals/txp-details.html:40
+msgid "Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created."
+msgstr ""
+
+#: src/js/services/incomingData.js:152
+msgid "Payment address was translated to new Bitcoin Cash address format:"
+msgstr ""
+
+#: www/views/modals/txp-details.html:107
+msgid "Payment details"
+msgstr ""
+
+#: www/views/modals/paypro.html:6
+msgid "Payment request"
+msgstr ""
+
+#: www/views/mercadoLibreCards.html:22
+#: www/views/modals/mercadolibre-card-details.html:39
+msgid "Pending"
+msgstr ""
+
+#: www/views/proposals.html:4
+msgid "Pending Proposals"
+msgstr ""
+
+#: www/views/preferencesDeleteWallet.html:13
+msgid "Permanently delete this wallet."
+msgstr ""
+
+#: src/js/services/profileService.js:403
+msgid "Personal Wallet"
+msgstr ""
+
+#: www/views/backup.html:25
+msgid "Please carefully write down this phrase."
+msgstr ""
+
+#: www/views/tab-scan.html:20
+msgid "Please connect a camera to get started."
+msgstr ""
+
+#: src/js/controllers/import.js:278
+msgid "Please enter the recovery phrase"
+msgstr ""
+
+#: src/js/controllers/create.js:174
+#: src/js/controllers/join.js:139
+msgid "Please enter the wallet recovery phrase"
+msgstr ""
+
+#: www/views/modals/pin.html:9
+msgid "Please enter your PIN"
+msgstr ""
+
+#: www/views/backup.html:53
+msgid "Please tap each word in the correct order."
+msgstr ""
+
+#: src/js/services/bwcError.js:101
+msgid "Please upgrade Copay to perform this action"
+msgstr ""
+
+#: www/views/walletDetails.html:142
+#: www/views/walletDetails.html:62
+msgid "Please wait"
+msgstr ""
+
+#: src/js/controllers/import.js:238
+msgid "Please, select your backup file"
+msgstr ""
+
+#: www/views/bitpayCard.html:81
+msgid "Pre-Auth Holds"
+msgstr ""
+
+#: www/views/tab-settings.html:40
+msgid "Preferences"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:38
+msgid "Preparing addresses..."
+msgstr ""
+
+#: src/js/controllers/export.js:198
+msgid "Preparing backup..."
+msgstr ""
+
+#: src/js/routes.js:1264
+msgid "Press again to exit"
+msgstr ""
+
+#: src/js/services/feeService.js:11
+msgid "Priority"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:80
+msgid "Private Key"
+msgstr ""
+
+#: src/js/controllers/paperWallet.js:136
+msgid "Private key encrypted. Enter password"
+msgstr ""
+
+#: src/js/services/bwcError.js:35
+msgid "Private key is encrypted, cannot sign"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:51
+msgid "Proposal Accepted"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:61
+#: src/js/controllers/tx-details.js:78
+#: www/views/confirm.html:125
+msgid "Proposal Created"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:27
+msgid "Proposal Deleted"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:35
+msgid "Proposal Rejected"
+msgstr ""
+
+#: www/views/walletDetails.html:189
+msgid "Proposals"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:282
+msgid "Purchase Amount is limited to {{limitPerDay}} {{currency}} per day"
+msgstr ""
+
+#: src/js/controllers/buyMercadoLibre.js:281
+msgid "Purchase amount must be a value between 50 and 2000"
+msgstr ""
+
+#: www/views/onboarding/notifications.html:3
+msgid "Push Notifications"
+msgstr ""
+
+#: www/views/preferencesNotifications.html:17
+msgid "Push notifications for {{appName}} are currently disabled. Enable them in the Settings app."
+msgstr ""
+
+#: www/views/export.html:17
+msgid "QR Code"
+msgstr ""
+
+#: www/views/onboarding/disclaimer.html:13
+msgid "Quick review!"
+msgstr ""
+
+#: src/js/controllers/create.js:84
+#: src/js/controllers/join.js:68
+msgid "Random"
+msgstr ""
+
+#: www/views/feedback/rateApp.html:14
+msgid "Rate on the app store"
+msgstr ""
+
+#: www/views/addresses.html:52
+msgid "Read less"
+msgstr ""
+
+#: www/views/addresses.html:51
+msgid "Read more"
+msgstr ""
+
+#: src/js/controllers/preferences.js:65
+#: src/js/controllers/tx-details.js:54
+msgid "Read more in our Wiki"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:61
+msgid "Read only wallet"
+msgstr ""
+
+#: www/views/tab-receive.html:3
+#: www/views/tabs.html:7
+msgid "Receive"
+msgstr ""
+
+#: www/views/customAmount.html:44
+msgid "Receive in"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:24
+#: www/views/tx-details.html:18
+msgid "Received"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:130
+msgid "Received Funds"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:57
+#: www/views/tx-details.html:24
+msgid "Receiving"
+msgstr ""
+
+#: www/views/bitpayCard.html:60
+#: www/views/includes/walletHistory.html:3
+msgid "Recent"
+msgstr ""
+
+#: www/views/advancedSettings.html:21
+msgid "Recent Transaction Card"
+msgstr ""
+
+#: www/views/activity.html:4
+#: www/views/tab-home.html:58
+msgid "Recent Transactions"
+msgstr ""
+
+#: www/views/amount.html:18
+#: www/views/tab-send.html:9
+msgid "Recipient"
+msgstr ""
+
+#: www/views/modals/txp-details.html:62
+msgid "Recipients"
+msgstr ""
+
+#: www/views/import.html:12
+msgid "Recovery phrase"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:26
+msgid "Recreating Wallet..."
+msgstr ""
+
+#: www/views/modals/mercadolibre-card-details.html:22
+msgid "Redeem now"
+msgstr ""
+
+#: src/js/controllers/modals/txpDetails.js:63
+#: src/js/controllers/tx-details.js:80
+msgid "Rejected"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:27
+msgid "Rejecting payment proposal"
+msgstr ""
+
+#: www/views/preferencesAbout.html:9
+msgid "Release information"
+msgstr ""
+
+#: www/views/addressbook.view.html:36
+#: www/views/modals/mercadolibre-card-details.html:69
+msgid "Remove"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayServices.js:7
+msgid "Remove BitPay Account?"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayServices.js:19
+msgid "Remove BitPay Card?"
+msgstr ""
+
+#: src/js/controllers/preferencesBitpayServices.js:8
+msgid "Removing your BitPay account will remove all associated BitPay account data from this device. Are you sure you would like to remove your BitPay Account ({{email}}) from this device?"
+msgstr ""
+
+#: www/views/join.html:116
+#: www/views/join.html:124
+#: www/views/tab-create-personal.html:86
+#: www/views/tab-create-personal.html:94
+#: www/views/tab-create-shared.html:115
+#: www/views/tab-create-shared.html:123
+#: www/views/tab-export-file.html:17
+msgid "Repeat password"
+msgstr ""
+
+#: www/views/tab-export-file.html:16
+msgid "Repeat the password"
+msgstr ""
+
+#: www/views/preferences.html:56
+msgid "Request Fingerprint"
+msgstr ""
+
+#: www/views/tab-receive.html:45
+msgid "Request Specific amount"
+msgstr ""
+
+#: www/views/preferences.html:42
+msgid "Request Spending Password"
+msgstr ""
+
+#: www/views/tab-create-shared.html:44
+msgid "Required number of signatures"
+msgstr ""
+
+#: www/views/onboarding/welcome.html:9
+msgid "Restore from backup"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:29
+msgid "Retrieving inputs information"
+msgstr ""
+
+#: src/js/controllers/onboarding/tour.js:56
+msgid "Retry"
+msgstr ""
+
+#: www/views/tab-scan.html:23
+msgid "Retry Camera"
+msgstr ""
+
+#: www/views/addressbook.add.html:56
+#: www/views/includes/note.html:9
+#: www/views/preferencesAlias.html:21
+#: www/views/preferencesBwsUrl.html:25
+#: www/views/preferencesNotifications.html:46
+msgid "Save"
+msgstr ""
+
+#: www/views/tab-scan.html:3
+#: www/views/tabs.html:11
+msgid "Scan"
+msgstr ""
+
+#: www/views/tab-scan.html:15
+msgid "Scan QR Codes"
+msgstr ""
+
+#: www/views/addresses.html:31
+msgid "Scan addresses for funds"
+msgstr ""
+
+#: www/views/modals/fingerprintCheck.html:11
+msgid "Scan again"
+msgstr ""
+
+#: src/js/services/fingerprintService.js:56
+msgid "Scan your fingerprint please"
+msgstr ""
+
+#: www/views/preferencesCash.html:23
+msgid "Scan your wallets for Bitcoin Cash"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:30
+msgid "Scanning Wallet funds..."
+msgstr ""
+
+#: www/views/includes/walletList.html:11
+msgid "Scanning funds..."
+msgstr ""
+
+#: www/views/includes/screenshotWarningModal.html:7
+msgid "Screenshots are not secure"
+msgstr ""
+
+#: www/views/modals/search.html:6
+msgid "Search Transactions"
+msgstr ""
+
+#: www/views/tab-send.html:13
+msgid "Search or enter bitcoin address"
+msgstr ""
+
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr ""
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr ""
+
+#: www/views/modals/search.html:16
+msgid "Search transactions"
+msgstr ""
+
+#: www/views/preferencesAltCurrency.html:14
+msgid "Search your currency"
+msgstr ""
+
+#: www/views/preferences.html:30
+msgid "Security"
+msgstr ""
+
+#: www/views/modals/mercadolibre-card-details.html:64
+msgid "See invoice"
+msgstr ""
+
+#: www/views/tab-import-file.html:7
+msgid "Select a backup file"
+msgstr ""
+
+#: src/js/controllers/tab-receive.js:139
+msgid "Select a wallet"
+msgstr ""
+
+#: www/views/modals/paypro.html:38
+msgid "Self-signed Certificate"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:41
+msgid "Selling Bitcoin..."
+msgstr ""
+
+#: www/views/feedback/send.html:13
+#: www/views/feedback/send.html:43
+#: www/views/tab-send.html:3
+#: www/views/tabs.html:15
+msgid "Send"
+msgstr ""
+
+#: www/views/feedback/send.html:3
+#: www/views/tab-settings.html:29
+msgid "Send Feedback"
+msgstr ""
+
+#: www/views/addressbook.view.html:31
+msgid "Send Money"
+msgstr ""
+
+#: www/views/allAddresses.html:19
+msgid "Send addresses by email"
+msgstr ""
+
+#: www/views/includes/logOptions.html:17
+#: www/views/tab-export-file.html:82
+msgid "Send by email"
+msgstr ""
+
+#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
+msgid "Send from"
+msgstr ""
+
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr ""
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr ""
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr ""
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr ""
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr ""
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr ""
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr ""
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr ""
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr ""
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr ""
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr ""
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr ""
+
+#: www/views/includes/itemSelector.html:8
+msgid "Send max amount"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:46
+msgid "Send payment to this address"
+msgstr ""
+
+#: www/views/feedback/rateApp.html:17
+msgid "Send us feedback instead"
+msgstr ""
+
+#: www/views/confirm.html:15
+#: www/views/includes/txp.html:12
+#: www/views/modals/txp-details.html:19
+#: www/views/tx-details.html:23
+msgid "Sending"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:39
+msgid "Sending 2FA code..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:36
+msgid "Sending feedback..."
+msgstr ""
+
+#: www/views/confirm.html:16
+msgid "Sending maximum amount"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:31
+msgid "Sending transaction"
+msgstr ""
+
+#: src/js/controllers/confirm.js:545
+msgid "Sending {{amountStr}} from your {{name}} wallet"
+msgstr ""
+
+#: www/views/includes/walletHistory.html:42
+#: www/views/modals/tx-status.html:9
+#: www/views/topup.html:100
+#: www/views/tx-details.html:17
+msgid "Sent"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:129
+msgid "Sent Funds"
+msgstr ""
+
+#: src/js/services/bwcError.js:38
+msgid "Server response could not be verified"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:97
+#: src/js/controllers/buyMercadoLibre.js:97
+msgid "Service not available"
+msgstr ""
+
+#: www/views/includes/homeIntegrations.html:3
+msgid "Services"
+msgstr ""
+
+#: www/views/preferencesLogs.html:3
+msgid "Session Log"
+msgstr ""
+
+#: www/views/preferencesAbout.html:35
+msgid "Session log"
+msgstr ""
+
+#: www/views/tab-export-file.html:10
+msgid "Set up a password"
+msgstr ""
+
+#: src/js/controllers/preferencesFee.js:85
+msgid "Set your own fee in satoshis/byte"
+msgstr ""
+
+#: www/views/tab-settings.html:3
+#: www/views/tabs.html:19
+msgid "Settings"
+msgstr ""
+
+#: www/views/feedback/complete.html:17
+#: www/views/feedback/complete.html:26
+msgid "Share the love by inviting your friends."
+msgstr ""
+
+#: www/views/copayers.html:20
+msgid "Share this invitation with your copayers"
+msgstr ""
+
+#: src/js/controllers/feedback/complete.js:5
+#: www/views/tab-settings.html:36
+msgid "Share {{appName}}"
+msgstr ""
+
+#: www/views/tab-import-hardware.html:24
+msgid "Shared Wallet"
+msgstr ""
+
+#: www/views/preferencesExternal.html:34
+msgid "Show Recovery Phrase"
+msgstr ""
+
+#: www/views/tab-receive.html:34
+msgid "Show address"
+msgstr ""
+
+#: www/views/join.html:48
+#: www/views/tab-create-personal.html:27
+#: www/views/tab-create-shared.html:56
+#: www/views/tab-export-file.html:24
+#: www/views/tab-import-file.html:29
+#: www/views/tab-import-hardware.html:30
+#: www/views/tab-import-phrase.html:35
+msgid "Show advanced options"
+msgstr ""
+
+#: www/views/tab-send.html:37
+msgid "Show bitcoin address"
+msgstr ""
+
+#: www/views/tab-send.html:59
+msgid "Show more"
+msgstr ""
+
+#: src/js/services/bwcError.js:104
+msgid "Signatures rejected by server"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:32
+msgid "Signing transaction"
+msgstr ""
+
+#: www/views/onboarding/backupRequest.html:6
+msgid "Since only you control your money, you’ll need to save your backup phrase in case this app is deleted."
+msgstr ""
+
+#: www/views/tab-create-personal.html:122
+#: www/views/tab-create-shared.html:151
+msgid "Single Address Wallet"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:40
+#: www/views/onboarding/tour.html:11
+msgid "Skip"
+msgstr ""
+
+#: src/js/controllers/confirm.js:371
+#: src/js/controllers/modals/txpDetails.js:47
+msgid "Slide to accept"
+msgstr ""
+
+#: www/views/buyAmazon.html:96
+msgid "Slide to buy"
+msgstr ""
+
+#: src/js/controllers/confirm.js:365
+msgid "Slide to pay"
+msgstr ""
+
+#: src/js/controllers/confirm.js:377
+#: src/js/controllers/modals/txpDetails.js:40
+msgid "Slide to send"
+msgstr ""
+
+#: www/views/cashScan.html:56
+msgid "Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets using the"
+msgstr ""
+
+#: src/js/controllers/create.js:88
+#: src/js/controllers/join.js:71
+msgid "Specify Recovery Phrase..."
+msgstr ""
+
+#: src/js/services/bwcError.js:92
+msgid "Spend proposal is not accepted"
+msgstr ""
+
+#: src/js/services/bwcError.js:95
+msgid "Spend proposal not found"
+msgstr ""
+
+#: src/js/services/bwcError.js:137
+msgid "Spending Password needed"
+msgstr ""
+
+#: www/views/walletDetails.html:173
+msgid "Spending this balance will need significant Bitcoin network fees"
+msgstr ""
+
+#: www/views/tab-send.html:28
+msgid "Start sending bitcoin"
+msgstr ""
+
+#: www/views/lockSetup.html:3
+msgid "Startup Lock"
+msgstr ""
+
+#: www/views/mercadoLibreCards.html:21
+#: www/views/modals/mercadolibre-card-details.html:42
+msgid "Still pending"
+msgstr ""
+
+#: www/views/topup.html:101
+msgid "Success"
+msgstr ""
+
+#: src/js/services/feeService.js:14
+msgid "Super Economy"
+msgstr ""
+
+#: www/views/preferencesCash.html:11
+msgid "Support Bitcoin Cash"
+msgstr ""
+
+#: www/views/paperWallet.html:7
+msgid "Sweep"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:89
+#: www/views/paperWallet.html:3
+msgid "Sweep paper wallet"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:33
+msgid "Sweeping Wallet..."
+msgstr ""
+
+#: www/views/preferencesDeleteWallet.html:16
+msgid "THIS ACTION CANNOT BE REVERSED"
+msgstr ""
+
+#: www/views/onboarding/welcome.html:5
+msgid "Take control of your money, get started with bitcoin."
+msgstr ""
+
+#: www/views/walletDetails.html:132
+#: www/views/walletDetails.html:52
+msgid "Tap and hold to show"
+msgstr ""
+
+#: www/views/includes/walletInfo.html:3
+msgid "Tap to recreate"
+msgstr ""
+
+#: www/views/includes/walletInfo.html:4
+msgid "Tap to retry"
+msgstr ""
+
+#: www/views/termsOfUse.html:3
+msgid "Terms Of Use"
+msgstr ""
+
+#: www/views/modals/terms.html:3
+#: www/views/onboarding/disclaimer.html:29
+#: www/views/onboarding/disclaimer.html:43
+#: www/views/preferencesAbout.html:30
+msgid "Terms of Use"
+msgstr ""
+
+#: www/views/tab-create-personal.html:118
+#: www/views/tab-import-phrase.html:68
+msgid "Testnet"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:61
+msgid "Text"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:27
+#: src/js/controllers/feedback/send.js:76
+#: www/views/feedback/complete.html:20
+#: www/views/feedback/rateApp.html:4
+msgid "Thank you!"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:72
+msgid "Thanks!"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:73
+msgid "That's exciting to hear. We'd love to earn that fifth star from you – how could we improve your experience?"
+msgstr ""
+
+#: src/js/services/ledger.js:152
+msgid "The Ledger Chrome application is not installed"
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:55
+msgid "The amount of bitcoin immediately spendable from this wallet."
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:93
+msgid "The amount of bitcoin stored in this wallet that is allocated as inputs to your pending transaction proposals. The amount is determined using unspent transaction outputs associated with this wallet and may be more than the actual amounts associated with your pending transaction proposals."
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:74
+msgid "The amount of bitcoin stored in this wallet with less than 1 blockchain confirmation."
+msgstr ""
+
+#: www/views/tab-import-phrase.html:5
+msgid "The derivation path"
+msgstr ""
+
+#: www/views/onboarding/tour.html:37
+msgid "The exchange rate changes with the market."
+msgstr ""
+
+#: www/views/preferencesFee.html:12
+msgid "The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy."
+msgstr ""
+
+#: www/views/addresses.html:51
+msgid "The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab."
+msgstr ""
+
+#: src/js/controllers/onboarding/terms.js:21
+msgid "The official English Terms of Service are available on the BitPay website."
+msgstr ""
+
+#: www/views/tab-import-phrase.html:4
+msgid "The password of the recovery phrase (if set)"
+msgstr ""
+
+#: src/js/services/walletService.js:1139
+msgid "The payment was created but could not be completed. Please try again from home screen"
+msgstr ""
+
+#: www/views/modals/txp-details.html:26
+msgid "The payment was removed by creator"
+msgstr ""
+
+#: www/views/join.html:91
+#: www/views/tab-create-personal.html:63
+#: www/views/tab-create-shared.html:92
+#: www/views/tab-import-phrase.html:43
+msgid "The recovery phrase could require a password to be imported"
+msgstr ""
+
+#: src/js/services/bwcError.js:56
+msgid "The request could not be understood by the server"
+msgstr ""
+
+#: www/views/addresses.html:52
+msgid "The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated."
+msgstr ""
+
+#: src/js/services/bwcError.js:98
+msgid "The spend proposal is not pending"
+msgstr ""
+
+#: www/views/modals/wallet-balance.html:36
+msgid "The total amount of bitcoin stored in this wallet."
+msgstr ""
+
+#: www/views/preferencesHistory.html:27
+msgid "The transaction history and every new incoming transaction are cached in the app. This feature clean this up and synchronizes again from the server"
+msgstr ""
+
+#: www/views/tab-import-phrase.html:6
+msgid "The wallet service URL"
+msgstr ""
+
+#: src/js/controllers/tab-home.js:38
+msgid "There is a new version of {{appName}} available"
+msgstr ""
+
+#: src/js/controllers/import.js:229
+#: src/js/controllers/import.js:254
+#: src/js/controllers/import.js:335
+msgid "There is an error in the form"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:61
+#: src/js/controllers/feedback/send.js:65
+msgid "There's obviously something we're doing wrong."
+msgstr ""
+
+#: src/js/controllers/feedback/rateCard.js:38
+msgid "This app is fantastic!"
+msgstr ""
+
+#: www/views/onboarding/tour.html:47
+msgid "This app stores your bitcoin with cutting-edge security."
+msgstr ""
+
+#: src/js/controllers/confirm.js:523
+msgid "This bitcoin payment request has expired."
+msgstr ""
+
+#: www/views/join.html:133
+#: www/views/tab-create-personal.html:103
+#: www/views/tab-create-shared.html:132
+msgid "This password cannot be recovered. If the password is lost, there is no way you could recover your funds."
+msgstr ""
+
+#: www/views/backup.html:31
+msgid "This recovery phrase was created with a password. To recover this wallet both the recovery phrase and password are needed."
+msgstr ""
+
+#: www/views/tx-details.html:91
+msgid "This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself."
+msgstr ""
+
+#: www/views/tx-details.html:87
+msgid "This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender"
+msgstr ""
+
+#: www/views/walletDetails.html:109
+#: www/views/walletDetails.html:29
+msgid "This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information."
+msgstr ""
+
+#: www/views/modals/txp-details.html:136
+#: www/views/tx-details.html:121
+msgid "Timeline"
+msgstr ""
+
+#: www/views/confirm.html:31
+#: www/views/includes/output.html:2
+#: www/views/modals/txp-details.html:109
+#: www/views/modals/txp-details.html:53
+#: www/views/tx-details.html:41
+#: www/views/tx-details.html:53
+msgid "To"
+msgstr ""
+
+#: www/views/tab-send.html:32
+msgid "To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service."
+msgstr ""
+
+#: www/views/tab-send.html:33
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr ""
+
+#: src/js/services/bitpayAccountService.js:73
+msgid "To {{reason}} you must first add your BitPay account - {{email}}"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:48
+msgid "Top up in progress..."
+msgstr ""
+
+#: src/js/controllers/topup.js:206
+msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
+msgstr ""
+
+#: www/views/buyAmazon.html:61
+#: www/views/buyMercadoLibre.html:60
+#: www/views/modals/wallet-balance.html:23
+#: www/views/topup.html:70
+msgid "Total"
+msgstr ""
+
+#: www/views/walletDetails.html:196
+msgid "Total Locked Balance"
+msgstr ""
+
+#: www/views/tab-create-shared.html:35
+msgid "Total number of copayers"
+msgstr ""
+
+#: www/views/addresses.html:81
+msgid "Total wallet inputs"
+msgstr ""
+
+#: src/js/services/fingerprintService.js:63
+#: src/js/services/fingerprintService.js:68
+msgid "Touch ID Failed"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:12
+msgid "Transaction"
+msgstr ""
+
+#: www/views/confirm.html:126
+msgid "Transaction Created"
+msgstr ""
+
+#: www/views/preferencesAdvanced.html:29
+#: www/views/preferencesHistory.html:3
+msgid "Transaction History"
+msgstr ""
+
+#: src/js/services/bwcError.js:83
+msgid "Transaction already broadcasted"
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:308
+#: src/js/controllers/buyMercadoLibre.js:301
+#: src/js/controllers/topup.js:281
+msgid "Transaction has not been created"
+msgstr ""
+
+#: www/views/topup.html:104
+msgid "Transaction initiated"
+msgstr ""
+
+#: src/js/controllers/tx-details.js:119
+msgid "Transaction not available at this time"
+msgstr ""
+
+#: src/js/controllers/activity.js:45
+#: src/js/controllers/tab-home.js:174
+msgid "Transaction not found"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:55
+msgid "Transactions without fee are not supported."
+msgstr ""
+
+#: src/js/controllers/paperWallet.js:109
+msgid "Transfer to"
+msgstr ""
+
+#: www/views/tab-send.html:67
+msgid "Transfer to Wallet"
+msgstr ""
+
+#: www/views/modals/pin.html:13
+msgid "Try again in {{expires}}"
+msgstr ""
+
+#: www/views/bitpayCardIntro.html:18
+msgid "Turn bitcoin into dollars, swipe anywhere Visa® is accepted."
+msgstr ""
+
+#: www/views/tab-import-phrase.html:17
+msgid "Type the Recovery Phrase (usually 12 words)"
+msgstr ""
+
+#: src/js/controllers/backup.js:75
+msgid "Uh oh..."
+msgstr ""
+
+#: www/views/tx-details.html:100
+msgid "Unconfirmed"
+msgstr ""
+
+#: www/views/walletDetails.html:190
+msgid "Unsent transactions"
+msgstr ""
+
+#: www/views/addresses.html:39
+msgid "Unused Addresses"
+msgstr ""
+
+#: www/views/addresses.html:50
+msgid "Unused Addresses Limit"
+msgstr ""
+
+#: src/js/controllers/tab-home.js:146
+msgid "Update Available"
+msgstr ""
+
+#: www/views/proposals.html:14
+msgid "Updating pending proposals. Please stand by"
+msgstr ""
+
+#: www/views/walletDetails.html:217
+msgid "Updating transaction history. Please stand by."
+msgstr ""
+
+#: www/views/activity.html:14
+msgid "Updating... Please stand by"
+msgstr ""
+
+#: src/js/services/feeService.js:10
+msgid "Urgent"
+msgstr ""
+
+#: www/views/advancedSettings.html:12
+msgid "Use Unconfirmed Funds"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:34
+msgid "Validating recovery phrase..."
+msgstr ""
+
+#: www/views/modals/fingerprintCheck.html:4
+msgid "Verify your identity"
+msgstr ""
+
+#: www/views/preferencesAbout.html:14
+#: www/views/preferencesExternal.html:25
+msgid "Version"
+msgstr ""
+
+#: www/views/tab-export-file.html:69
+msgid "View"
+msgstr ""
+
+#: www/views/addresses.html:34
+msgid "View All Addresses"
+msgstr ""
+
+#: src/js/controllers/onboarding/terms.js:20
+msgid "View Terms of Service"
+msgstr ""
+
+#: src/js/controllers/bitpayCard.js:122
+#: src/js/controllers/tx-details.js:191
+msgid "View Transaction on Explorer.Bitcoin.com"
+msgstr ""
+
+#: src/js/controllers/tab-home.js:148
+msgid "View Update"
+msgstr ""
+
+#: www/views/tx-details.html:147
+msgid "View on blockchain"
+msgstr ""
+
+#: www/views/mercadoLibre.html:26
+msgid "Visit mercadolivre.com.br →"
+msgstr ""
+
+#: www/views/walletDetails.html:182
+msgid "WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet."
+msgstr ""
+
+#: www/views/tab-export-file.html:45
+msgid "WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
+msgstr ""
+
+#: www/views/tab-export-file.html:36
+msgid "WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export ."
+msgstr ""
+
+#: www/views/modals/paypro.html:42
+msgid "WARNING: UNTRUSTED CERTIFICATE"
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:15
+msgid "Waiting for Ledger..."
+msgstr ""
+
+#: src/js/services/onGoingProcess.js:16
+msgid "Waiting for Trezor..."
+msgstr ""
+
+#: www/views/copayers.html:48
+msgid "Waiting for copayers"
+msgstr ""
+
+#: www/views/copayers.html:53
+msgid "Waiting..."
+msgstr ""
+
+#: www/views/addresses.html:3
+#: www/views/preferencesAdvanced.html:17
+msgid "Wallet Addresses"
+msgstr ""
+
+#: www/views/preferencesColor.html:4
+msgid "Wallet Color"
+msgstr ""
+
+#: www/views/preferencesInformation.html:29
+msgid "Wallet Configuration (m-n)"
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:5
+msgid "Wallet Created"
+msgstr ""
+
+#: www/views/preferencesInformation.html:23
+msgid "Wallet Id"
+msgstr ""
+
+#: www/views/preferencesAdvanced.html:13
+#: www/views/preferencesInformation.html:3
+msgid "Wallet Information"
+msgstr ""
+
+#: www/views/addresses.html:76
+msgid "Wallet Inputs"
+msgstr ""
+
+#: www/views/join.html:26
+msgid "Wallet Invitation"
+msgstr ""
+
+#: www/views/join.html:60
+#: www/views/tab-create-personal.html:38
+#: www/views/tab-create-shared.html:67
+msgid "Wallet Key"
+msgstr ""
+
+#: www/views/preferencesAlias.html:4
+msgid "Wallet Name"
+msgstr ""
+
+#: www/views/preferencesInformation.html:11
+msgid "Wallet Name (at creation)"
+msgstr ""
+
+#: www/views/preferencesInformation.html:35
+msgid "Wallet Network"
+msgstr ""
+
+#: www/views/join.html:77
+#: www/views/tab-create-personal.html:50
+#: www/views/tab-create-shared.html:79
+msgid "Wallet Recovery Phrase"
+msgstr ""
+
+#: src/js/services/bwcError.js:26
+msgid "Wallet Recovery Phrase is invalid"
+msgstr ""
+
+#: www/views/preferencesAdvanced.html:25
+#: www/views/tab-import-phrase.html:73
+msgid "Wallet Service URL"
+msgstr ""
+
+#: www/views/preferences.html:4
+msgid "Wallet Settings"
+msgstr ""
+
+#: www/views/tab-import-hardware.html:11
+#: www/views/tab-import-phrase.html:61
+msgid "Wallet Type"
+msgstr ""
+
+#: src/js/services/bwcError.js:59
+msgid "Wallet already exists"
+msgstr ""
+
+#: src/js/services/profileService.js:516
+msgid "Wallet already in {{appName}}"
+msgstr ""
+
+#: www/views/includes/walletActivity.html:6
+msgid "Wallet created"
+msgstr ""
+
+#: www/views/copayers.html:58
+msgid "Wallet incomplete and broken"
+msgstr ""
+
+#: src/js/services/bwcError.js:65
+msgid "Wallet is full"
+msgstr ""
+
+#: src/js/services/bwcError.js:125
+msgid "Wallet is locked"
+msgstr ""
+
+#: src/js/services/bwcError.js:128
+msgid "Wallet is not complete"
+msgstr ""
+
+#: www/views/tab-create-personal.html:12
+#: www/views/tab-create-shared.html:12
+msgid "Wallet name"
+msgstr ""
+
+#: src/js/services/bwcError.js:131
+msgid "Wallet needs backup"
+msgstr ""
+
+#: www/views/tab-receive.html:59
+#: www/views/walletDetails.html:169
+msgid "Wallet not backed up"
+msgstr ""
+
+#: src/js/services/bwcError.js:68
+msgid "Wallet not found"
+msgstr ""
+
+#: src/js/controllers/cashScan.js:81
+#: src/js/controllers/tab-home.js:230
+msgid "Wallet not registered"
+msgstr ""
+
+#: src/js/services/bwcError.js:29
+msgid "Wallet not registered at the wallet service. Recreate it from \"Create Wallet\" using \"Advanced Options\" to set your recovery phrase"
+msgstr ""
+
+#: www/views/backup.html:12
+msgid "Wallet recovery phrase not available"
+msgstr ""
+
+#: src/js/services/bwcError.js:50
+msgid "Wallet service not found"
+msgstr ""
+
+#: www/views/tab-home.html:69
+msgid "Wallets"
+msgstr ""
+
+#: src/js/controllers/addressbookView.js:36
+#: src/js/controllers/modals/txpDetails.js:153
+#: src/js/controllers/modals/txpDetails.js:170
+#: src/js/controllers/preferencesDelete.js:24
+#: src/js/controllers/preferencesExternal.js:14
+#: www/views/preferencesDeleteWallet.html:11
+msgid "Warning!"
+msgstr ""
+
+#: www/views/modals/txp-details.html:47
+msgid "Warning: this transaction has unconfirmed inputs"
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:17
+msgid "Watch out!"
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:69
+msgid "We'd love to do better."
+msgstr ""
+
+#: www/views/backup.html:35
+msgid "We'll confirm on the next screen."
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:77
+msgid "We're always looking for ways to improve {{appName}}."
+msgstr ""
+
+#: src/js/controllers/feedback/send.js:83
+msgid "We're always looking for ways to improve {{appName}}. How could we improve your experience?"
+msgstr ""
+
+#: www/views/includes/incomingDataMenu.html:6
+msgid "Website"
+msgstr ""
+
+#: www/views/preferencesLanguage.html:16
+msgid "We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin."
+msgstr ""
+
+#: www/views/preferencesAlias.html:11
+msgid "What do you call this wallet?"
+msgstr ""
+
+#: www/views/preferencesAlias.html:12
+msgid "When this wallet was created, it was called “{{walletName}}”. You can change the name displayed on this device below."
+msgstr ""
+
+#: www/views/onboarding/collectEmail.html:10
+msgid "Where would you like to receive email notifications about payments?"
+msgstr ""
+
+#: www/views/addresses.html:19
+msgid "Why?"
+msgstr ""
+
+#: www/views/feedback/rateApp.html:10
+msgid "Would you be willing to rate {{appName}} in the app store?"
+msgstr ""
+
+#: www/views/onboarding/notifications.html:4
+msgid "Would you like to receive push notifications about payments?"
+msgstr ""
+
+#: src/js/controllers/import.js:288
+msgid "Wrong number of recovery words:"
+msgstr ""
+
+#: src/js/services/bwcError.js:140
+msgid "Wrong spending password"
+msgstr ""
+
+#: www/views/modals/confirmation.html:7
+msgid "Yes"
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:25
+msgid "Yes, skip"
+msgstr ""
+
+#: src/js/controllers/onboarding/backupRequest.js:24
+msgid "You can create a backup later from your wallet settings."
+msgstr ""
+
+#: src/js/controllers/preferencesLanguage.js:12
+msgid "You can make contributions by signing up on our Crowdin community translation website. We’re looking forward to hearing from you!"
+msgstr ""
+
+#: www/views/tab-scan.html:16
+msgid "You can scan bitcoin addresses, payment requests, paper wallets, and more."
+msgstr ""
+
+#: src/js/controllers/preferencesAbout.js:14
+msgid "You can see the latest developments and contribute to this open source app by visiting our project on GitHub."
+msgstr ""
+
+#: www/views/onboarding/tour.html:19
+msgid "You can spend bitcoin at millions of websites and stores worldwide."
+msgstr ""
+
+#: www/views/backup.html:15
+msgid "You can still export it from Advanced > Export."
+msgstr ""
+
+#: www/views/onboarding/tour.html:32
+msgid "You can trade it for other currencies like US Dollars, Euros, or Pounds."
+msgstr ""
+
+#: www/views/onboarding/tour.html:46
+msgid "You control your bitcoin."
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:64
+msgid "You should not set a fee higher than {{maxFeeRecommended}} satoshis/byte."
+msgstr ""
+
+#: www/views/modals/bitpay-card-confirmation.html:5
+msgid "You will need to log back for fill in your BitPay Card."
+msgstr ""
+
+#: www/views/preferencesNotifications.html:34
+msgid "You'll receive email notifications about payments sent and received from your wallets."
+msgstr ""
+
+#: www/views/bitpayCard.html:50
+msgid "Your BitPay Card is ready. Add funds to your card to start using it at stores and ATMs worldwide."
+msgstr ""
+
+#: www/views/mercadoLibre.html:57
+#: www/views/mercadoLibreCards.html:6
+msgid "Your Gift Cards"
+msgstr ""
+
+#: www/views/includes/confirmBackupPopup.html:6
+msgid "Your bitcoin wallet is backed up!"
+msgstr ""
+
+#: www/views/tab-home.html:36
+msgid "Your bitcoin wallet is ready!"
+msgstr ""
+
+#: www/views/modals/chooseFeeLevel.html:61
+msgid "Your fee is lower than recommended."
+msgstr ""
+
+#: www/views/feedback/send.html:42
+msgid "Your ideas, feedback, or comments"
+msgstr ""
+
+#: www/views/tab-create-shared.html:22
+msgid "Your name"
+msgstr ""
+
+#: www/views/join.html:16
+msgid "Your nickname"
+msgstr ""
+
+#: www/views/tab-export-file.html:11
+#: www/views/tab-import-file.html:20
+msgid "Your password"
+msgstr ""
+
+#: www/views/buyAmazon.html:102
+msgid "Your purchase could not be completed"
+msgstr ""
+
+#: www/views/buyAmazon.html:105
+msgid "Your purchase was added to the list of pending"
+msgstr ""
+
+#: www/views/onboarding/backupRequest.html:10
+msgid "Your wallet is never saved to cloud storage or standard device backups."
+msgstr ""
+
+#: src/js/services/walletService.js:1030
+msgid "Your wallet key will be encrypted. The Spending Password cannot be recovered. Be sure to write it down."
+msgstr ""
+
+#: www/views/includes/walletList.html:13
+#: www/views/includes/walletSelector.html:21
+#: www/views/paperWallet.html:33
+#: www/views/tab-receive.html:72
+#: www/views/walletDetails.html:131
+#: www/views/walletDetails.html:51
+msgid "[Balance Hidden]"
+msgstr ""
+
+#: www/views/walletDetails.html:141
+#: www/views/walletDetails.html:61
+msgid "[Scanning Funds]"
+msgstr ""
+
+#: src/js/controllers/bitpayCardIntro.js:11
+msgid "add your BitPay Visa card(s)"
+msgstr ""
+
+#: www/views/includes/available-balance.html:8
+msgid "locked by pending payments"
+msgstr ""
+
+#: src/js/services/profileService.js:404
+msgid "me"
+msgstr ""
+
+#: www/views/addressbook.add.html:32
+msgid "name@example.com"
+msgstr ""
+
+#: www/views/preferencesHistory.html:15
+msgid "preparing..."
+msgstr ""
+
+#: www/views/cashScan.html:57
+msgid "recovery tool."
+msgstr ""
+
+#: src/js/controllers/buyAmazon.js:239
+msgid "{{amountStr}} for Amazon.com Gift Card"
+msgstr ""
+
+#: src/js/controllers/buyMercadoLibre.js:237
+msgid "{{amountStr}} for Mercado Livre Brazil Gift Card"
+msgstr ""
+
+#: www/views/preferencesBwsUrl.html:21
+msgid "{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization. The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance)."
+msgstr ""
+
+#: src/js/controllers/confirm.js:408
+msgid "{{fee}} will be deducted for bitcoin networking fees."
+msgstr ""
+
+#: www/views/confirm.html:85
+msgid "{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount"
+msgstr ""
+
+#: www/views/walletDetails.html:218
+msgid "{{updatingTxHistoryProgress}} transactions downloaded"
+msgstr ""
+
+#: www/views/cashScan.html:33
+#: www/views/copayers.html:46
+#: www/views/includes/walletInfo.html:18
+msgid "{{wallet.m}}-of-{{wallet.n}}"
+msgstr ""
diff --git a/i18n/po/vi/template-vi.po b/i18n/po/vi/template-vi.po
index 4a3d29805..ef9db2029 100644
--- a/i18n/po/vi/template-vi.po
+++ b/i18n/po/vi/template-vi.po
@@ -11,11 +11,11 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Vietnamese\n"
"Language: vi\n"
-"PO-Revision-Date: 2018-05-15 20:18-0400\n"
+"PO-Revision-Date: 2018-07-27 08:44\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
-msgstr "(Đáng tin cậy)"
+msgstr "(Tin cậy)"
#: www/views/includes/txp.html:23
#: www/views/includes/walletHistory.html:64
@@ -24,11 +24,11 @@ msgstr "(có thể chi tiêu gấp đôi)"
#: www/views/modals/txp-details.html:159
msgid "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
-msgstr ""
+msgstr "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
#: www/views/tx-details.html:82
msgid "- {{btx.feeRateStr}} of the transaction"
-msgstr "{{btx.feeRateStr}} của giao dịch"
+msgstr "- {{btx.feeRateStr}} of the transaction"
#: www/views/modals/txp-details.html:102
msgid "- {{tx.feeRateStr}} of the transaction"
@@ -41,417 +41,425 @@ msgstr "Xếp hạng 5 sao giúp chúng tôi để {{appName}} đến tay nhiề
#: www/views/mercadoLibre.html:18
#: www/views/mercadoLibre.html:40
msgid "Only redeemable on Mercado Livre (Brazil)"
-msgstr ""
+msgstr "Only redeemable on \n"
+"Mercado Livre (Brazil) #\n\n"
+"2"
#: src/js/controllers/feedback/send.js:27
#: www/views/feedback/complete.html:21
msgid "A member of the team will review your feedback as soon as possible."
-msgstr ""
+msgstr "A member of the team will review your feedback as soon as possible."
#: src/js/controllers/confirm.js:401
msgid "A total of {{amountAboveMaxSizeStr}} were excluded. The maximum size allowed for a transaction was exceeded."
-msgstr ""
+msgstr "A total of {{amountAboveMaxSizeStr}} were excluded. The maximum size allowed for a transaction was exceeded."
#: src/js/controllers/confirm.js:395
msgid "A total of {{amountBelowFeeStr}} were excluded. These funds come from UTXOs smaller than the network fee provided."
-msgstr ""
+msgstr "Tổng cộng {{amountBelowFeeStr}} đã bị loại trừ. Số tiền này đến từ UTXOs nhỏ hơn chi phí mạng cung cấp.#\n"
+"1"
#: src/js/controllers/preferencesAbout.js:6
#: www/views/tab-settings.html:156
msgid "About"
-msgstr ""
+msgstr "About"
#: src/js/controllers/modals/txpDetails.js:62
#: src/js/controllers/tx-details.js:79
msgid "Accepted"
-msgstr ""
+msgstr "Accepted"
#: www/views/preferencesInformation.html:72
msgid "Account"
-msgstr ""
+msgstr "Account"
#: www/views/join.html:72
#: www/views/tab-create-personal.html:45
#: www/views/tab-create-shared.html:74
#: www/views/tab-import-hardware.html:19
msgid "Account Number"
-msgstr ""
+msgstr "Account Number"
+
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "2"
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
-msgstr ""
+msgstr "Accounts"
#: www/views/bitpayCard.html:56
msgid "Activity"
-msgstr ""
+msgstr "Activity"
#: src/js/services/bitpayAccountService.js:83
msgid "Add Account"
-msgstr ""
+msgstr "Add Account"
#: src/js/services/bitpayAccountService.js:69
msgid "Add BitPay Account?"
-msgstr ""
+msgstr "Add BitPay Account?"
#: www/views/addressbook.add.html:4
#: www/views/addressbook.html:22
msgid "Add Contact"
-msgstr ""
+msgstr "Add Contact"
#: www/views/bitpayCard.html:28
msgid "Add Funds"
-msgstr ""
+msgstr "Add Funds"
#: www/views/confirm.html:94
msgid "Add Memo"
-msgstr ""
+msgstr "Add Memo"
#: www/views/join.html:87
#: www/views/tab-create-personal.html:59
#: www/views/tab-create-shared.html:88
msgid "Add a password"
-msgstr ""
+msgstr "Add a password"
#: www/views/includes/accountSelector.html:27
msgid "Add account"
-msgstr ""
+msgstr "Add account"
#: www/views/join.html:90
#: www/views/tab-create-personal.html:62
#: www/views/tab-create-shared.html:91
msgid "Add an optional password to secure the recovery phrase"
-msgstr ""
+msgstr "Add a password option to allow a secure cluster"
#: www/views/includes/incomingDataMenu.html:41
msgid "Add as a contact"
-msgstr ""
+msgstr "Thêm như một liên hệ"
#: src/js/controllers/confirm.js:424
msgid "Add description"
-msgstr ""
+msgstr "Thêm mô tả"
#: www/views/topup.html:6
msgid "Add funds"
-msgstr ""
+msgstr "Nạp tiền"
#: src/js/services/bitpayAccountService.js:78
msgid "Add this BitPay account ({{email}})?"
-msgstr ""
+msgstr "Thêm BitPay ({{email}}) tài khoản này?"
#: www/views/add.html:3
msgid "Add wallet"
-msgstr ""
+msgstr "Thêm ví"
#: www/views/addressbook.view.html:26
#: www/views/customAmount.html:28
#: www/views/modals/paypro.html:24
msgid "Address"
-msgstr ""
+msgstr "Địa chỉ"
#: www/views/addressbook.html:6
#: www/views/tab-settings.html:13
msgid "Address Book"
-msgstr ""
+msgstr "Sổ địa chỉ"
#: www/views/preferencesInformation.html:41
msgid "Address Type"
-msgstr ""
+msgstr "Loại địa chỉ"
#: www/views/addresses.html:64
msgid "Addresses With Balance"
-msgstr ""
+msgstr "Địa chỉ với số dư"
#: www/views/tab-settings.html:149
msgid "Advanced"
-msgstr ""
+msgstr "Nâng cao"
#: www/views/advancedSettings.html:3
msgid "Advanced Settings"
-msgstr ""
+msgstr "Cài đặt nâng cao"
#: www/views/bitpayCard.html:62
msgid "All"
-msgstr ""
+msgstr "Tất cả"
#: www/views/allAddresses.html:3
msgid "All Addresses"
-msgstr ""
+msgstr "Tất cả địa chỉ"
#: www/views/modals/wallet-balance.html:18
msgid "All of your bitcoin wallet balance may not be available for immediate spending."
-msgstr ""
+msgstr "Tất cả số dư ví bitcoin của bạn có thể không có sẵn cho chi tiêu ngay lập tức."
#: www/views/tab-receive.html:25
msgid "All signing devices must be added to this multisig wallet before bitcoin addresses can be created."
-msgstr ""
+msgstr "All contract device will be added to this multisig before the bitcoin address has been created."
#: www/views/tab-scan.html:21
msgid "Allow Camera Access"
-msgstr ""
+msgstr "Allow camera access"
#: www/views/onboarding/notifications.html:7
msgid "Allow notifications"
-msgstr ""
+msgstr "Allow notification"
#: www/views/onboarding/disclaimer.html:14
msgid "Almost done! Let's review."
-msgstr ""
+msgstr "Most as completed! We see review."
#: www/views/preferencesAltCurrency.html:4
#: www/views/tab-settings.html:79
msgid "Alternative Currency"
-msgstr ""
+msgstr "Money Currency instead"
#: src/js/controllers/buyAmazon.js:98
msgid "Amazon.com is not available at this moment. Please try back later."
-msgstr ""
+msgstr "Amazon.com is not available at this time. Please try again again."
#: www/views/amount.html:44
#: www/views/customAmount.html:34
#: www/views/includes/output.html:7
msgid "Amount"
-msgstr ""
+msgstr "Quantity"
#: src/js/services/bwcError.js:110
msgid "Amount below minimum allowed"
-msgstr ""
+msgstr "Maximum amount of the minimum amount"
#: src/js/controllers/confirm.js:216
msgid "Amount too big"
-msgstr ""
+msgstr "Amount too large"
#: www/views/includes/walletHistory.html:31
msgid "Amount too low to spend"
-msgstr ""
+msgstr "Amount too low for standard"
#: src/js/controllers/tab-home.js:147
msgid "An update to this app is available. For your security, please update to the latest version."
-msgstr ""
+msgstr "Hotel have a Update for this application. To preserve your password, please please update the latest version."
#: www/views/backupWarning.html:14
msgid "Anyone with your backup phrase can access or spend your bitcoin."
-msgstr ""
+msgstr "Każdy, kto ma Twoją kluczową là một trong những điều tuyệt vời nhất."
#: www/views/addresses.html:94
msgid "Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)"
-msgstr ""
+msgstr "La taxa approssimativa della rete Bitcoin cho mỗi lần gửi tiền theo yêu cầu của bạn"
#: www/views/backupWarning.html:10
msgid "Are you being watched?"
-msgstr ""
+msgstr "Chúng tôi vigilen?"
#: src/js/controllers/preferencesExternal.js:15
msgid "Are you being watched? Anyone with your recovery phrase can access or spend your bitcoin."
-msgstr ""
+msgstr "You are tracking? Bất cứ ai có thể phục hồi từ bạn, bạn có thể truy cập hoặc bitcoin chi tiêu của bạn."
#: src/js/controllers/copayers.js:56
msgid "Are you sure you want to cancel and delete this wallet?"
-msgstr ""
+msgstr "Are you sure you want to cancel and remove this video?"
#: src/js/controllers/addressbookView.js:37
msgid "Are you sure you want to delete this contact?"
-msgstr ""
+msgstr "Bạn có chắc chắn muốn xóa địa chỉ liên hệ này không?"
#: src/js/controllers/preferencesDelete.js:25
msgid "Are you sure you want to delete this wallet?"
-msgstr ""
+msgstr "Are you sure you want to delete this wallet?"
#: src/js/controllers/modals/txpDetails.js:154
msgid "Are you sure you want to reject this transaction?"
-msgstr ""
+msgstr "Are you sure you want to reject this transaction?"
#: src/js/controllers/modals/txpDetails.js:171
msgid "Are you sure you want to remove this transaction?"
-msgstr ""
+msgstr "Are you sure you want to remove this transaction?"
#: src/js/controllers/onboarding/backupRequest.js:23
msgid "Are you sure you want to skip it?"
-msgstr ""
+msgstr "Are you sure you want to skip it?"
#: www/views/modals/bitpay-card-confirmation.html:4
msgid "Are you sure you would like to log out of your BitPay Card account?"
-msgstr ""
+msgstr "Bạn có chắc chắn muốn đăng xuất khỏi tài khoản Thẻ BitPay của mình không?"
#: src/js/controllers/preferencesBitpayCard.js:7
#: src/js/controllers/preferencesBitpayServices.js:20
msgid "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
-msgstr ""
+msgstr "Are you sure you would like to remove your BitPay Card ({{lastFourDigits}}) from this device?"
#: www/views/includes/walletInfo.html:10
msgid "Auditable"
-msgstr ""
+msgstr "Auditable"
#: www/views/modals/wallet-balance.html:42
msgid "Available"
-msgstr ""
+msgstr "Available"
#: www/views/includes/available-balance.html:3
msgid "Available Balance"
-msgstr ""
+msgstr "Available Balance"
#: www/views/modals/chooseFeeLevel.html:24
#: www/views/preferencesFee.html:15
msgid "Average confirmation time"
-msgstr ""
+msgstr "Average confirmation time"
#: www/views/join.html:143
#: www/views/tab-create-personal.html:113
#: www/views/tab-create-shared.html:142
#: www/views/tab-import-phrase.html:51
msgid "BIP32 path for address derivation"
-msgstr ""
+msgstr "Đường dẫn BIP32 cho dẫn xuất địa chỉ"
#: www/views/cashScan.html:25
msgid "BTC wallets"
-msgstr ""
+msgstr "Ví BTC"
#: www/views/preferences.html:34
msgid "Backup"
-msgstr ""
+msgstr "Backup"
#: www/views/includes/backupNeededPopup.html:7
msgid "Backup Needed"
-msgstr ""
+msgstr "Backup Needed"
#: src/js/controllers/lockSetup.js:87
msgid "Backup all livenet wallets before using this function"
-msgstr ""
+msgstr "Backup all livenet wallets before using this function"
#: src/js/controllers/cashScan.js:64
#: www/views/includes/walletListSettings.html:12
#: www/views/preferences.html:36
msgid "Backup needed"
-msgstr ""
+msgstr "Cần sao lưu"
#: www/views/includes/backupNeededPopup.html:9
msgid "Backup now"
-msgstr ""
+msgstr "Sao lưu ngay"
#: www/views/onboarding/backupRequest.html:11
#: www/views/tab-export-file.html:89
msgid "Backup wallet"
-msgstr ""
+msgstr "Backup wallet"
#: src/js/controllers/lockSetup.js:84
msgid "Backup your wallet before using this function"
-msgstr ""
+msgstr "Backup your wallet before using this function"
#: src/js/services/profileService.js:446
msgid "Bad wallet invitation"
-msgstr ""
+msgstr "Bad wallet invitation"
#: www/views/preferencesInformation.html:102
msgid "Balance By Address"
-msgstr ""
+msgstr "Balance By Address"
#: www/views/includes/confirmBackupPopup.html:7
msgid "Be sure to store your recovery phrase in a secure place. If this app is deleted, your money cannot be recovered without it."
-msgstr ""
+msgstr "Hãy chắc chắn lưu trữ cụm từ khôi phục của bạn ở một nơi an toàn. Nếu ứng dụng này bị xóa, tiền của bạn không thể được phục hồi mà không có nó."
#: www/views/preferencesBitpayServices.html:9
msgid "BitPay Visa® Cards"
-msgstr ""
+msgstr "BitPay Visa & reg; thẻ"
#: www/views/addressbook.add.html:38
#: www/views/includes/incomingDataMenu.html:29
msgid "Bitcoin Address"
-msgstr ""
+msgstr "Bitcoin Address"
#: www/views/cashScan.html:4
msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
+msgstr "Bitcoin Cash (BCH) Balances"
#: www/views/preferencesCash.html:3
#: www/views/tab-settings.html:47
msgid "Bitcoin Cash Support"
-msgstr ""
+msgstr "Bitcoin Cash Support"
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
msgid "Bitcoin Cash Wallets"
-msgstr ""
+msgstr "Bitcoin Cash Wallets"
#: www/views/modals/chooseFeeLevel.html:4
#: www/views/preferencesFee.html:4
#: www/views/tab-settings.html:90
msgid "Bitcoin Network Fee Policy"
-msgstr ""
+msgstr "Bitcoin Network Fee Policy"
#: www/views/tab-home.html:83
#: www/views/tab-settings.html:107
msgid "Bitcoin Core Wallets"
-msgstr ""
+msgstr "Bitcoin Core Wallets"
#: src/js/services/incomingData.js:151
msgid "Bitcoin cash Payment"
-msgstr ""
+msgstr "Bitcoin cash Payment"
#: www/views/onboarding/tour.html:31
msgid "Bitcoin is a currency."
-msgstr ""
+msgstr "Bitcoin is a currency."
#: www/views/onboarding/disclaimer.html:15
msgid "Bitcoin is different – it cannot be safely held with a bank or web service."
-msgstr ""
+msgstr "–."
#: www/views/onboarding/tour.html:18
msgid "Bitcoin is secure, digital money."
-msgstr ""
+msgstr "Bitcoin là an toàn, tiền kỹ thuật số."
#: www/views/preferencesFee.html:11
msgid "Bitcoin transactions include a fee collected by miners on the network."
-msgstr ""
+msgstr "Bitcoin transactions include a fee collected by miners on the network."
#: www/views/buyAmazon.html:108
msgid "Bought {{amountUnitStr}}"
-msgstr ""
+msgstr "Bought {{amountUnitStr}}"
#: www/views/modals/txp-details.html:36
msgid "Broadcast Payment"
-msgstr ""
+msgstr "Broadcast Payment"
#: src/js/controllers/modals/txpDetails.js:64
#: src/js/controllers/tx-details.js:81
msgid "Broadcasted"
-msgstr ""
+msgstr "Broadcasted"
#: src/js/services/onGoingProcess.js:11
msgid "Broadcasting transaction"
-msgstr ""
+msgstr "Broadcasting transaction"
#: www/views/unsupported.html:6
msgid "Browser unsupported"
-msgstr ""
+msgstr "Browser unsupported"
#: www/views/buyAmazon.html:5
#: www/views/buyMercadoLibre.html:6
msgid "Buy"
-msgstr ""
+msgstr "Buy"
#: www/views/includes/buyAndSellCard.html:3
msgid "Buy & Sell Bitcoin"
-msgstr ""
+msgstr "Buy & Sell Bitcoin"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
-msgstr ""
+msgstr "Buy Bitcoin"
#: www/views/mercadoLibre.html:22
#: www/views/mercadoLibre.html:50
msgid "Buy a Gift Card"
-msgstr ""
+msgstr "Buy a Gift Card"
#: src/js/controllers/buyAmazon.js:334
msgid "Buy from"
-msgstr ""
+msgstr "Buy from"
#: src/js/services/onGoingProcess.js:40
msgid "Buying Bitcoin..."
-msgstr ""
+msgstr "Mua Bitcoin..."
#: src/js/services/onGoingProcess.js:12
msgid "Calculating fee"
-msgstr ""
+msgstr "Phí tính toán"
#: src/js/controllers/buyAmazon.js:313
#: src/js/controllers/buyMercadoLibre.js:307
@@ -470,65 +478,65 @@ msgstr ""
#: www/views/modals/bitpay-card-confirmation.html:8
#: www/views/modals/confirmation.html:13
msgid "Cancel"
-msgstr ""
+msgstr "Hủy bỏ"
#: www/views/copayers.html:36
msgid "Cancel invitation"
-msgstr ""
+msgstr "Hủy lời mời"
#: src/js/controllers/onboarding/tour.js:52
msgid "Cannot Create Wallet"
-msgstr ""
+msgstr "Không thể tạo Wallet"
#: src/js/services/profileService.js:442
msgid "Cannot join the same wallet more that once"
-msgstr ""
+msgstr "Cannot join the same wallet more that once"
#: www/views/includes/bitpayCardsCard.html:2
msgid "Cards"
-msgstr ""
+msgstr "Cards"
#: www/views/modals/paypro.html:30
msgid "Certified by"
-msgstr ""
+msgstr "Certified by"
#: www/views/preferencesExternal.html:19
msgid "Check installation and retry."
-msgstr ""
+msgstr "Check installation and retry."
#: www/views/tab-import-file.html:4
msgid "Choose a backup file from your computer"
-msgstr ""
+msgstr "Chọn tệp sao lưu từ máy tính của bạn"
#: www/views/modals/wallets.html:9
msgid "Choose your destination wallet"
-msgstr ""
+msgstr "Choose your destination wallet"
#: www/views/modals/wallets.html:10
msgid "Choose your source wallet"
-msgstr ""
+msgstr "Chọn ví nguồn của bạn"
#: www/views/backup.html:61
msgid "Clear"
-msgstr ""
+msgstr "Clear"
#: www/views/preferencesHistory.html:24
msgid "Clear cache"
-msgstr ""
+msgstr "Clear cache"
#: src/js/controllers/confirm.js:373
#: src/js/controllers/modals/txpDetails.js:49
msgid "Click to accept"
-msgstr ""
+msgstr "Click to accept"
#: src/js/controllers/confirm.js:367
msgid "Click to pay"
-msgstr ""
+msgstr "Click to pay"
#: src/js/controllers/confirm.js:379
#: src/js/controllers/modals/txpDetails.js:42
msgid "Click to send"
-msgstr ""
+msgstr "Click to send"
#: www/views/customAmount.html:4
#: www/views/modals/mercadolibre-card-details.html:3
@@ -538,28 +546,28 @@ msgstr ""
#: www/views/modals/wallet-balance.html:3
#: www/views/modals/wallets.html:5
msgid "Close"
-msgstr ""
+msgstr "Close"
#: www/views/includes/cash.html:2
#: www/views/preferencesInformation.html:17
msgid "Coin"
-msgstr ""
+msgstr "Coin"
#: www/views/preferences.html:22
msgid "Color"
-msgstr ""
+msgstr "Màu"
#: www/views/preferencesAbout.html:21
msgid "Commit hash"
-msgstr ""
+msgstr "Commit hash"
#: www/views/preferences.html:49
msgid "Complete the backup process to use this option"
-msgstr ""
+msgstr "Complete the backup process to use this option"
#: www/views/bitpayCard.html:93
msgid "Completed"
-msgstr ""
+msgstr "Completed"
#: src/js/controllers/buyAmazon.js:311
#: src/js/controllers/buyMercadoLibre.js:305
@@ -571,95 +579,99 @@ msgstr ""
#: www/views/confirm.html:4
#: www/views/onboarding/collectEmail.html:32
msgid "Confirm"
-msgstr ""
+msgstr "Confirm"
#: www/views/modals/terms.html:26
#: www/views/onboarding/disclaimer.html:44
msgid "Confirm & Finish"
-msgstr ""
+msgstr "Confirm & Finish"
#: www/views/buyAmazon.html:90
msgid "Confirm purchase"
-msgstr ""
+msgstr "Confirm purchase"
#: www/views/modals/pin.html:10
msgid "Confirm your PIN"
-msgstr ""
+msgstr "Confirm your PIN"
#: src/js/services/walletService.js:1033
msgid "Confirm your new spending password"
-msgstr ""
+msgstr "Confirm your new spending password"
#: www/views/tx-details.html:98
msgid "Confirmations"
-msgstr ""
+msgstr "Confirmations"
#: www/views/bitpayCard.html:68
#: www/views/modals/wallet-balance.html:61
msgid "Confirming"
-msgstr ""
+msgstr "Xác nhận"
#: www/views/bitpayCardIntro.html:37
msgid "Connect my BitPay Card"
-msgstr ""
+msgstr "Kết nối thẻ BitPay của tôi"
#: src/js/services/onGoingProcess.js:13
msgid "Connecting to Coinbase..."
-msgstr ""
+msgstr "Connecting to Coinbase..."
#: src/js/services/onGoingProcess.js:14
msgid "Connecting to Glidera..."
-msgstr ""
+msgstr "Đang kết nối với Glidera ..."
#: src/js/services/bwcError.js:53
msgid "Connection reset by peer"
-msgstr ""
+msgstr "Đặt lại kết nối theo ngang hàng"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
-msgstr ""
+msgstr "Contacts"
+
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "Save the regular usage"
#: www/views/onboarding/notifications.html:9
msgid "Continue"
-msgstr ""
+msgstr "Continue"
#: www/views/preferencesLanguage.html:26
msgid "Contribute Translations"
-msgstr ""
+msgstr "Contribute Translations"
#: src/js/controllers/confirm.js:130
msgid "Copay only supports Bitcoin Cash using new version numbers addresses"
-msgstr ""
+msgstr "Copay chỉ hỗ trợ Bitcoin Cash bằng cách sử dụng số phiên bản mới"
#: src/js/services/bwcError.js:62
msgid "Copayer already in this wallet"
-msgstr ""
+msgstr "Copayer already in this wallet"
#: src/js/services/bwcError.js:77
msgid "Copayer already voted on this spend proposal"
-msgstr ""
+msgstr "Coper is this option"
#: src/js/services/bwcError.js:107
msgid "Copayer data mismatch"
-msgstr ""
+msgstr "Dữ liệu Copayer không khớp"
#: www/views/includes/walletActivity.html:2
msgid "Copayer joined"
-msgstr ""
+msgstr "Copayer joined"
#: www/views/preferencesInformation.html:94
msgid "Copayer {{$index}}"
-msgstr ""
+msgstr "Copayer {{$index}}"
#: src/js/controllers/copayers.js:79
#: src/js/controllers/export.js:193
#: www/views/includes/copyToClipboard.html:4
msgid "Copied to clipboard"
-msgstr ""
+msgstr "Sao chép vào clipboard"
#: www/views/tab-export-file.html:94
msgid "Copy this text as it is to a safe place (notepad or email)"
-msgstr ""
+msgstr "Copy this text as it is to a safe place (notepad or email)"
#: www/views/includes/incomingDataMenu.html:51
#: www/views/includes/incomingDataMenu.html:70
@@ -667,35 +679,35 @@ msgstr ""
#: www/views/includes/logOptions.html:9
#: www/views/tab-export-file.html:78
msgid "Copy to clipboard"
-msgstr ""
+msgstr "Sao chép vào clipboard"
#: src/js/controllers/buyMercadoLibre.js:102
msgid "Could not access Gift Card Service"
-msgstr ""
+msgstr "Could not access Gift Card Service"
#: www/views/tab-import-phrase.html:2
msgid "Could not access the wallet at the server. Please check:"
-msgstr ""
+msgstr "Could not access the wallet at the server. Please check:"
#: src/js/controllers/buyAmazon.js:102
msgid "Could not access to Amazon.com"
-msgstr ""
+msgstr "Could not access to Amazon.com"
#: src/js/services/profileService.js:511
msgid "Could not access wallet"
-msgstr ""
+msgstr "Could not access wallet"
#: src/js/controllers/confirm.js:210
msgid "Could not add message to imported wallet without shared encrypting key"
-msgstr ""
+msgstr "Could not add message to imported wallet without shared encrypting key"
#: src/js/controllers/modals/txpDetails.js:199
msgid "Could not broadcast payment"
-msgstr ""
+msgstr "Could not broadcast payment"
#: src/js/services/bwcError.js:41
msgid "Could not build transaction"
-msgstr ""
+msgstr "Cannot build transaction"
#: src/js/services/walletService.js:854
msgid "Could not create address"
@@ -819,7 +831,7 @@ msgstr ""
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr ""
@@ -912,7 +924,7 @@ msgstr ""
#: www/views/modals/mercadolibre-card-details.html:6
#: www/views/topup.html:45
msgid "Details"
-msgstr ""
+msgstr "Chi tiết"
#: src/js/controllers/lockSetup.js:9
#: src/js/controllers/tab-settings.js:65
@@ -2529,6 +2541,14 @@ msgstr ""
msgid "Search or enter bitcoin address"
msgstr ""
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr ""
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr ""
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr ""
@@ -2587,9 +2607,70 @@ msgid "Send by email"
msgstr ""
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr ""
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr ""
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr ""
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr ""
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr ""
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr ""
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr ""
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr ""
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr ""
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr ""
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr ""
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr ""
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr ""
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr ""
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr ""
@@ -3632,3 +3713,51 @@ msgstr ""
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr ""
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr ""
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr ""
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr ""
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr ""
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr ""
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr ""
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr ""
+
diff --git a/i18n/po/zh-CN/template-zh-CN.po b/i18n/po/zh-CN/template-zh-CN.po
index 040a9a57b..eb8304e89 100644
--- a/i18n/po/zh-CN/template-zh-CN.po
+++ b/i18n/po/zh-CN/template-zh-CN.po
@@ -11,7 +11,7 @@ msgstr ""
"Last-Translator: emilold\n"
"Language-Team: Chinese Simplified\n"
"Language: zh\n"
-"PO-Revision-Date: 2018-05-08 00:44-0400\n"
+"PO-Revision-Date: 2018-07-27 08:43\n"
#: www/views/modals/paypro.html:34
msgid "(Trusted)"
@@ -77,6 +77,10 @@ msgstr "帐户"
msgid "Account Number"
msgstr "帐号"
+#: www/views/tab-home.html:61
+msgid "Instant transactions with low fees"
+msgstr "以较低费用进行即时交易"
+
#: www/views/preferencesBitpayServices.html:23
msgid "Accounts"
msgstr "帐户"
@@ -359,12 +363,12 @@ msgstr "比特币地址"
#: www/views/cashScan.html:4
msgid "Bitcoin Cash (BCH) Balances"
-msgstr ""
+msgstr "Bitcoin Cash (BCH) 余额"
#: www/views/preferencesCash.html:3
#: www/views/tab-settings.html:47
msgid "Bitcoin Cash Support"
-msgstr ""
+msgstr "Bitcoin Cash 支持"
#: www/views/tab-home.html:98
#: www/views/tab-settings.html:115
@@ -380,7 +384,7 @@ msgstr "比特币网络手续费策略"
#: www/views/tab-home.html:83
#: www/views/tab-settings.html:107
msgid "Bitcoin Core Wallets"
-msgstr ""
+msgstr "Bitcoin Core 钱包"
#: src/js/services/incomingData.js:151
msgid "Bitcoin cash Payment"
@@ -433,6 +437,7 @@ msgid "Buy & Sell Bitcoin"
msgstr "购买或出售比特币"
#: www/views/tab-send.html:35
+#: src/js/services/buyAndSellService.js:26
msgid "Buy Bitcoin"
msgstr "购买比特币"
@@ -615,10 +620,14 @@ msgstr "正在连接 Glidera..."
msgid "Connection reset by peer"
msgstr "连接被对方重置"
-#: www/views/tab-send.html:45
+#: www/views/tab-send.html:85
msgid "Contacts"
msgstr "联系人"
+#: www/views/tab-send.html:86
+msgid "Saved frequently used addresses"
+msgstr "保存的常用地址"
+
#: www/views/onboarding/notifications.html:9
msgid "Continue"
msgstr "继续"
@@ -649,7 +658,7 @@ msgstr "Copayer 加入"
#: www/views/preferencesInformation.html:94
msgid "Copayer {{$index}}"
-msgstr ""
+msgstr "Copayer {{$index}}"
#: src/js/controllers/copayers.js:79
#: src/js/controllers/export.js:193
@@ -819,7 +828,7 @@ msgstr "创建自己的免费钱包"
#: www/views/onboarding/tour.html:51
#: www/views/tab-home.html:75
-#: www/views/tab-send.html:36
+#: www/views/tab-send.html:75
msgid "Create bitcoin wallet"
msgstr "创建比特币的钱包"
@@ -973,7 +982,7 @@ msgstr "已达到空地址限制。无法生成新的地址。"
#: www/views/preferencesCash.html:17
msgid "Enable Bitcoin Cash wallet creation and operation within the App."
-msgstr ""
+msgstr "在应用内启用 Bitcoin Cash 创建和操作。"
#: www/views/tab-scan.html:19
msgid "Enable camera access in your device settings to get started."
@@ -989,7 +998,7 @@ msgstr "启用推式通知"
#: www/views/preferencesNotifications.html:33
msgid "Enable sound"
-msgstr ""
+msgstr "启用声音"
#: www/views/tab-scan.html:18
msgid "Enable the camera to get started."
@@ -997,7 +1006,7 @@ msgstr "使该摄像机开始。"
#: www/views/tab-settings.html:49
msgid "Enabled"
-msgstr ""
+msgstr "已启用"
#: src/js/services/walletService.js:1047
#: src/js/services/walletService.js:1062
@@ -1582,7 +1591,7 @@ msgstr "网络地址不正确"
#: src/js/controllers/confirm.js:306
#: src/js/services/bwcError.js:44
msgid "Insufficient confirmed funds"
-msgstr ""
+msgstr "确认的资金不足"
#: src/js/controllers/topup.js:165
#: src/js/controllers/topup.js:177
@@ -2007,7 +2016,7 @@ msgstr "好的"
#: www/views/modals/tx-status.html:36
#: www/views/modals/tx-status.html:46
msgid "OKAY"
-msgstr ""
+msgstr "确定"
#: www/views/modals/terms.html:15
msgid "Official English Disclaimer"
@@ -2049,7 +2058,7 @@ msgstr "打开 GitHub 项目"
#: src/js/controllers/bitpayCard.js:123
#: src/js/controllers/tx-details.js:192
msgid "Open Explorer"
-msgstr ""
+msgstr "打开浏览器"
#: www/views/tab-scan.html:22
msgid "Open Settings"
@@ -2065,7 +2074,7 @@ msgstr "打开网站"
#: src/js/controllers/preferencesCash.js:32
msgid "Open bitcoincash.org?"
-msgstr ""
+msgstr "打开 bitcoincash.org?"
#: src/js/controllers/cashScan.js:18
msgid "Open the recovery tool."
@@ -2507,7 +2516,7 @@ msgstr "请扫描你的指纹"
#: www/views/preferencesCash.html:23
msgid "Scan your wallets for Bitcoin Cash"
-msgstr ""
+msgstr "扫描您的 Bitcoin Cash 钱包"
#: src/js/services/onGoingProcess.js:30
msgid "Scanning Wallet funds..."
@@ -2529,6 +2538,14 @@ msgstr "搜索交易"
msgid "Search or enter bitcoin address"
msgstr "搜索或输入比特币地址"
+#: src/js/controllers/tab-send.js:28
+msgid "Clipboard"
+msgstr "剪贴板"
+
+#: src/js/controllers/tab-send.js:29
+msgid "Your Clipboard is empty"
+msgstr "您的剪贴板为空"
+
#: www/views/modals/search.html:16
msgid "Search transactions"
msgstr "搜索交易"
@@ -2587,9 +2604,70 @@ msgid "Send by email"
msgstr "通过电邮发送"
#: src/js/controllers/confirm.js:177
+#: src/js/controllers/tab-send.js:94
msgid "Send from"
msgstr "从发送"
+#: src/js/controllers/tab-send.js:77
+msgid "Send to"
+msgstr "发送到"
+
+#: www/views/tab-send.html:20
+msgid "Paste Clipboard"
+msgstr "粘贴剪贴板"
+
+#: www/views/tab-send.html:21
+msgid "Paste Address"
+msgstr "粘贴地址"
+
+#: www/views/tab-send.html:27
+msgid "Wallet to Wallet Transfer"
+msgstr "钱包转账"
+
+#: www/views/tab-send.html:35
+msgid "Scan QR Code"
+msgstr "扫描二维码"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "更快地发送比特币!"
+
+#: www/views/tab-send.html:46
+msgid "Send Bitcoin faster!"
+msgstr "更快地发送比特币!"
+
+#: www/views/tab-send.html:50
+msgid "Save frequently used addresses and send them Bitcoin in just one tap"
+msgstr "保存常用地址,只需点击一下即可将比特币发送到这些地址"
+
+#: www/views/tab-send.html:55
+msgid "Add your first contact"
+msgstr "添加您的第一个联系人"
+
+#: www/views/tab-send.html:65
+msgid "Your Bitcoin wallet is empty"
+msgstr "您的比特币钱包为空"
+
+#: www/views/tab-send.html:69
+msgid "To get started, buy Bitcoin Cash (BCH) or Bitcoin Core (BTC), or share your address."
+msgstr "首先,购买 Bitcoin Cash (BCH) 或 Bitcoin Core (BTC),或者共享您的地址。"
+
+#: www/views/tab-send.html:70
+msgid "You can receive bitcoin from any wallet or service."
+msgstr "您可以从任何钱包或服务接收比特币。"
+
+#: www/views/tab-send.html:72
+msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
+msgstr "若要开始,您将需要创建一个比特币的钱包,并获得一些比特币。"
+
+#: www/views/tab-send.html:74
+msgid "Buy Bitcoin now"
+msgstr "立即购买比特币"
+
+#: www/views/tab-send.html:76
+msgid "Show my address"
+msgstr "显示我的地址"
+
#: www/views/includes/itemSelector.html:8
msgid "Send max amount"
msgstr "发送最大数量"
@@ -2806,7 +2884,7 @@ msgstr "超级经济"
#: www/views/preferencesCash.html:11
msgid "Support Bitcoin Cash"
-msgstr ""
+msgstr "支持 Bitcoin Cash"
#: www/views/paperWallet.html:7
msgid "Sweep"
@@ -2856,7 +2934,7 @@ msgstr "使用条款"
#: www/views/tab-create-personal.html:118
#: www/views/tab-import-phrase.html:68
msgid "Testnet"
-msgstr ""
+msgstr "测试网"
#: www/views/includes/incomingDataMenu.html:61
msgid "Text"
@@ -3026,7 +3104,7 @@ msgstr "若要开始,请买比特币或共享您的地址。你可以从任何
#: www/views/tab-send.html:33
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
-msgstr "若要开始,您将需要创建一个比特币的钱包,并获得一些比特币。"
+msgstr "首先,您需要创建一个比特币钱包,并获得一些比特币。"
#: src/js/services/bitpayAccountService.js:73
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
@@ -3196,7 +3274,7 @@ msgstr "查看服务条款"
#: src/js/controllers/bitpayCard.js:122
#: src/js/controllers/tx-details.js:191
msgid "View Transaction on Explorer.Bitcoin.com"
-msgstr ""
+msgstr "在 Explorer.Bitcoin.com 上查看交易"
#: src/js/controllers/tab-home.js:148
msgid "View Update"
@@ -3592,7 +3670,7 @@ msgstr "我"
#: www/views/addressbook.add.html:32
msgid "name@example.com"
-msgstr ""
+msgstr "name@example.com"
#: www/views/preferencesHistory.html:15
msgid "preparing..."
@@ -3632,3 +3710,51 @@ msgstr "下载的 {{updatingTxHistoryProgress}} 交易"
msgid "{{wallet.m}}-of-{{wallet.n}}"
msgstr "{{wallet.m}}{{wallet.n}}"
+#: src/js/services/shapeshiftService.js:8
+msgid "Shapeshift"
+msgstr "Shapeshift"
+
+#: www/views/includes/community.html:3
+msgid "Community"
+msgstr "社区"
+
+#: src/js/services/communityService.js:40
+msgid "Bitcoin Cash Reddit"
+msgstr "Bitcoin Cash Reddit"
+
+#: src/js/services/communityService.js:47
+msgid "Bitcoin.com Twitter"
+msgstr "Bitcoin.com Twitter"
+
+#: www/views/includes/nextSteps.html:3
+msgid "Explore Bitcoin.com"
+msgstr "探索 Bitcoin.com"
+
+#: src/js/services/bitcoincomService.js:21
+msgid "Bitcoin Cash Games"
+msgstr "Bitcoin Cash 游戏"
+
+#: src/js/services/bitcoincomService.js:28
+msgid "News"
+msgstr "新闻"
+
+#: src/js/services/bitcoincomService.js:35
+msgid "Mining Pool"
+msgstr "矿池"
+
+#: src/js/services/bitcoincomService.js:42
+msgid "Tools"
+msgstr "工具"
+
+#: src/js/services/bitcoincomService.js:49
+msgid "Bitcoin Price Charts"
+msgstr "比特币价格图表"
+
+#: src/js/services/bitcoincomService.js:56
+msgid "Free Bitcoin Cash"
+msgstr "免费的 Bitcoin Cash"
+
+#: www/views/tab-home.html:30
+msgid "Your Bitcoin Wallets are ready!"
+msgstr "您的比特币钱包已就绪!"
+
diff --git a/resources/bitcoin.com/mac/pkg/app.icns b/resources/bitcoin.com/mac/pkg/app.icns
new file mode 100644
index 000000000..40aa3ea77
Binary files /dev/null and b/resources/bitcoin.com/mac/pkg/app.icns differ
diff --git a/resources/bitcoin.com/mac/pkg/build.cfg b/resources/bitcoin.com/mac/pkg/build.cfg
new file mode 100644
index 000000000..3594a2688
--- /dev/null
+++ b/resources/bitcoin.com/mac/pkg/build.cfg
@@ -0,0 +1,32 @@
+[Sign]
+## [REQUIRED] Your Application Certificate Identity
+ApplicationIdentity = 3rd Party Mac Developer Application: Saint Bitts LLC (299HJ3G3BP)
+## [OPTIONAL] Parent entitlements file
+ParentEntitlements = entitlements-parent.plist
+## [OPTIONAL] Child entitlements file
+ChildEntitlements = entitlements-child.plist
+## [OPTIONAL] Sandbox. Default: Yes
+Sandbox = Yes
+
+[Package]
+## [REQUIRED for --pkg] Your Installer Certificate Identity
+InstallerIdentity = 3rd Party Mac Developer Installer: Saint Bitts LLC (299HJ3G3BP)
+## [OPTIONAL for --pkg] Installation path
+InstallPath = /Applications
+
+[Info.plist]
+## [OPTIONAL] Your app bundle identifier
+CFBundleIdentifier = com.bitcoin.mwallet.mac
+## [REQUIRED] Team ID obtained from Apple Developer -> Membership -> Team ID
+NWTeamID = 299HJ3G3BP
+## Properties of Info.plist will be overwritten in this section.
+
+[Resources]
+## [OPTIONAL] Your custom icon file
+Icon = ../resources/bitcoin.com/mac/pkg/app.icns
+## [OPTIONAL] Locales
+## If Locales is not set, all current locales are preserved.
+## If comma separated locale list (e.g. en,fr,zh_CN) is given, you should have
+## additional [Locale locale_name] section for each locale containing localized strings.
+## Locales not in the list will be removed.
+Locales = en
\ No newline at end of file
diff --git a/resources/bitcoin.com/mac/pkg/build_mas.py b/resources/bitcoin.com/mac/pkg/build_mas.py
new file mode 100755
index 000000000..d067abacd
--- /dev/null
+++ b/resources/bitcoin.com/mac/pkg/build_mas.py
@@ -0,0 +1,253 @@
+#!/usr/bin/env python
+
+import argparse
+import ConfigParser
+import shutil
+import os
+import fnmatch
+import plistlib
+import tempfile
+from datetime import datetime
+import sys
+import io
+
+bundleid = None
+verbose = False
+
+def info(msg):
+ global verbose
+ if verbose:
+ print '[INFO] %s' % msg
+
+def error(msg):
+ print '[ERROR] %s' % msg
+ print '\nFailed.'
+ sys.exit(1)
+
+def system(cmd):
+ info(cmd)
+ os.system(cmd)
+
+def check_options(config, section, required_options, msg):
+ missed_options = []
+
+ for option in required_options:
+ if not config.has_option(section, option):
+ missed_options.append(option)
+
+ if len(missed_options) != 0:
+ error(msg % (section, ', '.join(missed_options)))
+
+def glob(pathname, pattern, returnOnFound=False):
+ matches = []
+ for root, dirnames, filenames in os.walk(pathname):
+ for dirname in fnmatch.filter(dirnames, pattern):
+ if returnOnFound:
+ return os.path.join(root, dirname)
+ matches.append(os.path.join(root, dirname))
+ for filename in fnmatch.filter(filenames, pattern):
+ if returnOnFound:
+ return os.path.join(root, filename)
+ matches.append(os.path.join(root, filename))
+ return matches
+
+def get_bundle_id(args):
+ global bundleid
+ if bundleid is None:
+ plist = plistlib.readPlist(os.path.join(args.output, 'Contents/Info.plist'))
+ bundleid = plist['CFBundleIdentifier']
+ return bundleid
+
+def get_from_info_plist(args, key, default=None):
+ plist = plistlib.readPlist(os.path.join(args.output, 'Contents/Info.plist'))
+ if key in plist:
+ return plist[key]
+ else:
+ return default
+
+def patch_info_plist_file(file, replaces):
+ plist = plistlib.readPlist(file)
+ for (key, val) in replaces:
+ plist[key] = val
+ plistlib.writePlist(plist, file)
+
+def generate_infoplist_strings_file(file, items):
+ with io.open(file, 'w', encoding='utf-16') as fd:
+ for item in items:
+ fd.write(unicode('%s = "%s";\n' % item, 'utf-8'))
+
+def read_config(args):
+ print '\nParsing config file %s' % args.config_file
+ if not os.path.isfile(args.config_file):
+ error('%s does not exist' % args.config_file)
+ config = ConfigParser.SafeConfigParser()
+ config.optionxform = str # set to str to prevent transforming into lower cases
+ config.read(args.config_file)
+ check_options(config, 'Sign', ['ApplicationIdentity'], 'Missed options in [%s]: %s')
+ if args.pkg:
+ check_options(config, 'Package', ['InstallerIdentity'], 'Missed options for --pkg in [%s]: %s')
+ return config
+
+def copy_to_output(args):
+ print '\nCopying %s to %s' % (args.input, args.output)
+ shutil.rmtree(args.output, ignore_errors=True)
+ shutil.copytree(args.input, args.output, symlinks=True) # symblic links are required
+
+def patch_info_plist(config, args):
+ print '\nPatching Info.plist files'
+
+ replaces = []
+ for (key, val) in config.items('Info.plist'):
+ replaces.append((key, val))
+
+ file = os.path.join(args.output, 'Contents/Info.plist')
+ info(file)
+ patch_info_plist_file(file, replaces)
+
+ info_plist_files = glob(os.path.join(args.output, 'Contents/Versions'), 'Info.plist')
+ for file in info_plist_files:
+ if 'nwjs Framework' in file:
+ tmp_replaces = [('CFBundleIdentifier', '%s.framework' % get_bundle_id(args))]
+ elif 'nwjs Helper' in file:
+ tmp_replaces = [('CFBundleIdentifier', '%s.helper' % get_bundle_id(args))]
+ else:
+ error('Cannot patch unknown Info.plist %s' % file)
+ info(file)
+ patch_info_plist_file(file, tmp_replaces)
+
+def patch_locales(config, args):
+ print '\nPatching locales'
+ locales = config.get('Resources', 'Locales').split(',')
+ removed_locales = []
+ generated_locales = []
+ for infoplist_strings_file in glob(os.path.join(args.output, 'Contents/Resources'), 'InfoPlist.strings'):
+ locale_dir = os.path.dirname(infoplist_strings_file)
+ (locale, _) = os.path.splitext(os.path.basename(locale_dir))
+ if locale not in locales:
+ removed_locales.append(locale)
+ shutil.rmtree(locale_dir)
+ elif config.has_section('Locale %s' % locale):
+ generated_locales.append(locale)
+ generate_infoplist_strings_file(infoplist_strings_file, config.items('Locale %s' % locale))
+ else:
+ error('Missing [Locale %s] section' % locale)
+
+ if len(generated_locales) > 0:
+ info('Generated locales for %s' % ', '.join(generated_locales))
+ if len(removed_locales) > 0:
+ info('Removed locales for %s' % ', '.join(removed_locales))
+
+ removed_paks = []
+ for local_pak in glob(os.path.join(args.output, 'Contents/Versions'), 'locale.pak'):
+ locale_dir = os.path.dirname(local_pak)
+ (locale, _) = os.path.splitext(os.path.basename(locale_dir))
+ if locale != 'en' and locale not in locales:
+ removed_paks.append(locale)
+ shutil.rmtree(locale_dir)
+
+ if len(removed_paks) > 0:
+ info('Removed .pak files for %s' % ', '.join(removed_locales))
+
+def patch_icon(config, args):
+ plist = plistlib.readPlist(os.path.join(args.output, 'Contents/Info.plist'))
+ icon = os.path.join(os.path.dirname(args.config_file), config.get('Resources', 'Icon'))
+ dest_icon = os.path.join(args.output, 'Contents/Resources/%s' % plist['CFBundleIconFile'])
+ info('Copying icon from %s to %s' % (icon, dest_icon))
+ shutil.copy2(icon, dest_icon)
+
+def codesign_app(config, args):
+ print '\nCodesigning'
+
+ bundleid = get_bundle_id(args)
+
+ identity = config.get('Sign', 'ApplicationIdentity')
+ sandbox = True
+ if config.has_option('Sign', 'Sandbox'):
+ sandbox = config.getboolean('Sign', 'Sandbox')
+
+ ## sign child frameworks and helpers
+ (_, tmp_child_entitlements) = tempfile.mkstemp()
+ if config.has_option('Sign', 'ChildEntitlements'):
+ child = config.get('Sign', 'ChildEntitlements')
+ child_entitlements = plistlib.readPlist(child)
+ else:
+ child_entitlements = {
+ 'com.apple.security.app-sandbox' : sandbox,
+ 'com.apple.security.inherit' : True
+ }
+
+ plistlib.writePlist(child_entitlements, tmp_child_entitlements)
+ info('Child entitlements: %s' % tmp_child_entitlements)
+ framework = glob(args.output, 'nwjs Framework.framework', returnOnFound=True)
+ system('codesign -f --verbose -s "%s" --entitlements %s --deep "%s"' % (identity, tmp_child_entitlements, framework))
+ helperApp = glob(args.output, 'nwjs Helper.app', returnOnFound=True)
+ system('codesign -f --verbose -s "%s" --entitlements %s --deep "%s"' % (identity, tmp_child_entitlements, helperApp))
+
+ ## sign parent app
+ (_, tmp_parent_entitlements) = tempfile.mkstemp()
+ if config.has_option('Sign', 'ParentEntitlements'):
+ parent = config.get('Sign', 'ParentEntitlements')
+ parent_entitlements = plistlib.readPlist(parent)
+ else:
+ parent_entitlements = {}
+ teamid = get_from_info_plist(args, 'NWTeamID', default=None)
+ if teamid is None:
+ groupid = bundleid
+ else:
+ groupid = '%s.%s' % (teamid, bundleid)
+ parent_entitlements['com.apple.security.app-sandbox'] = sandbox
+ parent_entitlements['com.apple.security.application-groups'] = [groupid]
+ plistlib.writePlist(parent_entitlements, tmp_parent_entitlements)
+
+ info('Parent entitlements: %s' % tmp_parent_entitlements)
+ system('codesign -f --verbose -s "%s" --entitlements %s --deep "%s"' % (identity, tmp_parent_entitlements, args.output))
+
+def productbuild(config, args):
+ print '\nRunning productbuild'
+ installer_identity = config.get('Package', 'InstallerIdentity')
+ if config.has_option('Package', 'InstallPath'):
+ install_path = config.get('Package', 'InstallPath')
+ else:
+ install_path = '/Applications'
+ system('productbuild --component "%s" "%s" --sign "%s" "%s"' % (args.output, install_path, installer_identity, args.pkg))
+
+def main():
+ parser = argparse.ArgumentParser(description='Signing tool for NW.js app')
+ parser.add_argument('-C', '--config-file', default='build.cfg', help='config file. (default: build.cfg)')
+ parser.add_argument('-I', '--input', default='nwjs.app', help='path to input app. (default: nwjs.app)')
+ parser.add_argument('-O', '--output', default='nwjs_output.app', help='path to output app. (default: nwjs_output.app)')
+ parser.add_argument('-S', '--skip-patching', default=False, help='run codesign without patching the app. (default: False)', action='store_true')
+ parser.add_argument('-P', '--pkg', default=None, help='run productbuild to generate .pkg after codesign. (default: None)')
+ parser.add_argument('-V', '--verbose', default=False, help='display detailed information. (default: False)', action='store_true')
+ args = parser.parse_args()
+
+ global verbose
+ verbose = args.verbose
+
+ # read config file
+ config = read_config(args)
+
+ # make a copy
+ copy_to_output(args)
+
+ if not args.skip_patching:
+ # patch Info.plist
+ patch_info_plist(config, args)
+
+ # process resources & locales
+ if config.has_section('Resources'):
+ if config.has_option('Resources', 'Locales'):
+ patch_locales(config, args)
+ if config.has_option('Resources', 'Icon'):
+ patch_icon(config, args)
+
+ # codesign
+ codesign_app(config, args)
+
+ if args.pkg:
+ productbuild(config, args)
+
+ print '\nDone.'
+
+if __name__ == "__main__":
+ main()
diff --git a/resources/bitcoin.com/mac/pkg/entitlements-child.plist b/resources/bitcoin.com/mac/pkg/entitlements-child.plist
new file mode 100644
index 000000000..635e25aac
--- /dev/null
+++ b/resources/bitcoin.com/mac/pkg/entitlements-child.plist
@@ -0,0 +1,10 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.security.inherit
+
+
+
\ No newline at end of file
diff --git a/resources/bitcoin.com/mac/pkg/entitlements-parent.plist b/resources/bitcoin.com/mac/pkg/entitlements-parent.plist
new file mode 100644
index 000000000..12d6997e3
--- /dev/null
+++ b/resources/bitcoin.com/mac/pkg/entitlements-parent.plist
@@ -0,0 +1,16 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.security.application-groups
+ $GROUPID
+ com.apple.security.files.user-selected.read-only
+
+ com.apple.security.network.client
+
+ com.apple.security.device.camera
+
+
+
diff --git a/src/js/controllers/addressbookAdd.js b/src/js/controllers/addressbookAdd.js
index a57839aa1..9529d943e 100644
--- a/src/js/controllers/addressbookAdd.js
+++ b/src/js/controllers/addressbookAdd.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('copayApp.controllers').controller('addressbookAddController', function($scope, $state, $stateParams, $timeout, $ionicHistory, gettextCatalog, addressbookService, popupService, configService, bitcoinCashJsService) {
+angular.module('copayApp.controllers').controller('addressbookAddController', function($scope, $state, $stateParams, $timeout, $ionicHistory, gettextCatalog, addressbookService, popupService, configService, bitcoinCashJsService, platformInfo) {
var config = configService.getSync();
var defaults = configService.getDefaults();
@@ -35,6 +35,16 @@ angular.module('copayApp.controllers').controller('addressbookAddController', fu
var translated = bitcoinCashJsService.readAddress(addressbook.address);
addressbook.address = translated.legacy;
}
+
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("contact_created", [{
+ "coin": $scope.addressbookEntry.coin
+ }], [channel]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
$timeout(function() {
addressbookService.add(addressbook, function(err, ab) {
if (err) {
diff --git a/src/js/controllers/amount.js b/src/js/controllers/amount.js
index f10121ee6..52695e829 100644
--- a/src/js/controllers/amount.js
+++ b/src/js/controllers/amount.js
@@ -38,9 +38,11 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.minShapeshiftAmount = parseFloat(data.stateParams.minShapeshiftAmount);
$scope.maxShapeshiftAmount = parseFloat(data.stateParams.maxShapeshiftAmount);
$scope.shapeshiftOrderId = data.stateParams.shapeshiftOrderId;
- $scope.fromWalletId = data.stateParams.fromWalletId;
}
+ // To get the wallet from with the new flow
+ $scope.fromWalletId = data.stateParams.fromWalletId;
+
if (data.stateParams.noPrefix) {
$scope.showWarningMessage = data.stateParams.noPrefix != 0;
if ($scope.showWarningMessage) {
@@ -458,7 +460,8 @@ angular.module('copayApp.controllers').controller('amountController', function($
amount: $scope.useSendMax ? null : _amount,
currency: unit.id.toUpperCase(),
coin: coin,
- useSendMax: $scope.useSendMax
+ useSendMax: $scope.useSendMax,
+ fromWalletId: $scope.fromWalletId
});
} else {
var amount = _amount;
@@ -479,6 +482,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
toColor: $scope.toColor,
coin: coin,
useSendMax: $scope.useSendMax,
+ fromWalletId: $scope.fromWalletId
};
if ($scope.shapeshiftOrderId) {
diff --git a/src/js/controllers/buyBitcoindotcom.js b/src/js/controllers/buyBitcoindotcom.js
index 741898c34..64766eede 100644
--- a/src/js/controllers/buyBitcoindotcom.js
+++ b/src/js/controllers/buyBitcoindotcom.js
@@ -1,7 +1,9 @@
'use strict';
angular.module('copayApp.controllers').controller('buyBitcoindotcomController',
- function($scope, $timeout, $ionicModal, $log, $state, $ionicHistory, lodash, bitcoincomService, externalLinkService, popupService) {
+ function($scope, platformInfo, externalLinkService) {
+
+ $scope.os = platformInfo.isAndroid ? 'android' : platformInfo.isIOS ? 'ios' : 'desktop';
$scope.openExternalLink = function(url) {
externalLinkService.open(url);
diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js
index fc92a2287..03af26fd1 100644
--- a/src/js/controllers/confirm.js
+++ b/src/js/controllers/confirm.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('copayApp.controllers').controller('confirmController', function($rootScope, $scope, $interval, $filter, $timeout, $ionicScrollDelegate, gettextCatalog, walletService, platformInfo, lodash, configService, $stateParams, $window, $state, $log, profileService, bitcore, bitcoreCash, txFormatService, ongoingProcess, $ionicModal, popupService, $ionicHistory, $ionicConfig, payproService, feeService, bwcError, txConfirmNotification, externalLinkService, firebaseEventsService) {
+angular.module('copayApp.controllers').controller('confirmController', function($rootScope, $scope, $interval, $filter, $timeout, $ionicScrollDelegate, gettextCatalog, walletService, platformInfo, lodash, configService, $stateParams, $window, $state, $log, profileService, bitcore, bitcoreCash, txFormatService, ongoingProcess, $ionicModal, popupService, $ionicHistory, $ionicConfig, payproService, feeService, bwcError, txConfirmNotification, externalLinkService, firebaseEventsService, soundService) {
var countDown = null;
var FEE_TOO_HIGH_LIMIT_PER = 15;
@@ -287,7 +287,10 @@ angular.module('copayApp.controllers').controller('confirmController', function(
tx.amountValueStr = tx.amountStr.split(' ')[0];
tx.amountUnitStr = tx.amountStr.split(' ')[1];
txFormatService.formatAlternativeStr(wallet.coin, tx.toAmount, function(v) {
+ var parts = v.split(' ');
tx.alternativeAmountStr = v;
+ tx.alternativeAmountValueStr = parts[0];
+ tx.alternativeAmountUnitStr = (parts.length > 0) ? parts[1] : '';
});
}
@@ -426,6 +429,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
function showSendMaxWarning(wallet, sendMaxInfo) {
+ var feeAlternative = '',
+ msg = '';
function verifyExcludedUtxos() {
var warningMsg = [];
@@ -443,9 +448,18 @@ angular.module('copayApp.controllers').controller('confirmController', function(
return warningMsg.join('\n');
};
- var msg = gettextCatalog.getString("{{fee}} will be deducted for bitcoin networking fees.", {
- fee: txFormatService.formatAmountStr(wallet.coin, sendMaxInfo.fee)
- });
+ feeAlternative = txFormatService.formatAlternativeStr(wallet.coin, sendMaxInfo.fee);
+ if (feeAlternative) {
+ msg = gettextCatalog.getString("{{feeAlternative}} will be deducted for bitcoin networking fees ({{fee}}).", {
+ fee: txFormatService.formatAmountStr(wallet.coin, sendMaxInfo.fee),
+ feeAlternative: feeAlternative
+ });
+ } else {
+ msg = gettextCatalog.getString("{{fee}} will be deducted for bitcoin networking fees).", {
+ fee: txFormatService.formatAmountStr(wallet.coin, sendMaxInfo.fee)
+ });
+ }
+
var warningMsg = verifyExcludedUtxos();
if (!lodash.isEmpty(warningMsg))
@@ -624,10 +638,24 @@ angular.module('copayApp.controllers').controller('confirmController', function(
(processName == 'sendingTx' && !$scope.wallet.canSign() && !$scope.wallet.isPrivKeyExternal())
) && !isOn) {
$scope.sendStatus = 'success';
- if (config.soundsEnabled && $scope.wallet.coin == 'bch') {
- var audio = new Audio('misc/bch_sent.mp3');
- audio.play();
+
+ if ($state.current.name === "tabs.send.confirm") { // XX SP: Otherwise all open wallets on other devices play this sound if you have been in a send flow before on that device.
+ soundService.play('misc/payment_sent.mp3');
}
+
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("transfer_success", [{
+ "coin": $scope.wallet.coin,
+ "type": "outgoing",
+ "amount": $scope.amount,
+ "fees": $scope.fee
+ }], [channel, "adjust"]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
+ // Should be removed
firebaseEventsService.logEvent('sent_bitcoin', { coin: $scope.wallet.coin });
$timeout(function() {
$scope.$digest();
diff --git a/src/js/controllers/feedback/rateApp.js b/src/js/controllers/feedback/rateApp.js
deleted file mode 100644
index 6ae485a3a..000000000
--- a/src/js/controllers/feedback/rateApp.js
+++ /dev/null
@@ -1,53 +0,0 @@
-'use strict';
-
-angular.module('copayApp.controllers').controller('rateAppController', function($scope, $state, $stateParams, $window, lodash, externalLinkService, configService, platformInfo, feedbackService, ongoingProcess, popupService, appConfigService) {
- $scope.score = parseInt($stateParams.score);
- $scope.appName = appConfigService.nameCase;
- var isAndroid = platformInfo.isAndroid;
- var isIOS = platformInfo.isIOS;
-
- var config = configService.getSync();
-
- $scope.skip = function() {
- var dataSrc = {
- "Email": lodash.values(config.emailFor)[0] || ' ',
- "Feedback": ' ',
- "Score": $stateParams.score,
- "AppVersion": $window.version,
- "Platform": ionic.Platform.platform(),
- "DeviceVersion": ionic.Platform.version()
- };
- feedbackService.send(dataSrc, function(err) {
- if (err) {
- // try to send, but not essential, since the user didn't add a message
- $log.warn('Could not send feedback.');
- }
- });
- $state.go('tabs.rate.complete', {
- score: $stateParams.score,
- skipped: true
- });
- };
-
- $scope.sendFeedback = function() {
- $state.go('tabs.rate.send', {
- score: $scope.score
- });
- };
-
- $scope.goAppStore = function() {
- var defaults = configService.getDefaults();
- var url;
- if (isAndroid)
- url = defaults.rateApp.bitcoincom.android;
- if (isIOS)
- url = defaults.rateApp.bitcoincom.ios;
-
- externalLinkService.open(url);
- $state.go('tabs.rate.complete', {
- score: $stateParams.score,
- skipped: true,
- rated: true
- });
- };
-});
diff --git a/src/js/controllers/feedback/rateCard.js b/src/js/controllers/feedback/rateCard.js
deleted file mode 100644
index abc109796..000000000
--- a/src/js/controllers/feedback/rateCard.js
+++ /dev/null
@@ -1,60 +0,0 @@
-'use strict';
-
-angular.module('copayApp.controllers').controller('rateCardController', function($scope, $state, $timeout, $log, gettextCatalog, platformInfo, storageService, appConfigService) {
-
- $scope.isCordova = platformInfo.isCordova;
- $scope.score = 0;
- $scope.appName = appConfigService.nameCase;
-
- $scope.goFeedbackFlow = function() {
- $scope.hideCard();
- if ($scope.isCordova && $scope.score == 5) {
- $state.go('tabs.rate.rateApp', {
- score: $scope.score
- });
- } else {
- $state.go('tabs.rate.send', {
- score: $scope.score
- });
- }
- };
-
- $scope.setScore = function(score) {
- $scope.score = score;
- switch ($scope.score) {
- case 1:
- $scope.button_title = gettextCatalog.getString("I think this app is terrible.");
- break;
- case 2:
- $scope.button_title = gettextCatalog.getString("I don't like it");
- break;
- case 3:
- $scope.button_title = gettextCatalog.getString("Meh - it's alright");
- break;
- case 4:
- $scope.button_title = gettextCatalog.getString("I like the app");
- break;
- case 5:
- $scope.button_title = gettextCatalog.getString("This app is fantastic!");
- break;
- }
- $timeout(function() {
- $scope.$apply();
- });
- };
-
- $scope.hideCard = function() {
- $log.debug('Feedback card dismissed.')
- storageService.getFeedbackInfo(function(error, info) {
- var feedbackInfo = JSON.parse(info);
- feedbackInfo.sent = true;
- storageService.setFeedbackInfo(JSON.stringify(feedbackInfo), function() {
- $scope.showRateCard.value = false;
- $timeout(function() {
- $scope.$apply();
- }, 100);
- });
- });
- }
-
-});
diff --git a/src/js/controllers/feedback/send.js b/src/js/controllers/feedback/send.js
deleted file mode 100644
index 23fb0ea59..000000000
--- a/src/js/controllers/feedback/send.js
+++ /dev/null
@@ -1,102 +0,0 @@
-'use strict';
-
-angular.module('copayApp.controllers').controller('sendController', function($scope, $state, $log, $timeout, $stateParams, $ionicNavBarDelegate, $ionicHistory, $ionicConfig, $window, gettextCatalog, popupService, configService, lodash, feedbackService, ongoingProcess, platformInfo, appConfigService) {
-
- $scope.sendFeedback = function(feedback, goHome) {
-
- var config = configService.getSync();
-
- var dataSrc = {
- "Email": lodash.values(config.emailFor)[0] || ' ',
- "Feedback": goHome ? ' ' : feedback,
- "Score": $stateParams.score || ' ',
- "AppVersion": $window.version,
- "Platform": ionic.Platform.platform(),
- "DeviceVersion": ionic.Platform.version()
- };
-
- if (!goHome) ongoingProcess.set('sendingFeedback', true);
- feedbackService.send(dataSrc, function(err) {
- if (goHome) return;
- ongoingProcess.set('sendingFeedback', false);
- if (err) {
- popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Feedback could not be submitted. Please try again later.'));
- return;
- }
- if (!$stateParams.score) {
- popupService.showAlert(gettextCatalog.getString('Thank you!'), gettextCatalog.getString('A member of the team will review your feedback as soon as possible.'), function() {
- $scope.feedback.value = '';
- $ionicHistory.nextViewOptions({
- disableAnimate: false,
- historyRoot: true
- });
- $ionicHistory.goBack();
- }, gettextCatalog.getString('Finish'));
- return;
- }
- $state.go('tabs.rate.complete', {
- score: $stateParams.score
- });
- });
- if (goHome) $state.go('tabs.home');
- };
-
- $scope.$on("$ionicView.beforeLeave", function(event, data) {
- $ionicConfig.views.swipeBackEnabled(true);
- });
-
- $scope.$on("$ionicView.enter", function(event, data) {
- if ($scope.score)
- $ionicConfig.views.swipeBackEnabled(false);
- });
-
- $scope.$on("$ionicView.beforeEnter", function(event, data) {
- $scope.isCordova = platformInfo.isCordova;
- $scope.score = (data.stateParams && data.stateParams.score) ? parseInt(data.stateParams.score) : null;
- $scope.feedback = {};
-
- switch ($scope.score) {
- case 1:
- $scope.reaction = "Ouch!";
- $scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.") + ' ' + gettextCatalog.getString("How could we improve your experience?");
- break;
- case 2:
- $scope.reaction = gettextCatalog.getString("Oh no!");
- $scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.") + ' ' + gettextCatalog.getString("How could we improve your experience?");
- break;
- case 3:
- $scope.reaction = "Hmm...";
- $scope.comment = gettextCatalog.getString("We'd love to do better.") + ' ' + gettextCatalog.getString("How could we improve your experience?");
- break;
- case 4:
- $scope.reaction = gettextCatalog.getString("Thanks!");
- $scope.comment = gettextCatalog.getString("That's exciting to hear. We'd love to earn that fifth star from you – how could we improve your experience?");
- break;
- case 5:
- $scope.reaction = gettextCatalog.getString("Thank you!");
- $scope.comment = gettextCatalog.getString("We're always looking for ways to improve {{appName}}.", {
- appName: appConfigService.nameCase
- }) + ' ' + gettextCatalog.getString("Is there anything we could do better?");
- break;
- default:
- $scope.justFeedback = true;
- $scope.comment = gettextCatalog.getString("We're always looking for ways to improve {{appName}}. How could we improve your experience?", {
- appName: appConfigService.nameCase
- });
- break;
- }
- });
-
- $scope.$on("$ionicView.afterEnter", function() {
- $scope.showForm = true;
- });
-
- $scope.goBack = function() {
- $ionicHistory.nextViewOptions({
- disableAnimate: false,
- historyRoot: true
- });
- $ionicHistory.goBack();
- };
-
-});
diff --git a/src/js/controllers/preferencesNotifications.js b/src/js/controllers/preferencesNotifications.js
index 7351a9f23..edfb983b5 100644
--- a/src/js/controllers/preferencesNotifications.js
+++ b/src/js/controllers/preferencesNotifications.js
@@ -75,6 +75,15 @@ angular.module('copayApp.controllers').controller('preferencesNotificationsContr
};
emailService.updateEmail(opts);
+
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("settings_email_notification_toggle", [{
+ "toggle": $scope.emailNotifications.value
+ }], [channel]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
};
$scope.soundNotificationsChange = function() {
diff --git a/src/js/controllers/feedback/complete.js b/src/js/controllers/shareApp.js
similarity index 77%
rename from src/js/controllers/feedback/complete.js
rename to src/js/controllers/shareApp.js
index 905880901..ba3fdedff 100644
--- a/src/js/controllers/feedback/complete.js
+++ b/src/js/controllers/shareApp.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('copayApp.controllers').controller('completeController', function($scope, $stateParams, $timeout, $log, $ionicHistory, $state, $ionicNavBarDelegate, $ionicConfig, platformInfo, configService, storageService, lodash, appConfigService, gettextCatalog) {
+angular.module('copayApp.controllers').controller('shareAppController', function($scope, $stateParams, $timeout, $log, $ionicHistory, $state, $ionicNavBarDelegate, $ionicConfig, platformInfo, configService, storageService, lodash, appConfigService, gettextCatalog) {
$scope.isCordova = platformInfo.isCordova;
$scope.title = gettextCatalog.getString("Share {{appName}}", {
appName: appConfigService.nameCase
@@ -57,28 +57,8 @@ angular.module('copayApp.controllers').controller('completeController', function
$ionicConfig.views.swipeBackEnabled(true);
});
- $scope.$on("$ionicView.enter", function() {
- if (!$scope.fromSettings)
- $ionicConfig.views.swipeBackEnabled(false);
- });
-
$scope.$on("$ionicView.beforeEnter", function(event, data) {
- $scope.score = (data.stateParams && data.stateParams.score) ? parseInt(data.stateParams.score) : null;
- $scope.skipped = (data.stateParams && data.stateParams.skipped) ? true : false;
- $scope.rated = (data.stateParams && data.stateParams.rated) ? true : false;
- $scope.fromSettings = (data.stateParams && data.stateParams.fromSettings) ? true : false;
-
- if (!$scope.fromSettings) {
- $ionicNavBarDelegate.showBackButton(false);
- } else {
- $ionicNavBarDelegate.showBackButton(true);
- }
-
- storageService.getFeedbackInfo(function(error, info) {
- var feedbackInfo = lodash.isString(info) ? JSON.parse(info) : null;
- feedbackInfo.sent = true;
- storageService.setFeedbackInfo(JSON.stringify(feedbackInfo), function() {});
- });
+ $ionicNavBarDelegate.showBackButton(true);
if (!$scope.isCordova) return;
$scope.animate = true;
@@ -133,13 +113,4 @@ angular.module('copayApp.controllers').controller('completeController', function
}
}, 100);
});
-
- $scope.close = function() {
- $ionicHistory.nextViewOptions({
- disableAnimate: false,
- historyRoot: true
- });
- if ($scope.score == 5) $ionicHistory.goBack(-3);
- else $ionicHistory.goBack(-2);
- };
});
diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js
index 1332287b6..a04820ebd 100644
--- a/src/js/controllers/tab-home.js
+++ b/src/js/controllers/tab-home.js
@@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('tabHomeController',
- function($rootScope, $timeout, $scope, $state, $stateParams, $ionicModal, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, storageService, txpModalService, appConfigService, startupService, addressbookService, feedbackService, bwcError, nextStepsService, buyAndSellService, homeIntegrationsService, bitpayCardService, pushNotificationsService, timeService, bitcoincomService, pricechartService, firebaseEventsService, servicesService, shapeshiftService, $ionicNavBarDelegate, signVerifyMessageService) {
+ function($rootScope, $timeout, $scope, $state, $stateParams, $ionicModal, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, bannerService, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, storageService, txpModalService, appConfigService, startupService, addressbookService, bwcError, nextStepsService, buyAndSellService, homeIntegrationsService, bitpayCardService, pushNotificationsService, timeService, bitcoincomService, pricechartService, firebaseEventsService, servicesService, shapeshiftService, $ionicNavBarDelegate, signVerifyMessageService) {
var wallet;
var listeners = [];
var notifications = [];
@@ -14,11 +14,20 @@ angular.module('copayApp.controllers').controller('tabHomeController',
$scope.isAndroid = platformInfo.isAndroid;
$scope.isWindowsPhoneApp = platformInfo.isCordova && platformInfo.isWP;
$scope.isNW = platformInfo.isNW;
- $scope.showRateCard = {};
$scope.showServices = false;
+ $scope.bannerIsLoading = true;
+ $scope.bannerImageUrl = '';
+ $scope.bannerUrl = '';
+
$scope.$on("$ionicView.afterEnter", function() {
startupService.ready();
+
+ bannerService.getBanner(function (banner) {
+ $scope.bannerImageUrl = banner.imageURL;
+ $scope.bannerUrl = banner.url;
+ $scope.bannerIsLoading = false;
+ });
});
$scope.$on("$ionicView.beforeEnter", function(event, data) {
@@ -42,43 +51,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
}
});
}
-
- storageService.getFeedbackInfo(function(error, info) {
-
- if ($scope.isWindowsPhoneApp) {
- $scope.showRateCard.value = false;
- return;
- }
- if (!info) {
- initFeedBackInfo();
- } else {
- var feedbackInfo = JSON.parse(info);
- //Check if current version is greater than saved version
- var currentVersion = $scope.version;
- var savedVersion = feedbackInfo.version;
- var isVersionUpdated = feedbackService.isVersionUpdated(currentVersion, savedVersion);
- if (!isVersionUpdated) {
- initFeedBackInfo();
- return;
- }
- var now = moment().unix();
- var timeExceeded = (now - feedbackInfo.time) >= 24 * 7 * 60 * 60;
- $scope.showRateCard.value = timeExceeded && !feedbackInfo.sent;
- $timeout(function() {
- $scope.$apply();
- });
- }
- });
-
- function initFeedBackInfo() {
- var feedbackInfo = {};
- feedbackInfo.time = moment().unix();
- feedbackInfo.version = $scope.version;
- feedbackInfo.sent = false;
- storageService.setFeedbackInfo(JSON.stringify(feedbackInfo), function() {
- $scope.showRateCard.value = false;
- });
- };
});
$scope.$on("$ionicView.enter", function(event, data) {
@@ -155,8 +127,8 @@ angular.module('copayApp.controllers').controller('tabHomeController',
externalLinkService.open(url, optIn, title, message, okText, cancelText);
};
- $scope.openStore = function() {
- externalLinkService.open('https://store.bitcoin.com/', false);
+ $scope.openBannerUrl = function() {
+ externalLinkService.open($scope.bannerUrl, false);
};
$scope.openNotificationModal = function(n) {
diff --git a/src/js/controllers/tab-receive.js b/src/js/controllers/tab-receive.js
index c9fa46de9..8f25412ec 100644
--- a/src/js/controllers/tab-receive.js
+++ b/src/js/controllers/tab-receive.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('copayApp.controllers').controller('tabReceiveController', function($rootScope, $scope, $timeout, $log, $ionicModal, $state, $ionicHistory, $ionicPopover, storageService, platformInfo, walletService, profileService, configService, lodash, gettextCatalog, popupService, bwcError, bitcoinCashJsService, $ionicNavBarDelegate, txFormatService) {
+angular.module('copayApp.controllers').controller('tabReceiveController', function($rootScope, $scope, $timeout, $log, $ionicModal, $state, $ionicHistory, $ionicPopover, storageService, platformInfo, walletService, profileService, configService, lodash, gettextCatalog, popupService, bwcError, bitcoinCashJsService, $ionicNavBarDelegate, txFormatService, soundService, clipboardService) {
var listeners = [];
$scope.bchAddressType = { type: 'cashaddr' };
@@ -13,6 +13,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
var currentAddressSocket = {};
var paymentSubscriptionObj = { op:"addr_sub" }
+ var config;
+
$scope.displayBalanceAsFiat = true;
$scope.requestSpecificAmount = function() {
@@ -22,7 +24,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
});
};
- $scope.setAddress = function(newAddr) {
+ $scope.setAddress = function(newAddr, copyAddress) {
$scope.addr = null;
if (!$scope.wallet || $scope.generatingAddress || !$scope.wallet.isComplete()) return;
$scope.generatingAddress = true;
@@ -56,6 +58,14 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
paymentSubscriptionObj.addr = $scope.addr
}
+ if (copyAddress === true) {
+ try {
+ clipboardService.copyToClipboard($scope.wallet.coin == 'bch' && $scope.bchAddressType.type == 'cashaddr' ? 'bitcoincash:' + $scope.addr : $scope.addr);
+ } catch (error) {
+ $log.debug("Error copying to clipboard:");
+ $log.debug(error);
+ }
+ }
// create subscription
var msg = JSON.stringify(paymentSubscriptionObj);
currentAddressSocket.onopen = function (event) {
@@ -125,9 +135,30 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
for (var i = 0; i < data.x.out.length; i++) {
if (data.x.out[i].addr == watchAddress) {
$scope.paymentReceivedAmount = txFormatService.formatAmount(data.x.out[i].value, 'full');
+ $scope.paymentReceivedAlternativeAmount = ''; // For when a subsequent payment is received.
+ txFormatService.formatAlternativeStr($scope.wallet.coin, data.x.out[i].value, function(alternativeStr){
+ if (alternativeStr) {
+ $scope.paymentReceivedAlternativeAmount = alternativeStr;
+ }
+ });
}
}
$scope.paymentReceivedCoin = $scope.wallet.coin;
+
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("transfer_success", [{
+ "coin": $scope.wallet.coin,
+ "type": "incoming"
+ }], [channel, "adjust"]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
+ if ($state.current.name === "tabs.receive") {
+ soundService.play('misc/payment_received.mp3');
+ }
+
$scope.$apply(function () {
$scope.showingPaymentReceived = true;
});
@@ -215,12 +246,14 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
})
];
- configService.whenAvailable(function(config) {
- $scope.displayBalanceAsFiat = config.wallet.settings.priceDisplay === 'fiat';
+ configService.whenAvailable(function(_config) {
+ $scope.displayBalanceAsFiat = _config.wallet.settings.priceDisplay === 'fiat';
+ config = _config;
});
});
$scope.$on("$ionicView.enter", function(event, data) {
+ $scope.showingPaymentReceived = false;
$ionicNavBarDelegate.showBar(true);
});
diff --git a/src/js/controllers/tab-scan.js b/src/js/controllers/tab-scan.js
index a96591a25..4a654d91d 100644
--- a/src/js/controllers/tab-scan.js
+++ b/src/js/controllers/tab-scan.js
@@ -122,8 +122,11 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
scannerService.openSettings();
};
+ $scope.reactivationCount = 0;
$scope.attemptToReactivate = function(){
- scannerService.reinitialize();
+ scannerService.reinitialize(function(){
+ $scope.reactivationCount++;
+ });
};
$scope.toggleLight = function(){
diff --git a/src/js/controllers/tab-send.js b/src/js/controllers/tab-send.js
index 29f1749cb..99265457d 100644
--- a/src/js/controllers/tab-send.js
+++ b/src/js/controllers/tab-send.js
@@ -1,32 +1,139 @@
'use strict';
-angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo, bwcError, gettextCatalog, scannerService, configService, bitcoinCashJsService, $ionicNavBarDelegate) {
-
+angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, $ionicLoading, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo, bwcError, gettextCatalog, scannerService, configService, bitcoinCashJsService, $ionicPopup, $ionicNavBarDelegate, clipboardService) {
+ var clipboardHasAddress = false;
+ var clipboardHasContent = false;
var originalList;
- var CONTACTS_SHOW_LIMIT;
- var currentContactsPage;
- $scope.isChromeApp = platformInfo.isChromeApp;
- $scope.sectionDisplay = {
- transferToWallet: false
+ $scope.displayBalanceAsFiat = true;
+ $scope.walletSelectorTitleForce = true;
+
+ $scope.addContact = function() {
+ $state.go('tabs.send.addressbook');
+ };
+
+ $scope.pasteClipboard = function() {
+ if ($scope.clipboardHasAddress || $scope.clipboardHasContent) {
+ clipboardService.readFromClipboard(function(text) {
+ $scope.$apply(function() {
+ $scope.formData.search = text;
+ $scope.findContact($scope.formData.search);
+ });
+ });
+ } else {
+ $ionicPopup.alert({
+ title: gettextCatalog.getString('Clipboard'),
+ template: gettextCatalog.getString('Your Clipboard is empty')
+ });
+ }
+ };
+
+ $scope.$on("$ionicView.enter", function(event, data) {
+ clipboardService.readFromClipboard(function(text) {
+ if (text.length > 200) {
+ text = text.substring(0, 200);
+ }
+
+ $scope.clipboardHasAddress = false;
+ $scope.clipboardHasContent = false;
+ if ((text.indexOf('bitcoincash:') === 0 || text[0] === 'C' || text[0] === 'H' || text[0] === 'p' || text[0] === 'q') && text.replace('bitcoincash:', '').length === 42) { // CashAddr
+ $scope.clipboardHasAddress = true;
+ } else if ((text[0] === "1" || text[0] === "3" || text.substring(0, 3) === "bc1") && text.length >= 26 && text.length <= 35) { // Legacy Addresses
+ $scope.clipboardHasAddress = true;
+ } else if (text.length > 1) {
+ $scope.clipboardHasContent = true;
+ }
+ });
+
+ $ionicNavBarDelegate.showBar(true);
+ if (!$scope.hasWallets) {
+ $scope.checkingBalance = false;
+ return;
+ }
+ updateHasFunds();
+ updateContactsList(function() {
+ updateList();
+ });
+ });
+
+ var wallets;
+ var walletsBch;
+ var walletsBtc;
+ var walletToWalletFrom = false;
+
+ $scope.onWalletSelect = function(wallet) {
+ if (!$scope.walletToWalletFrom) {
+ $scope.walletToWalletFrom = wallet;
+ if (wallet.coin === 'bch') {
+ $scope.showWalletsBch = true;
+ } else if (wallet.coin === 'btc') {
+ $scope.showWalletsBtc = true;
+ }
+ $scope.walletSelectorTitleTo = gettextCatalog.getString('Send to');
+ } else {
+ $ionicLoading.show();
+ walletService.getAddress(wallet, true, function(err, addr) {
+ $ionicLoading.hide();
+ return $state.transitionTo('tabs.send.amount', {
+ displayAddress: $scope.walletToWalletFrom.coin === 'bch' ? bitcoinCashJsService.translateAddresses(addr).cashaddr : addr,
+ recipientType: 'wallet',
+ fromWalletId: $scope.walletToWalletFrom.id,
+ toAddress: addr,
+ coin: $scope.walletToWalletFrom.coin
+ });
+ });
+
+ }
+ };
+
+ $scope.showWalletSelector = function() {
+ $scope.walletToWalletFrom = false;
+ $scope.walletSelectorTitleFrom = gettextCatalog.getString('Send from');
+ $scope.showWallets = true;
+ };
+
+ $scope.findContact = function(search) {
+
+ if (incomingData.redir(search)) {
+ return;
+ }
+
+ if (!search || search.length < 1) {
+ $scope.list = originalList;
+ $timeout(function() {
+ $scope.$apply();
+ });
+ return;
+ }
+
+ var result = lodash.filter(originalList, function(item) {
+ var val = item.name;
+ return lodash.startsWith(val.toLowerCase(), search.toLowerCase());
+ });
+
+ $scope.list = result;
};
var hasWallets = function() {
+ $scope.walletsWithFunds = profileService.getWallets({
+ onlyComplete: true,
+ hasFunds: true
+ });
$scope.wallets = profileService.getWallets({
- onlyComplete: true
+ onlyComplete: true,
+ });
+ $scope.walletsBch = profileService.getWallets({
+ onlyComplete: true,
+ coin: 'bch'
+ });
+ $scope.walletsBtc = profileService.getWallets({
+ onlyComplete: true,
+ coin: 'btc'
});
$scope.hasWallets = lodash.isEmpty($scope.wallets) ? false : true;
};
- // THIS is ONLY to show the 'buy bitcoins' message
- // does not has any other function.
-
var updateHasFunds = function() {
- if ($rootScope.everHasFunds) {
- $scope.hasFunds = true;
- return;
- }
-
$scope.hasFunds = false;
var index = 0;
lodash.each($scope.wallets, function(w) {
@@ -41,10 +148,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
$scope.hasFunds = true;
} else if (status.availableBalanceSat > 0) {
$scope.hasFunds = true;
- $rootScope.everHasFunds = true;
}
- if (index == $scope.wallets.length) {
+ if (index === $scope.wallets.length) {
$scope.checkingBalance = false;
$timeout(function() {
$scope.$apply();
@@ -54,49 +160,6 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
});
};
- var updateWalletsList = function() {
- var config = configService.getSync();
- var networkResult = lodash.countBy($scope.wallets, 'network');
-
- $scope.showTransferCard = $scope.hasWallets && (networkResult.livenet > 1 || networkResult.testnet > 1);
-
- if ($scope.showTransferCard) {
- var walletsToTransfer = $scope.wallets;
- if (!(networkResult.livenet > 1)) {
- walletsToTransfer = lodash.filter(walletsToTransfer, function(item) {
- return item.network == 'testnet';
- });
- }
- if (!(networkResult.testnet > 1)) {
- walletsToTransfer = lodash.filter(walletsToTransfer, function(item) {
- return item.network == 'livenet';
- });
- }
-
- var walletList = [];
- lodash.each(walletsToTransfer, function(v) {
- var displayBalanceAsFiat =
- v.status.alternativeBalanceAvailable &&
- config.wallet.settings.priceDisplay === 'fiat';
-
- walletList.push({
- color: v.color,
- name: v.name,
- recipientType: 'wallet',
- coin: v.coin,
- network: v.network,
- balanceString: displayBalanceAsFiat ?
- v.status.totalBalanceAlternative + ' ' + v.status.alternativeIsoCode :
- v.cachedBalance,
- getAddress: function(cb) {
- walletService.getAddress(v, false, cb);
- },
- });
- });
- originalList = originalList.concat(walletList);
- }
- }
-
var updateContactsList = function(cb) {
var config = configService.getSync();
var defaults = configService.getDefaults();
@@ -115,16 +178,14 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
recipientType: 'contact',
coin: v.coin,
displayCoin: (v.coin == 'bch'
- ? (config.bitcoinCashAlias || defaults.bitcoinCashAlias)
- : (config.bitcoinAlias || defaults.bitcoinAlias)).toUpperCase(),
+ ? (config.bitcoinCashAlias || defaults.bitcoinCashAlias)
+ : (config.bitcoinAlias || defaults.bitcoinAlias)).toUpperCase(),
getAddress: function(cb) {
return cb(null, k);
},
});
});
- var contacts = completeContacts.slice(0, (currentContactsPage + 1) * CONTACTS_SHOW_LIMIT);
- $scope.contactsShowMore = completeContacts.length > contacts.length;
- originalList = originalList.concat(contacts);
+ originalList = completeContacts;
return cb();
});
};
@@ -137,28 +198,6 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
}, 10);
};
- $scope.openScanner = function() {
- var isWindowsPhoneApp = platformInfo.isCordova && platformInfo.isWP;
-
- if (!isWindowsPhoneApp) {
- $state.go('tabs.scan');
- return;
- }
-
- scannerService.useOldScanner(function(err, contents) {
- if (err) {
- popupService.showAlert(gettextCatalog.getString('Error'), err);
- return;
- }
- incomingData.redir(contents);
- });
- };
-
- $scope.showMore = function() {
- currentContactsPage++;
- updateWalletsList();
- };
-
$scope.searchInFocus = function() {
$scope.searchFocus = true;
};
@@ -169,28 +208,6 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
}
};
- $scope.findContact = function(search) {
-
- if (incomingData.redir(search)) {
- return;
- }
-
- if (!search || search.length < 2) {
- $scope.list = originalList;
- $timeout(function() {
- $scope.$apply();
- });
- return;
- }
-
- var result = lodash.filter(originalList, function(item) {
- var val = item.name;
- return lodash.includes(val.toLowerCase(), search.toLowerCase());
- });
-
- $scope.list = result;
- };
-
$scope.goToAmount = function(item) {
$timeout(function() {
item.getAddress(function(err, addr) {
@@ -233,34 +250,19 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
+ $scope.isIOS = platformInfo.isIOS && platformInfo.isCordova;
+ $scope.showWalletsBch = $scope.showWalletsBtc = $scope.showWallets = false;
+
$scope.checkingBalance = true;
$scope.formData = {
search: null
};
originalList = [];
- CONTACTS_SHOW_LIMIT = 10;
- currentContactsPage = 0;
hasWallets();
- });
- $scope.$on("$ionicView.enter", function(event, data) {
- $ionicNavBarDelegate.showBar(true);
- if (!$scope.hasWallets) {
- $scope.checkingBalance = false;
- return;
- }
- updateHasFunds();
- updateWalletsList();
- updateContactsList(function() {
- updateList();
+ configService.whenAvailable(function(_config) {
+ $scope.displayBalanceAsFiat = _config.wallet.settings.priceDisplay === 'fiat';
});
+
});
-
- $scope.toggle = function(section) {
- $scope.sectionDisplay[section] = !$scope.sectionDisplay[section];
- $timeout(function() {
- $ionicScrollDelegate.resize();
- $scope.$apply();
- }, 10);
- };
});
diff --git a/src/js/controllers/tab-settings.js b/src/js/controllers/tab-settings.js
index 6cfc80def..4d0636d53 100644
--- a/src/js/controllers/tab-settings.js
+++ b/src/js/controllers/tab-settings.js
@@ -45,6 +45,18 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
});
};
+ $scope.sendFeedback = function() {
+ var mailToLink = 'mailto:wallet@bitcoin.com?subject=Feedback%20for%20Bitcoin.com%20Wallet';
+ if (platformInfo.isNW) {
+ nw.Shell.openExternal(mailToLink);
+ } else if (platformInfo.isCordova) {
+ var mailWindow = window.open(mailToLink, '_system');
+ mailWindow.close(); // XX SP: bugfix for some browsers in cordova to change the view entirely
+ } else {
+ window.location.href = mailToLink;
+ }
+ };
+
$scope.openExternalLink = function() {
var appName = appConfigService.name;
var url = appName == 'copay' ? 'https://github.com/bitcoin-com/wallet/issues' : 'https://www.bitcoin.com/wallet-support';
diff --git a/src/js/controllers/walletDetails.js b/src/js/controllers/walletDetails.js
index 88ee871ff..24237f6c9 100644
--- a/src/js/controllers/walletDetails.js
+++ b/src/js/controllers/walletDetails.js
@@ -12,6 +12,13 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.isAndroid = platformInfo.isAndroid;
$scope.isIOS = platformInfo.isIOS;
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("wallet_details_open", [], [channel]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
$scope.amountIsCollapsible = !$scope.isAndroid;
$scope.openExternalLink = function(url, target) {
diff --git a/src/js/decorators/displayLogDebug.js b/src/js/decorators/displayLogDebug.js
new file mode 100644
index 000000000..4eacf34b3
--- /dev/null
+++ b/src/js/decorators/displayLogDebug.js
@@ -0,0 +1,15 @@
+ angular.module('copayApp')
+ .config(['$provide', '$logProvider', function($provide, $logProvider) {
+ // expose a provider to reach debugEnabled in $log
+ $provide.value('$logProvider', $logProvider);
+}])
+.decorator('$log', ['$logProvider', '$delegate', function($logProvider, $delegate) {
+ // override $log.debug to display in Chrome
+ $delegate.debug = function () {
+ if ($logProvider.debugEnabled()) {
+ $delegate.info.apply($delegate, arguments);
+ }
+ };
+
+ return $delegate;
+}]);
\ No newline at end of file
diff --git a/src/js/directives/copyToClipboard.js b/src/js/directives/copyToClipboard.js
index 5de40f23e..c81e0bd60 100644
--- a/src/js/directives/copyToClipboard.js
+++ b/src/js/directives/copyToClipboard.js
@@ -1,38 +1,26 @@
'use strict';
angular.module('copayApp.directives')
- .directive('copyToClipboard', function(platformInfo, nodeWebkitService, gettextCatalog, ionicToast, clipboard) {
+ .directive('copyToClipboard', function(clipboardService, ionicToast, gettextCatalog) {
return {
restrict: 'A',
scope: {
copyToClipboard: '=copyToClipboard'
},
link: function(scope, elem, attrs, ctrl) {
- var isCordova = platformInfo.isCordova;
- var isChromeApp = platformInfo.isChromeApp;
- var isNW = platformInfo.isNW;
elem.bind('mouseover', function() {
elem.css('cursor', 'pointer');
});
- var msg = gettextCatalog.getString('Copied to clipboard');
elem.bind('click', function() {
var data = scope.copyToClipboard;
- if (!data) return;
+ clipboardService.copyToClipboard(data);
- if (isCordova) {
- cordova.plugins.clipboard.copy(data);
- } else if (isNW) {
- nodeWebkitService.writeToClipboard(data);
- } else if (clipboard.supported) {
- clipboard.copyText(data);
- } else {
- // No supported
- return;
- }
- scope.$apply(function() {
+ var msg = gettextCatalog.getString('Copied to clipboard');
+ scope.$apply(function () {
ionicToast.show(msg, 'bottom', false, 1000);
});
+
});
}
}
diff --git a/src/js/directives/gravatar.js b/src/js/directives/gravatar.js
index 5f7931798..c96a63cfe 100644
--- a/src/js/directives/gravatar.js
+++ b/src/js/directives/gravatar.js
@@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.directives')
- .directive('gravatar', function(md5) {
+ .directive('gravatar', function(md5, $http) {
return {
restrict: 'AE',
replace: true,
@@ -9,13 +9,24 @@ angular.module('copayApp.directives')
name: '@',
height: '@',
width: '@',
- email: '@'
+ email: '@',
+ url: '@'
},
link: function(scope, el, attr) {
if (typeof scope.email === "string") {
scope.emailHash = md5.createHash(scope.email.toLowerCase() || '');
+ var req = {
+ method: 'GET',
+ url: 'https://secure.gravatar.com/'+scope.emailHash+'.json',
+ };
+ scope.url = 'img/contact-placeholder.svg';
+ $http(req).then(function (response) {
+ scope.url = 'https://secure.gravatar.com/avatar/'+scope.emailHash+'.jpg?s='+scope.width+'&d=mm';
+ }, function (error) {
+ scope.url = 'img/contact-placeholder.svg';
+ });
}
},
- template: ' '
+ template: ' '
};
});
diff --git a/src/js/directives/walletSelector.js b/src/js/directives/walletSelector.js
index 79053f812..8a96a0805 100644
--- a/src/js/directives/walletSelector.js
+++ b/src/js/directives/walletSelector.js
@@ -8,15 +8,21 @@ angular.module('copayApp.directives')
transclude: true,
scope: {
title: '=walletSelectorTitle',
+ forceTitle: '=walletSelectorForceTitle',
show: '=walletSelectorShow',
wallets: '=walletSelectorWallets',
selectedWallet: '=walletSelectorSelectedWallet',
onSelect: '=walletSelectorOnSelect',
+ onHide: '=walletSelectorOnHide',
displayBalanceAsFiat : '=walletSelectorDisplayBalanceAsFiat'
},
link: function(scope, element, attrs) {
+ console.log(scope, element, attrs);
scope.hide = function() {
scope.show = false;
+ if (typeof scope.onHide === "function") {
+ scope.onHide()
+ }
};
scope.selectWallet = function(wallet) {
$timeout(function() {
diff --git a/src/js/models/profile.js b/src/js/models/profile.js
index 74b0c33b9..7690d1c2d 100644
--- a/src/js/models/profile.js
+++ b/src/js/models/profile.js
@@ -9,12 +9,12 @@ function Profile() {
this.version = '1.0.0';
};
-Profile.create = function(opts) {
- opts = opts || {};
+Profile.create = function(appVersion) {
var x = new Profile();
+ x.appVersion = appVersion;
x.createdOn = Date.now();
- x.credentials = opts.credentials || [];
+ x.credentials = [];
x.disclaimerAccepted = true;
x.checked = {};
return x;
@@ -23,6 +23,7 @@ Profile.create = function(opts) {
Profile.fromObj = function(obj) {
var x = new Profile();
+ x.appVersion = obj.appVersion;
x.createdOn = obj.createdOn;
x.credentials = obj.credentials;
x.disclaimerAccepted = obj.disclaimerAccepted;
@@ -62,6 +63,39 @@ Profile.prototype.isDeviceChecked = function(ua) {
return this.checkedUA == ua;
};
+/**
+ *
+ * @param {Profile} other
+ */
+Profile.prototype.merge = function(other) {
+
+ var newCredentials = [];
+ var otherCredentialsLength = other.credentials.length;
+ var thisProfile = this;
+
+ other.credentials.forEach(function(otherCredential) {
+ var credentialExists = false;
+ thisProfile.credentials.forEach(function(thisCredential) {
+ if (otherCredential.walletId === thisCredential.walletId) {
+ credentialExists = true;
+ }
+ });
+ if (!credentialExists) {
+ newCredentials.push(otherCredential);
+ }
+ });
+
+ Array.prototype.push.apply(this.credentials, newCredentials);
+};
+
+/**
+ * It's a simple operation, but it means that all the profile logic stays
+ * in this file.
+ * @param {string} appVersion - ie "4.11.0"
+ */
+Profile.prototype.setAppVersion = function(appVersion) {
+ this.appVersion = appVersion;
+}
Profile.prototype.setChecked = function(ua, walletId) {
if (this.checkedUA != ua) {
diff --git a/src/js/routes.js b/src/js/routes.js
index 395a356bd..8277314e5 100644
--- a/src/js/routes.js
+++ b/src/js/routes.js
@@ -795,63 +795,15 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
fromOnboarding: null
},
})
-
- /*
- *
- * Feedback
- *
- */
-
- .state('tabs.feedback', {
- url: '/feedback',
- views: {
- 'tab-settings@tabs': {
- templateUrl: 'views/feedback/send.html',
- controller: 'sendController'
- }
- }
- })
.state('tabs.shareApp', {
- url: '/shareApp/:score/:skipped/:fromSettings',
+ url: '/shareApp',
views: {
'tab-settings@tabs': {
- controller: 'completeController',
- templateUrl: 'views/feedback/complete.html'
+ controller: 'shareAppController',
+ templateUrl: 'views/shareApp.html'
}
}
})
- .state('tabs.rate', {
- url: '/rate',
- abstract: true
- })
- .state('tabs.rate.send', {
- url: '/send/:score',
- views: {
- 'tab-home@tabs': {
- templateUrl: 'views/feedback/send.html',
- controller: 'sendController'
- }
- }
- })
- .state('tabs.rate.complete', {
- url: '/complete/:score/:skipped',
- views: {
- 'tab-home@tabs': {
- controller: 'completeController',
- templateUrl: 'views/feedback/complete.html'
- }
- }
- })
- .state('tabs.rate.rateApp', {
- url: '/rateApp/:score',
- views: {
- 'tab-home@tabs': {
- controller: 'rateAppController',
- templateUrl: 'views/feedback/rateApp.html'
- }
- }
- })
-
/*
*
* Buy or Sell Bitcoin
@@ -1211,7 +1163,68 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.run(function($rootScope, $state, $location, $log, $timeout, startupService, ionicToast, fingerprintService, $ionicHistory, $ionicPlatform, $window, appConfigService, lodash, platformInfo, profileService, uxLanguage, gettextCatalog, openURLService, storageService, scannerService, configService, emailService, /* plugins START HERE => */ buydotbitcoindotcomService, glideraService, amazonService, bitpayCardService, applicationService, mercadoLibreService, rateService) {
$ionicPlatform.ready(function() {
+
+ // Init BitAnalytics
+ var os = platformInfo.isAndroid ? 'android' : platformInfo.isIOS ? 'ios' : 'desktop';
+ window.BitAnalytics.initialize(os, $window.fullVersion, {"firebase": {},
+ "ga": {
+ "trackingId": "UA-59964190-23",
+ "eventLabels": ["id", "icon-off"]
+ },
+ "adjust": {
+ "token": "au1onbhgg5q8",
+ "environment" : "production",
+ "eventTypes": {
+ "banner_click": "sc5i8u",
+ "buy_bitcoin_click": "t1vcdz",
+ "transfer_success": "f68evo",
+ "wallet_created": "nd3dg5",
+ "wallet_opened": "4n39l7"
+ }
+ }
+ });
+
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ // Send a log to test
+ var log = new window.BitAnalytics.LogEvent("wallet_opened", [], [channel, "adjust"]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
+ var actionBanner = new window.BitAnalytics.ActionFactory.createAction('click', {
+ name: 'banner_click',
+ class: 'track_banner_click',
+ params: ['href-banner', 'id'],
+ channels: [channel, 'adjust']
+ });
+ window.BitAnalytics.ActionHandlers.trackAction(actionBanner);
+
+ var actionBuyBitcoin = new window.BitAnalytics.ActionFactory.createAction('click', {
+ name: 'buy_bitcoin_click',
+ class: 'track_buy_bitcoin_click',
+ params: ['href', 'id'],
+ channels: [channel, 'adjust']
+ });
+ window.BitAnalytics.ActionHandlers.trackAction(actionBuyBitcoin);
+
+ var actionLinkClickOut = new window.BitAnalytics.ActionFactory.createAction('click', {
+ name: 'link_click_out',
+ class: 'track_link_click_out',
+ params: ['href', 'id'],
+ channels: [channel]
+ });
+ window.BitAnalytics.ActionHandlers.trackAction(actionLinkClickOut);
+
+ var actionTabOpen = new window.BitAnalytics.ActionFactory.createAction('click', {
+ name: 'tab_open',
+ class: 'track_tab_open',
+ params: ['href', 'title', 'icon-off'],
+ channels: [channel]
+ });
+ window.BitAnalytics.ActionHandlers.trackAction(actionTabOpen);
+
// Init language
uxLanguage.init(function (lang) {
@@ -1381,8 +1394,13 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
}
win.menu = nativeMenuBar;
}
-
+
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
+ if (document.body.classList.contains('keyboard-open')) {
+ document.body.classList.remove('keyboard-open');
+ $log.debug('Prevented keyboard open bug..');
+ }
+
$log.debug('Route change from:', fromState.name || '-', ' to:', toState.name);
$log.debug(' toParams:' + JSON.stringify(toParams || {}));
$log.debug(' fromParams:' + JSON.stringify(fromParams || {}));
diff --git a/src/js/services/bannerService.js b/src/js/services/bannerService.js
new file mode 100644
index 000000000..d48d8861e
--- /dev/null
+++ b/src/js/services/bannerService.js
@@ -0,0 +1,78 @@
+'use strict';
+angular.module('copayApp.services').factory('bannerService', function ($http, $log) {
+ // Export
+ var root = {};
+
+ // Constant
+ var API_URL = 'https://bwscash.bitcoin.com/bws/api/v1/marketing';
+
+ // Variable
+ var hasFetched = false;
+ var banners = [];
+ var defaultBanner = {
+ id: 'default-banner',
+ imageURL: 'img/banner-store.png',
+ url: 'https://store.bitcoin.com/',
+ isLocal: true
+ };
+
+ // Private methods
+ var fetchSettings = function (cb) {
+ var req = {
+ method: 'GET',
+ url: API_URL+'/settings',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json'
+ }
+ };
+ $http(req).then(function (response) {
+ $log.info('Get banner settings: SUCCESS');
+ banners = response.data;
+ return cb(true);
+ }, function (error) {
+ $log.error('Get banner settings: ERROR ' + error.statusText);
+ return cb(false);
+ });
+ };
+
+ root.getBanner = function (cb) {
+
+ // If not fetch get the banner
+ if (!hasFetched) {
+ hasFetched = true;
+
+ // If never fetch, lets fetch
+ fetchSettings(function (isSuccess) {
+ root.getBanner(cb);
+ });
+
+ // If fetch, and got banners, lets have a look
+ } else if (banners.length > 0) {
+ var selectedBanners = [];
+ for(var i in banners) {
+ var banner = banners[i];
+
+ // Generate the URL for the banner
+ var fileName = banner.image.substring(0, banner.image.lastIndexOf('.'));
+ var extension = banner.image.substring(banner.image.lastIndexOf('.')+1);
+ banner.imageURL = API_URL +'/banners/'+fileName+"/"+extension;
+
+ // Add the banner
+ selectedBanners.push(banners[i]);
+ }
+
+ // If no banner activated, return the default one
+ if (selectedBanners.length == 0) {
+ return cb(defaultBanner);
+ } else {
+ return cb(selectedBanners[Math.floor(Math.random()*banners.length)]);
+ }
+
+ } else {
+ return cb(defaultBanner);
+ }
+ };
+
+ return root;
+});
\ No newline at end of file
diff --git a/src/js/services/bitcoincomService.js b/src/js/services/bitcoincomService.js
index 681ed8f4d..051123111 100644
--- a/src/js/services/bitcoincomService.js
+++ b/src/js/services/bitcoincomService.js
@@ -1,12 +1,13 @@
'use strict';
-angular.module('copayApp.services').factory('bitcoincomService', function($http, $log, lodash, moment, storageService, configService, platformInfo, nextStepsService, homeIntegrationsService) {
+angular.module('copayApp.services').factory('bitcoincomService', function(platformInfo, nextStepsService) {
var root = {};
var credentials = {};
/*
* Development: 'testnet'
* Production: 'livenet'
- */
+ */
+ var os = platformInfo.isAndroid ? 'android' : platformInfo.isIOS ? 'ios' : 'desktop';
credentials.NETWORK = 'livenet';
//credentials.NETWORK = 'testnet';
@@ -20,28 +21,28 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
name: 'games',
title: 'Bitcoin Cash Games',
icon: 'icon-games',
- href: 'http://cashgames.bitcoin.com'
+ href: 'https://cashgames.bitcoin.com'
};
var newsItem = {
name: 'news',
title: 'News',
icon: 'icon-news',
- href: 'http://news.bitcoin.com'
+ href: 'https://news.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=News'
};
var poolItem = {
name: 'pool',
title: 'Mining Pool',
icon: 'icon-mining',
- href: 'http://pool.bitcoin.com'
+ href: 'https://pool.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Pool'
};
var toolsItem = {
name: 'tools',
title: 'Tools',
icon: 'icon-tools',
- href: 'http://tools.bitcoin.com'
+ href: 'https://tools.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Tools'
};
var priceChartItem = {
@@ -55,7 +56,7 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
name: 'faucet',
title: 'Free Bitcoin Cash',
icon: 'icon-faucet',
- href: 'https://free.bitcoin.com/'
+ href: 'https://free.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Faucet'
};
var _getBitPay = function(endpoint) {
diff --git a/src/js/services/clipboardService.js b/src/js/services/clipboardService.js
new file mode 100644
index 000000000..b9851d626
--- /dev/null
+++ b/src/js/services/clipboardService.js
@@ -0,0 +1,46 @@
+'use strict';
+
+angular.module('copayApp.services').factory('clipboardService', function ($http, $log, $timeout, platformInfo, nodeWebkitService, gettextCatalog, ionicToast, clipboard) {
+ var root = {};
+
+ root.copyToClipboard = function (data) {
+ if (!data) return;
+
+ $log.debug("Copy '"+data+"' to clipboard");
+ if (platformInfo.isCordova) {
+ cordova.plugins.clipboard.copy(data);
+ } else if (platformInfo.isNW) {
+ nodeWebkitService.writeToClipboard(data);
+ } else if (clipboard.supported) {
+ clipboard.copyText(data);
+ } else {
+ // No supported
+ return;
+ }
+ };
+
+ root.readFromClipboard = function (cb) {
+ $log.debug("Read from clipboard");
+ if (platformInfo.isCordova) {
+ cordova.plugins.clipboard.paste(function(text) {
+ cb(text);
+ })
+ } else if (platformInfo.isNW) {
+ $timeout(function() {
+ cb(nodeWebkitService.readFromClipboard());
+ },0);
+ } else {
+ navigator.clipboard.readText()
+ .then(function (text) {
+ cb(text);
+ })
+ .catch(function (err) {
+ $log.debug("Clipboard reading is not supported in browser..");
+ });
+
+ return;
+ }
+ };
+
+ return root;
+});
\ No newline at end of file
diff --git a/src/js/services/configService.js b/src/js/services/configService.js
index 1e46da03a..72cc4825f 100644
--- a/src/js/services/configService.js
+++ b/src/js/services/configService.js
@@ -107,7 +107,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer
enabled: false,
},
- soundsEnabled: false,
+ soundsEnabled: true,
log: {
filter: 'debug',
@@ -115,8 +115,8 @@ angular.module('copayApp.services').factory('configService', function(storageSer
bitcoinAlias: 'btc',
bitcoinCashAlias: 'bch',
- bitcoinWalletColor: '#fab915', // Observatory
- bitcoinCashWalletColor: '#26B03C', // Dollar Green
+ bitcoinWalletColor: '#535353', // Dark Grey
+ bitcoinCashWalletColor: '#eeb640', // Observatory
homeSectionIsHidden: {
services: false
diff --git a/src/js/services/desktopSecureStorageService.js b/src/js/services/desktopSecureStorageService.js
new file mode 100644
index 000000000..6e148da2c
--- /dev/null
+++ b/src/js/services/desktopSecureStorageService.js
@@ -0,0 +1,6 @@
+'use strict';
+
+angular.module('copayApp.services').factory('desktopSecureStorageService', function($log) {
+ // Placeholder
+ return {};
+});
\ No newline at end of file
diff --git a/src/js/services/feedbackService.js b/src/js/services/feedbackService.js
deleted file mode 100644
index ae4711d27..000000000
--- a/src/js/services/feedbackService.js
+++ /dev/null
@@ -1,59 +0,0 @@
-'use strict';
-angular.module('copayApp.services').factory('feedbackService', function($http, $log, $httpParamSerializer, configService) {
- var root = {};
-// var URL = "https://script.google.com/macros/s/1pWGRxVSUX9CxPqNAKZTppWHtDvyVtZv9HteY_TRQbWc/exec";
- var URL = "https://wallet-data.bitcoin.com/feedback.php";
-
- root.send = function(dataSrc, cb) {
- $http(_post(dataSrc)).then(function() {
- $log.info("SUCCESS: Feedback sent");
- return cb();
- }, function(err) {
- $log.info("ERROR: Feedback sent anyway.");
- return cb(err);
- });
- };
-
- var _post = function(dataSrc) {
- return {
- method: 'POST',
- url: URL,
- headers: {
- 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'
- },
- data: $httpParamSerializer(dataSrc)
- };
- };
-
- root.isVersionUpdated = function(currentVersion, savedVersion) {
-
- if (!verifyTagFormat(currentVersion))
- return 'Cannot verify the format of version tag: ' + currentVersion;
- if (!verifyTagFormat(savedVersion))
- return 'Cannot verify the format of the saved version tag: ' + savedVersion;
-
- var current = formatTagNumber(currentVersion);
- var saved = formatTagNumber(savedVersion);
- if (saved.major > current.major || (saved.major == current.major && saved.minor > current.minor))
- return false;
-
- return true;
-
- function verifyTagFormat(tag) {
- var regex = /^v?\d+\.\d+\.\d+$/i;
- return regex.exec(tag);
- };
-
- function formatTagNumber(tag) {
- var formattedNumber = tag.replace(/^v/i, '').split('.');
- return {
- major: +formattedNumber[0],
- minor: +formattedNumber[1],
- patch: +formattedNumber[2]
- };
- };
-
- };
-
- return root;
-});
diff --git a/src/js/services/incomingData.js b/src/js/services/incomingData.js
index a318e1157..1bb87b49c 100644
--- a/src/js/services/incomingData.js
+++ b/src/js/services/incomingData.js
@@ -228,10 +228,12 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
} else if (/^https?:\/\//.test(data)) {
payproService.getPayProDetails(data, coin, function(err, details) {
if (err) {
- root.showMenu({
- data: data,
- type: 'url'
- });
+ if ($state.includes('tabs.scan')) {
+ root.showMenu({
+ data: data,
+ type: 'url'
+ });
+ }
return;
}
handlePayPro(details);
diff --git a/src/js/services/localStorage.js b/src/js/services/localStorage.js
index c772b7eef..ba0db231b 100644
--- a/src/js/services/localStorage.js
+++ b/src/js/services/localStorage.js
@@ -20,8 +20,7 @@ angular.module('copayApp.services')
if (isChromeApp || isNW) {
chrome.storage.local.get(k,
function(data) {
- //TODO check for errors
- return cb(null, data[k]);
+ return cb(chrome.runtime.lastError, data[k]);
});
} else {
return cb(null, ls.getItem(k));
@@ -56,16 +55,24 @@ angular.module('copayApp.services')
obj[k] = v;
- chrome.storage.local.set(obj, cb);
+ chrome.storage.local.set(obj, function(){
+ cb(chrome.runtime.lastError);
+ });
} else {
- ls.setItem(k, v);
+ try {
+ ls.setItem(k, v);
+ } catch (e) {
+ return cb(e);
+ }
return cb();
}
};
root.remove = function(k, cb) {
if (isChromeApp || isNW) {
- chrome.storage.local.remove(k, cb);
+ chrome.storage.local.remove(k, function(){
+ cb(chrome.runtime.lastError);
+ });
} else {
ls.removeItem(k);
return cb();
diff --git a/src/js/services/mobileSecureStorageService.js b/src/js/services/mobileSecureStorageService.js
new file mode 100644
index 000000000..f9994fdf8
--- /dev/null
+++ b/src/js/services/mobileSecureStorageService.js
@@ -0,0 +1,88 @@
+'use strict';
+
+angular.module('copayApp.services').factory('mobileSecureStorageService', function($log, appConfigService, platformInfo) {
+ var root = {};
+
+ var isReady = false;
+ var initialisationFailed = false;
+ var pending = [];
+
+ var storage = null;
+
+ if (platformInfo.isCordova) {
+ storage = new cordova.plugins.SecureStorage(
+ function () {
+ isReady = true;
+ for (var i = 0; i < pending.length; i++) {
+ pending[i]();
+ }
+ pending = [];
+ },
+ function (error) {
+ initialisationFailed = true;
+ },
+ appConfigService.packageNameId);
+ }
+
+ root.get = function(key, cb) {
+
+ if (!platformInfo.isMobile) {
+ cb(new Error('mobileSecureStorageService is only available on mobile.'));
+ return;
+ }
+
+ if (!isReady) {
+ if (initialisationFailed) {
+ cb(new Error('mobileSecureStorageService initialisation failed.'));
+ } else {
+ pending.push(function(){ root.get(key, cb); });
+ }
+ return;
+ }
+
+ storage.get(
+ function (value) {
+ cb(null, value);
+ },
+ function (error) {
+ $log.debug('mss get failed. ' + error);
+ if (error.message === 'Failure in SecureStorage.get() - The specified item could not be found in the keychain' || // iOS
+ error.message === 'Key [_SS_profile] not found.') { // Android
+ // The callback expects no error, but also no value, if it cannot be found.
+ cb(null, null);
+ } else {
+ cb(new Error(error));
+ }
+ },
+ key);
+ };
+
+ root.set = function(key, value, cb) {
+
+ if (!platformInfo.isMobile) {
+ cb(new Error('mobileSecureStorageService is only available on mobile.'));
+ }
+
+ if (!isReady) {
+ if (initialisationFailed) {
+ cb(new Error('mobileSecureStorageService initialisation failed.'));
+ } else {
+ pending.push(function(){ root.set(key, value, cb); });
+ }
+ return;
+ }
+
+ storage.set(
+ function (value) {
+ cb();
+ },
+ function (error) {
+ cb(new Error(error));
+ },
+ key, value);
+
+ };
+
+ return root;
+});
+
diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js
index dac88169f..4f8710c28 100644
--- a/src/js/services/profileService.js
+++ b/src/js/services/profileService.js
@@ -427,6 +427,15 @@ angular.module('copayApp.services')
}, function(err, secret) {
if (err) return bwcError.cb(err, gettextCatalog.getString('Error creating wallet'), cb);
+ var channel = "firebase";
+ if (platformInfo.isNW) {
+ channel = "ga";
+ }
+ var log = new window.BitAnalytics.LogEvent("wallet_created", [{
+ "coin": opts.coin
+ }], [channel]);
+ window.BitAnalytics.LogEventHandlers.postEvent(log);
+
return cb(null, walletClient, secret);
});
});
@@ -706,7 +715,7 @@ angular.module('copayApp.services')
configService.get(function(err) {
if (err) $log.debug(err);
- var p = Profile.create();
+ var p = Profile.create(appConfigService.version);
storageService.storeNewProfile(p, function(err) {
if (err) return cb(err);
root.bindProfile(p, function(err) {
diff --git a/src/js/services/rateService.spec.js b/src/js/services/rateService.spec.js
new file mode 100644
index 000000000..35397eb7f
--- /dev/null
+++ b/src/js/services/rateService.spec.js
@@ -0,0 +1,53 @@
+describe('rateService', function() {
+ var $httpBackend, rateService, requestHandler;
+
+ beforeEach(function() {
+ module('ngLodash');
+ module('copayApp.services');
+
+ inject(function($injector){
+ $httpBackend = $injector.get('$httpBackend');
+
+ requestHandler = $httpBackend.when('GET', 'https://www.bitcoin.com/special/rates.json')
+ .respond([
+ {
+ "code": "BTC",
+ "name": "Bitcoin",
+ "rate": 1
+ },
+ {
+ "code": "BCH_BTC",
+ "name": "Bitcoin Cash",
+ "rate": 6.739397
+ },
+ {
+ "code": "USD",
+ "name": "US Dollar",
+ "rate": 7602.04
+ }
+ ]);
+
+ rateService = $injector.get('rateService');
+
+ $httpBackend.flush();
+ });
+ });
+
+ afterEach(function() {
+ $httpBackend.verifyNoOutstandingExpectation();
+ $httpBackend.verifyNoOutstandingRequest();
+ });
+
+ it('get rates', function() {
+
+ $httpBackend.expectGET('https://www.bitcoin.com/special/rates.json');
+
+ rateService.updateRates();
+
+ $httpBackend.flush();
+
+ var usdRate = rateService.getRate('USD');
+
+ expect(usdRate).toEqual(7602.04);
+ });
+});
\ No newline at end of file
diff --git a/src/js/services/scannerService.js b/src/js/services/scannerService.js
index ddf62895d..e09662396 100644
--- a/src/js/services/scannerService.js
+++ b/src/js/services/scannerService.js
@@ -103,6 +103,7 @@ angular.module('copayApp.services').service('scannerService', function($log, $ti
_completeInitialization(status, callback);
});
} else {
+ isAvailable = true; // XX SP: Availability can change after permissions are granted after being denied.
_completeInitialization(status, callback);
}
});
diff --git a/src/js/services/secureStorageService.js b/src/js/services/secureStorageService.js
new file mode 100644
index 000000000..c066109c2
--- /dev/null
+++ b/src/js/services/secureStorageService.js
@@ -0,0 +1,32 @@
+'use strict';
+
+angular.module('copayApp.services').factory('secureStorageService', function(desktopSecureStorageService, localStorageService, $log, mobileSecureStorageService, platformInfo) {
+ var root = {};
+
+ // To make wrong code look wrong
+ function alteredKeyIndicatingDesireForSecureStorage(key) {
+ return key + ":desiredSecure";
+ }
+
+ root.get = function(k, cb) {
+ if (platformInfo.isMobile) {
+ mobileSecureStorageService.get(k, cb);
+ } else if (platformInfo.isNW) {
+ desktopSecureStorageService.get(k, cb);
+ } else { // Browser
+ localStorageService.get(alteredKeyIndicatingDesireForSecureStorage(k), cb);
+ }
+ }
+
+ root.set = function(k, v, cb) {
+ if (platformInfo.isMobile) {
+ mobileSecureStorageService.set(k, v, cb);
+ } else if (platformInfo.isNW) {
+ desktopSecureStorageService.set(k, v, cb);
+ } else { // Browser
+ localStorageService.set(alteredKeyIndicatingDesireForSecureStorage(k), v, cb);
+ }
+ }
+
+ return root;
+});
\ No newline at end of file
diff --git a/src/js/services/secureStorageService.spec.js b/src/js/services/secureStorageService.spec.js
new file mode 100644
index 000000000..abfa5d947
--- /dev/null
+++ b/src/js/services/secureStorageService.spec.js
@@ -0,0 +1,308 @@
+describe('secureStorageService in browser', function(){
+ var localStorage,
+ sss;
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('copayApp.services');
+
+ localStorage = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ };
+
+ module(function($provide) {
+ $provide.value('localStorageService', localStorage);
+ $provide.value('platformInfo', platformInfoStub);
+ });
+
+ inject(function($injector){
+ sss = $injector.get('secureStorageService');
+ });
+
+ });
+
+ it('get fails', function() {
+ var error, key, result;
+
+ localStorage.get.and.callFake(function(k, cb){
+ key = k;
+ cb(new Error('Get error.'), null);
+ });
+
+ sss.get('a1234', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error.message).toBe('Get error.');
+ expect(result).toBeFalsy();
+ expect(key).toBe('a1234:desiredSecure');
+ });
+
+ it('get succeeds', function() {
+ var error, key, result;
+
+ localStorage.get.and.callFake(function(k, cb){
+ key = k;
+ cb(null, 'The result 1.');
+ });
+
+ sss.get('a123', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error).toBeFalsy();
+ expect(result).toBe('The result 1.');
+ expect(key).toBe('a123:desiredSecure');
+ });
+
+ it('set fails', function() {
+ var error, key, value;
+
+ localStorage.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(new Error('Set error.'));
+ });
+
+ sss.set('a12345', 'The value 1.', function(e) {
+ error = e;
+ });
+
+ expect(error.message).toBe('Set error.');
+ expect(key).toBe('a12345:desiredSecure');
+ expect(value).toBe('The value 1.');
+ });
+
+ it('set succeeds', function() {
+ var error, key, value;
+
+ localStorage.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(null);
+ });
+
+ sss.set('ab123', 'The value 2.', function(e) {
+ error = e;
+ });
+
+ expect(error).toBeFalsy();
+ expect(key).toBe('ab123:desiredSecure');
+ expect(value).toBe('The value 2.')
+ });
+
+});
+
+
+describe('secureStorageService on desktop', function(){
+ var desktopSss,
+ sss;
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('copayApp.services');
+
+ desktopSss = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ isNW: true
+ };
+
+ module(function($provide) {
+ $provide.value('desktopSecureStorageService', desktopSss);
+ $provide.value('platformInfo', platformInfoStub);
+ });
+
+ inject(function($injector){
+ sss = $injector.get('secureStorageService');
+ });
+
+ });
+
+ it('get fails', function() {
+ var error, key, result;
+
+ desktopSss.get.and.callFake(function(k, cb){
+ key = k;
+ cb(new Error('Get error.'), null);
+ });
+
+ sss.get('a1234', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error.message).toBe('Get error.');
+ expect(result).toBeFalsy();
+ expect(key).toBe('a1234');
+ });
+
+ it('get succeeds', function() {
+ var error, key, result;
+
+ desktopSss.get.and.callFake(function(k, cb){
+ key = k;
+ cb(null, 'The result 1.');
+ });
+
+ sss.get('a123', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error).toBeFalsy();
+ expect(result).toBe('The result 1.');
+ expect(key).toBe('a123');
+ });
+
+ it('set fails', function() {
+ var error, key, value;
+
+ desktopSss.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(new Error('Set error.'));
+ });
+
+ sss.set('a12345', 'The value 1.', function(e) {
+ error = e;
+ });
+
+ expect(error.message).toBe('Set error.');
+ expect(key).toBe('a12345');
+ expect(value).toBe('The value 1.');
+ });
+
+ it('set succeeds', function() {
+ var error, key, value;
+
+ desktopSss.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(null);
+ });
+
+ sss.set('ab123', 'The value 2.', function(e) {
+ error = e;
+ });
+
+ expect(error).toBeFalsy();
+ expect(key).toBe('ab123');
+ expect(value).toBe('The value 2.')
+ });
+
+});
+
+describe('secureStorageService on mobile', function(){
+ var mobileSss,
+ sss;
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('copayApp.services');
+
+ mobileSss = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ isMobile: true
+ };
+
+ module(function($provide) {
+ $provide.value('mobileSecureStorageService', mobileSss);
+ $provide.value('platformInfo', platformInfoStub);
+ });
+
+ inject(function($injector){
+ sss = $injector.get('secureStorageService');
+ });
+
+ });
+
+ it('get fails', function() {
+ var error, key, result;
+
+ mobileSss.get.and.callFake(function(k, cb){
+ key = k;
+ cb(new Error('Get error.'), null);
+ });
+
+ sss.get('a1234', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error.message).toBe('Get error.');
+ expect(result).toBeFalsy();
+ expect(key).toBe('a1234');
+ });
+
+ it('get succeeds', function() {
+ var error, key, result;
+
+ mobileSss.get.and.callFake(function(k, cb){
+ key = k;
+ cb(null, 'The result 1.');
+ });
+
+ sss.get('a123', function(e, res) {
+ error = e;
+ result = res;
+ });
+
+ expect(error).toBeFalsy();
+ expect(result).toBe('The result 1.');
+ expect(key).toBe('a123');
+ });
+
+ it('set fails', function() {
+ var error, key, value;
+
+ mobileSss.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(new Error('Set error.'));
+ });
+
+ sss.set('a12345', 'The value 1.', function(e) {
+ error = e;
+ });
+
+ expect(error.message).toBe('Set error.');
+ expect(key).toBe('a12345');
+ expect(value).toBe('The value 1.');
+ });
+
+ it('set succeeds', function() {
+ var error, key, value;
+
+ mobileSss.set.and.callFake(function(k, v, cb){
+ key = k;
+ value = v;
+ cb(null);
+ });
+
+ sss.set('ab123', 'The value 2.', function(e) {
+ error = e;
+ });
+
+ expect(error).toBeFalsy();
+ expect(key).toBe('ab123');
+ expect(value).toBe('The value 2.')
+ });
+
+});
+
+
+
\ No newline at end of file
diff --git a/src/js/services/soundService.js b/src/js/services/soundService.js
new file mode 100644
index 000000000..759789e21
--- /dev/null
+++ b/src/js/services/soundService.js
@@ -0,0 +1,44 @@
+'use strict';
+
+angular.module('copayApp.services').service('soundService', function($log, $timeout, platformInfo, configService) {
+
+ var root = {};
+
+ /**
+ * Play a sound (when enabled in the configuration) using the Cordova Media-plugin (on Mobile) or html5-audio (on Desktop) relative to the www-root
+ * Make sure there is a .ogg file as well for NW.js (desktop) implementation
+ * @param soundFile
+ */
+ root.play = function(soundFile) {
+ configService.whenAvailable(function(config) {
+ if (config.soundsEnabled) {
+ if (platformInfo.isCordova) {
+
+ if (platformInfo.isAndroid) {
+ var p = window.location.pathname;
+ var device_path = p.substring(0, p.lastIndexOf('/'));
+ soundFile = device_path + '/' + soundFile;
+ }
+
+ var audio = new Media(soundFile,
+ function () {
+ $log.debug("playAudio(bch_sent):Audio Success");
+ },
+ function (err) {
+ $log.debug("playAudio():Audio Error: " + err);
+ }
+ );
+ audio.play({playAudioWhenScreenIsLocked: false}); // XX SP: "Locked" is also the mute switch in iOS
+ } else {
+ if (platformInfo.isNW) {
+ soundFile = soundFile.substring(0, soundFile.lastIndexOf('.')) + ".ogg";
+ $log.debug("Playing .ogg file ("+soundFile+"), as NW.js has no mp3 support");
+ }
+ new Audio(soundFile).play();
+ }
+ }
+ });
+ };
+
+ return root;
+});
\ No newline at end of file
diff --git a/src/js/services/storageService.js b/src/js/services/storageService.js
index 3d1ecfeef..c979098ee 100644
--- a/src/js/services/storageService.js
+++ b/src/js/services/storageService.js
@@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.services')
- .factory('storageService', function(logHeader, fileStorageService, localStorageService, sjcl, $log, lodash, platformInfo, $timeout) {
+ .factory('storageService', function(appConfigService, logHeader, fileStorageService, localStorageService, sjcl, $log, lodash, platformInfo, $timeout) {
var root = {};
var storage;
@@ -116,42 +116,105 @@ angular.module('copayApp.services')
};
root.storeNewProfile = function(profile, cb) {
- storage.create('profile', profile.toObj(), cb);
+ root.storeProfile(profile, cb);
};
root.storeProfile = function(profile, cb) {
- storage.set('profile', profile.toObj(), cb);
+ var profileString = profile.toObj();
+ storage.set('profile', profileString, cb);
};
- root.getProfile = function(cb) {
- storage.get('profile', function(err, str) {
- if (err || !str)
- return cb(err);
+ /**
+ * @callback getProfileCallback
+ * @param {Error} error - falsy if profile not found.
+ * @param {Profile} profile - falsy if error or profile not found.
+ */
- decryptOnMobile(str, function(err, str) {
- if (err) return cb(err);
- var p, err;
- try {
- p = Profile.fromString(str);
- } catch (e) {
- $log.debug('Could not read profile:', e);
- err = new Error('Could not read profile:' + p);
+
+ /**
+ * @param {Error} error
+ * @param {String} profileStr - containing the profile
+ * @param {getProfileCallback} cb
+ */
+ function _onOldProfileRetrieved(error, profileStr, cb) {
+ if (error) {
+ return cb(error, null);
+ }
+
+ if (!profileStr) {
+ // No profiles found. No errors either.
+ return cb(null, null);
+ }
+
+ decryptOnMobile(profileStr, function(decryptErr, decryptedStr) {
+ if (decryptErr) return cb(decryptErr, null);
+ var profile;
+ try {
+ profile = Profile.fromString(decryptedStr);
+ } catch (e) {
+ $log.debug('Could not read profile:', e);
+ return(new Error('Could not read profile.'), null);
+ }
+ cb(null, profile)
+ });
+ }
+
+
+
+ /**
+ *
+ * @param {Profile} oldProfile
+ * @param {Profile} secureProfile - may be falsy if no secure profile found.
+ * @param {getProfileCallback} cb
+ */
+ function _migrateProfiles(oldProfile, secureProfile, cb) {
+ var newProfile;
+
+ if (secureProfile) {
+ secureProfile.merge(oldProfile);
+ newProfile = secureProfile;
+ } else {
+ newProfile = oldProfile;
+ newProfile.setAppVersion(appConfigService.version);
+ }
+
+ root.storeNewProfile(newProfile, function(storeErr) {
+ if (storeErr) {
+ cb(storeErr, null);
+ return;
+ }
+
+ storage.remove('profile', function(removeErr){
+ if (removeErr) {
+ cb(removeErr, null);
+ return;
}
- return cb(err, p);
+
+ cb(null, newProfile);
});
+
});
};
- root.deleteProfile = function(cb) {
- storage.remove('profile', cb);
- };
+ /**
+ *
+ * @param {getProfileCallback} cb
+ */
+ root.getProfile = function(cb) {
+ storage.get('profile', function(getErr, getStr) {
+ if (getErr) {
+ cb(getErr, null);
+ return;
+ }
- root.setFeedbackInfo = function(feedbackValues, cb) {
- storage.set('feedback', feedbackValues, cb);
- };
-
- root.getFeedbackInfo = function(cb) {
- storage.get('feedback', cb);
+ if (!getStr) {
+ cb(null, null);
+ return;
+ }
+
+ var profile = Profile.fromString(getStr);
+ cb(null, profile);
+ });
};
root.storeFocusedWalletId = function(id, cb) {
diff --git a/src/js/services/storageService.spec.js b/src/js/services/storageService.spec.js
new file mode 100644
index 000000000..493678b97
--- /dev/null
+++ b/src/js/services/storageService.spec.js
@@ -0,0 +1,1119 @@
+xdescribe('storageService on desktop', function(){
+ var appConfig,
+ expectedOldProfileSavedToSecure,
+ expectedOldProfileMergedWithSecure,
+ localStorageServiceMock,
+ log,
+ oldProfile,
+ platformInfoStub,
+ savedSecureProfile,
+ secureStorageService,
+ secureStorageServiceMock,
+ storageService;
+
+ expectedOldProfileMergedWithSecure = '{"version":"1.0.0","appVersion":"4.11.0","createdOn":1528363260283,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"81f52508c14d50cdde2ad527920f209cbf51162b0dbaa7ceac298ed6d34d1ff8","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"9580929b-417d-4fce-bcbf-de8e16a51c25","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"54dd6773fec23b07eff5cda33fd0ad2591de31db356c67cd3e5dc67211d7c8ac","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"PptIrH74qd63DPMC1LQ/dQ==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"6f3c19e90d6eb9096a57199d53494fd6d62852ffaaa62fb5a5baef9f65753ce1","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"ef78459e-52b1-418a-b89d-4df2ef1d27ea","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"2ac4835b2c883e095f4b187d712e53701781cb0d24e8813e736fd2d8a3219fec","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"WMcSMqfwZ+qfhP58S9l6OA==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"9580929b-417d-4fce-bcbf-de8e16a51c25":true,"ef78459e-52b1-418a-b89d-4df2ef1d27ea":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ expectedOldProfileSavedToSecure = '{"version":"1.0.0","appVersion":"${appVersion}","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ oldProfile = '{"version":"1.0.0","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ secureProfile = '{"version":"1.0.0","appVersion":"4.11.0","createdOn":1528363260283,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"81f52508c14d50cdde2ad527920f209cbf51162b0dbaa7ceac298ed6d34d1ff8","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"9580929b-417d-4fce-bcbf-de8e16a51c25","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"54dd6773fec23b07eff5cda33fd0ad2591de31db356c67cd3e5dc67211d7c8ac","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"PptIrH74qd63DPMC1LQ/dQ==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"6f3c19e90d6eb9096a57199d53494fd6d62852ffaaa62fb5a5baef9f65753ce1","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"ef78459e-52b1-418a-b89d-4df2ef1d27ea","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"2ac4835b2c883e095f4b187d712e53701781cb0d24e8813e736fd2d8a3219fec","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"WMcSMqfwZ+qfhP58S9l6OA==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"9580929b-417d-4fce-bcbf-de8e16a51c25":true,"ef78459e-52b1-418a-b89d-4df2ef1d27ea":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ secureProfileFromOldOnly = '{"version":"1.0.0","appVersion":"${appVersion}","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+
+ log = {
+ debug: function(s){ console.log(s); },
+ error: function(s){ console.log(s); },
+ info: function(s){ console.log(s); }
+ };
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('bwcModule');
+ module('copayApp.services');
+
+ localStorageServiceMock = {
+ get: jasmine.createSpy(),
+ remove: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ isCordova: false
+ };
+
+ secureStorageServiceMock = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ module(function($provide) {
+ $provide.value('localStorageService', localStorageServiceMock);
+ //$provide.value('$log', log); // Handy for debugging test failures
+ $provide.value('platformInfo', platformInfoStub);
+ $provide.value('secureStorageService', secureStorageServiceMock);
+ });
+
+ inject(function($injector){
+ appConfig = $injector.get('appConfigService');
+ storageService = $injector.get('storageService');
+ });
+
+ secureProfileFromOldOnly = secureProfileFromOldOnly.replace('${appVersion}', appConfig.version);
+ expectedOldProfileSavedToSecure = expectedOldProfileSavedToSecure.replace('${appVersion}', appConfig.version);
+
+ });
+
+ it('getProfile() from local storage.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, keyLocalRemove, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ localStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyLocalRemove = k;
+ cb(null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyLocalRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+ expect(localStorageServiceMock.remove.calls.any()).toBe(true);
+
+ expect(profile.appVersion).toBe(appConfig.version);
+ expect(profile.createdOn).toBe(1528363022385);
+
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[0].walletId).toBe('a8ea9291-1369-4862-90a1-d80a5d4bcc20');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[1].walletId).toBe('f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b');
+ });
+
+ it('getProfile() from local storage, remove fails.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, keyLocalRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ localStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyLocalRemove = k;
+ cb(new Error('Remove error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Remove error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyLocalRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+ });
+
+ it('getProfile() from local storage, secure set fails, not removed.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(new Error('Set error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Set error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile(), secure get fails.', function() {
+ var error, keySecureGet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(new Error('Secure get error.'), null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Secure get error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile(), secure get succeeds, local storage get fails.', function() {
+ var error, keySecureGet, keyLocalGet, profile, profile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(new Error('Local storage get error.'), null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Local storage get error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile() from secure storage.', function() {
+ var error, keySecureGet, keyLocalGet, profile, profile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+
+ expect(profile.appVersion).toBe('4.11.0');
+ expect(profile.createdOn).toBe(1528363260283);
+
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[0].walletId).toBe('9580929b-417d-4fce-bcbf-de8e16a51c25');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[1].walletId).toBe('ef78459e-52b1-418a-b89d-4df2ef1d27ea');
+ });
+
+ it('getProfile() merge from local and secure storage.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, keyLocalRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ localStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyLocalRemove = k;
+ cb(null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyLocalRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+
+ expect(profile.appVersion).toBe('4.11.0');
+ expect(profile.createdOn).toBe(1528363260283);
+
+ // Existing secure
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[0].walletId).toBe('9580929b-417d-4fce-bcbf-de8e16a51c25');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[1].walletId).toBe('ef78459e-52b1-418a-b89d-4df2ef1d27ea');
+
+ // Old
+ expect(profile.credentials[2].coin).toBe('bch');
+ expect(profile.credentials[2].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[2].walletId).toBe('a8ea9291-1369-4862-90a1-d80a5d4bcc20');
+
+ expect(profile.credentials[3].coin).toBe('btc');
+ expect(profile.credentials[3].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[3].walletId).toBe('f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b');
+
+ });
+
+ it('getProfile() merge from local and secure storage, secure set fails, not removed from local.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(new Error('Secure set error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Secure set error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile() merge from local and secure storage, remove from local fails.', function() {
+ var error, keySecureGet, keyLocalGet, keySecureSet, keyLocalRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k
+ savedProfile = v;
+ cb(null);
+ });
+
+ localStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyLocalRemove = k;
+ cb(new Error('Remove error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Remove error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyLocalGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyLocalRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+ });
+
+
+
+
+});
+
+describe('storageService on desktop using local storage', function(){
+ var appConfig,
+ localStorageServiceMock,
+ log,
+ oldProfile,
+ oldProfileString,
+ platformInfoStub,
+ secureStorageService,
+ secureStorageServiceMock,
+ storageService;
+
+ oldProfileString = '{"version":"1.0.0","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ oldProfile = Profile.fromString(oldProfileString);
+
+ log = {
+ debug: function(s){ console.log(s); },
+ error: function(s){ console.log(s); },
+ info: function(s){ console.log(s); }
+ };
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('bwcModule');
+ module('copayApp.services');
+
+ localStorageServiceMock = {
+ get: jasmine.createSpy(),
+ remove: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ isNW: true
+ };
+
+ secureStorageServiceMock = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ module(function($provide) {
+ $provide.value('localStorageService', localStorageServiceMock);
+ //$provide.value('$log', log); // Handy for debugging test failures
+ $provide.value('platformInfo', platformInfoStub);
+ $provide.value('secureStorageService', secureStorageServiceMock);
+ });
+
+ inject(function($injector){
+ appConfig = $injector.get('appConfigService');
+ storageService = $injector.get('storageService');
+ });
+ });
+
+ it('getProfile().', function() {
+ var error, keyLocalGet, profile;
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(null, oldProfileString);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keyLocalGet).toBe('profile');
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ expect(secureStorageServiceMock.get.calls.any()).toBe(false);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+
+ expect(profile.appVersion).toBeUndefined();
+ expect(profile.createdOn).toBe(1528363022385);
+
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[0].walletId).toBe('a8ea9291-1369-4862-90a1-d80a5d4bcc20');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[1].walletId).toBe('f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b');
+ });
+
+ it('getProfile(), get fails.', function() {
+ var error, keyLocalGet, profile;
+
+ localStorageServiceMock.get.and.callFake(function(k, cb){
+ keyLocalGet = k;
+ cb(new Error('Local get error.'), null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Local get error.');
+ expect(profile).toBeFalsy();
+
+ expect(keyLocalGet).toBe('profile');
+
+ expect(localStorageServiceMock.remove.calls.any()).toBe(false);
+ expect(secureStorageServiceMock.get.calls.any()).toBe(false);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeNewProfile() to local storage.', function() {
+ var error, keyLocalSet, savedProfileString;
+
+ localStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keyLocalSet = k;
+ savedProfileString = v;
+ cb(null);
+ });
+
+ storageService.storeNewProfile(oldProfile, function(err){
+ error = err;
+ });
+
+ expect(error).toBeFalsy();
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keyLocalSet).toBe('profile');
+
+ expect(savedProfileString).toBe(oldProfileString);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeNewProfile() to local storage, set fails.', function() {
+ var error, keyLocalSet, savedProfileString;
+
+ localStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keyLocalSet = k;
+ savedProfileString = v;
+ cb(new Error('Local set failed.'));
+ });
+
+ storageService.storeNewProfile(oldProfile, function(err){
+ error = err;
+ });
+
+ expect(error.message).toBe('Local set failed.');
+ expect(savedProfileString).toBe(oldProfileString);
+
+ expect(keyLocalSet).toBe('profile');
+
+ expect(savedProfileString).toBe(oldProfileString);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeProfile() to local storage.', function() {
+ var error, keyLocalSet, savedProfileString;
+
+ localStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keyLocalSet = k;
+ savedProfileString = v;
+ cb(null);
+ });
+
+ storageService.storeProfile(oldProfile, function(err){
+ error = err;
+ });
+
+ expect(error).toBeFalsy();
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keyLocalSet).toBe('profile');
+
+ expect(savedProfileString).toBe(oldProfileString);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeProfile() to local storage, set fails.', function() {
+ var error, keyLocalSet, savedProfileString;
+
+ localStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keyLocalSet = k;
+ savedProfileString = v;
+ cb(new Error('Local set failed.'));
+ });
+
+ storageService.storeProfile(oldProfile, function(err){
+ error = err;
+ });
+
+ expect(error.message).toBe('Local set failed.');
+ expect(savedProfileString).toBe(oldProfileString);
+
+ expect(keyLocalSet).toBe('profile');
+
+ expect(savedProfileString).toBe(oldProfileString);
+ expect(secureStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+});
+
+describe('storageService on mobile', function(){
+ var appConfig,
+ expectedOldProfileSavedToSecure,
+ expectedOldProfileMergedWithSecure,
+ fileStorageServiceMock,
+ log,
+ oldProfile,
+ platformInfoStub,
+ savedSecureProfile,
+ secureProfileObj,
+ secureStorageService,
+ secureStorageServiceMock,
+ storageService;
+
+ expectedOldProfileMergedWithSecure = '{"version":"1.0.0","appVersion":"4.11.0","createdOn":1528363260283,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"81f52508c14d50cdde2ad527920f209cbf51162b0dbaa7ceac298ed6d34d1ff8","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"9580929b-417d-4fce-bcbf-de8e16a51c25","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"54dd6773fec23b07eff5cda33fd0ad2591de31db356c67cd3e5dc67211d7c8ac","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"PptIrH74qd63DPMC1LQ/dQ==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"6f3c19e90d6eb9096a57199d53494fd6d62852ffaaa62fb5a5baef9f65753ce1","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"ef78459e-52b1-418a-b89d-4df2ef1d27ea","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"2ac4835b2c883e095f4b187d712e53701781cb0d24e8813e736fd2d8a3219fec","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"WMcSMqfwZ+qfhP58S9l6OA==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"9580929b-417d-4fce-bcbf-de8e16a51c25":true,"ef78459e-52b1-418a-b89d-4df2ef1d27ea":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ expectedOldProfileSavedToSecure = '{"version":"1.0.0","appVersion":"${appVersion}","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ oldProfile = '{"version":"1.0.0","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ secureProfile = '{"version":"1.0.0","appVersion":"4.11.0","createdOn":1528363260283,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"81f52508c14d50cdde2ad527920f209cbf51162b0dbaa7ceac298ed6d34d1ff8","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"9580929b-417d-4fce-bcbf-de8e16a51c25","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"54dd6773fec23b07eff5cda33fd0ad2591de31db356c67cd3e5dc67211d7c8ac","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"PptIrH74qd63DPMC1LQ/dQ==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K4Mge6QumKYh1aSYLB26z6QhkDz8tJLuXdumCJy9PYBrHMrTW3boiaodkVNTciR7PcPAcLXZeUWSehMJc3GXJp1uR68x3Nh5","xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPrivKey":"8fde6c8da5cf59cc0b19e87ea102aef2799047b9062f3e08668a92ef4582e040","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2","copayerId":"6f3c19e90d6eb9096a57199d53494fd6d62852ffaaa62fb5a5baef9f65753ce1","publicKeyRing":[{"xPubKey":"xpub6CGZNmTZ9KmHyxgbqZhfcJKwhrgN5EfHh2P7YppRXPGvUg6QkAuErmaQQa3cjyS9NMuFnvxm1eNUcbUEuiVikzUmZmVrtVcU7uvjWUNrRTG","requestPubKey":"0366db5dd83550ebefa8946d770e68ea8bb0e197076713bb681fb80d6fbc4278b2"}],"walletId":"ef78459e-52b1-418a-b89d-4df2ef1d27ea","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"2ac4835b2c883e095f4b187d712e53701781cb0d24e8813e736fd2d8a3219fec","personalEncryptingKey":"r5Tpd+/YD6uGXKZeeqZBPg==","sharedEncryptingKey":"WMcSMqfwZ+qfhP58S9l6OA==","copayerName":"me","mnemonic":"forget camera antique cement army ahead quantum leisure claim behind climb eight","entropySource":"fc2357f9d0176aa3a571bdfdea9e12cd16c27019e87b80ab0f08ddf15101d532","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"9580929b-417d-4fce-bcbf-de8e16a51c25":true,"ef78459e-52b1-418a-b89d-4df2ef1d27ea":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ secureProfileFromOldOnly = '{"version":"1.0.0","appVersion":"${appVersion}","createdOn":1528363022385,"credentials":[{"coin":"bch","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"cc5667792d8378ad61dc30a65bafea3d03d9179c5615d9f183738b002d978659","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"a8ea9291-1369-4862-90a1-d80a5d4bcc20","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"8437d2824b17f31d548fc2855577e9092ac5a7f9c985e5329acab34a8e786fb8","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"ZhMBX+t9/0n2kCasR5KH0w==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"},{"coin":"btc","network":"livenet","xPrivKey":"xprv9s21ZrQH143K2vd69iX1D5R2Acdjx6hzsSncBqnTri7UUad3SxSxFGukcjCUBKfWtZx3KGVjSd94ypEz4gB5RzATenxCEVPPZsgVJpoXkRq","xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPrivKey":"c1cac5328bf71c0f73f64ef868ddea66356ba797f87af4939390d58a7ff1aeda","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d","copayerId":"8430d4ca7a324ce0176e782c2d48f333666bd8f9b66fdd432a7f1ad1c80341ec","publicKeyRing":[{"xPubKey":"xpub6CZLbRhS7jEN2UT3ZhGeia6jPxr4guckZDa7ogncrrES2GyMj7Pq5U4oYLV2FhAMuuYA8qzxWV3TDXXDSkGTaqHstjRANCgCjrMDA1r7AN8","requestPubKey":"02b41c465aaf8f41192f2444a07c6e64d6147a080c5b82a6e73b3b232f11e1575d"}],"walletId":"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b","walletName":"Personal Wallet","m":1,"n":1,"walletPrivKey":"30df9228ff38258afe363a29cb02bff6d76f9f66ed36250de493717f4c941cc1","personalEncryptingKey":"qZmFZypS3TufwM5+WzvNJw==","sharedEncryptingKey":"2wQyQJGV3vyRPE/uil9ZRA==","copayerName":"me","mnemonic":"morning conduct milk catch victory smoke ship little dutch original legal gadget","entropySource":"3f88849ae9522574a2aaab870594b25a4e90b9dc632724ef3675fc3c49aa93b9","mnemonicHasPassphrase":false,"derivationStrategy":"BIP44","account":0,"compliantDerivation":true,"addressType":"P2PKH"}],"disclaimerAccepted":true,"checked":{"a8ea9291-1369-4862-90a1-d80a5d4bcc20":true,"f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b":true},"checkedUA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"}';
+ secureProfileObj = Profile.fromString(secureProfile);
+
+ log = {
+ debug: function(s){ console.log(s); },
+ error: function(s){ console.log(s); },
+ info: function(s){ console.log(s); }
+ };
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('bwcModule');
+ module('copayApp.services');
+
+ fileStorageServiceMock = {
+ get: jasmine.createSpy(),
+ remove: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ platformInfoStub = {
+ isCordova: true,
+ isWP: false
+ };
+
+ secureStorageServiceMock = {
+ get: jasmine.createSpy(),
+ set: jasmine.createSpy()
+ };
+
+ module(function($provide) {
+ $provide.value('fileStorageService', fileStorageServiceMock);
+ $provide.value('platformInfo', platformInfoStub);
+ $provide.value('secureStorageService', secureStorageServiceMock);
+ });
+
+ inject(function($injector){
+ appConfig = $injector.get('appConfigService');
+ storageService = $injector.get('storageService');
+ });
+
+ secureProfileFromOldOnly = secureProfileFromOldOnly.replace('${appVersion}', appConfig.version);
+ expectedOldProfileSavedToSecure = expectedOldProfileSavedToSecure.replace('${appVersion}', appConfig.version);
+
+ });
+
+ it('getProfile() from file storage.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, keyFileRemove, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ fileStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyFileRemove = k;
+ cb(null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyFileRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+ expect(fileStorageServiceMock.remove.calls.any()).toBe(true);
+
+ expect(profile.appVersion).toBe(appConfig.version);
+ expect(profile.createdOn).toBe(1528363022385);
+
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[0].walletId).toBe('a8ea9291-1369-4862-90a1-d80a5d4bcc20');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[1].walletId).toBe('f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b');
+ });
+
+ it('getProfile() from file storage, remove fails.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, keyFileRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ fileStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyFileRemove = k;
+ cb(new Error('Remove error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Remove error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyFileRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+ });
+
+ it('getProfile() from file storage, secure set fails, not removed.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, null);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(new Error('Set error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Set error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileSavedToSecure);
+
+ expect(fileStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile(), secure get fails.', function() {
+ var error, keySecureGet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(new Error('Secure get error.'), null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Secure get error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+
+ expect(fileStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile(), secure get succeeds, file storage get fails.', function() {
+ var error, keySecureGet, keyFileGet, profile, profile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(new Error('File storage get error.'), null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('File storage get error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+
+ expect(fileStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile() from secure storage.', function() {
+ var error, keySecureGet, keyFileGet, profile, profile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+
+ expect(profile.appVersion).toBe('4.11.0');
+ expect(profile.createdOn).toBe(1528363260283);
+
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[0].walletId).toBe('9580929b-417d-4fce-bcbf-de8e16a51c25');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[1].walletId).toBe('ef78459e-52b1-418a-b89d-4df2ef1d27ea');
+ });
+
+ it('getProfile() merge from local and secure storage.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, keyFileRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(null);
+ });
+
+ fileStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyFileRemove = k;
+ cb(null);
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error).toBeFalsy();
+ expect(profile).toBeTruthy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyFileRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+
+ expect(profile.appVersion).toBe('4.11.0');
+ expect(profile.createdOn).toBe(1528363260283);
+
+ // Existing secure
+ expect(profile.credentials[0].coin).toBe('bch');
+ expect(profile.credentials[0].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[0].walletId).toBe('9580929b-417d-4fce-bcbf-de8e16a51c25');
+
+ expect(profile.credentials[1].coin).toBe('btc');
+ expect(profile.credentials[1].mnemonic).toBe('forget camera antique cement army ahead quantum leisure claim behind climb eight');
+ expect(profile.credentials[1].walletId).toBe('ef78459e-52b1-418a-b89d-4df2ef1d27ea');
+
+ // Old
+ expect(profile.credentials[2].coin).toBe('bch');
+ expect(profile.credentials[2].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[2].walletId).toBe('a8ea9291-1369-4862-90a1-d80a5d4bcc20');
+
+ expect(profile.credentials[3].coin).toBe('btc');
+ expect(profile.credentials[3].mnemonic).toBe('morning conduct milk catch victory smoke ship little dutch original legal gadget');
+ expect(profile.credentials[3].walletId).toBe('f4ff4629-ff53-4bc7-8c98-e7c8e0149d3b');
+
+ });
+
+ it('getProfile() merge from local and secure storage, secure set fails, not removed from local.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfile = v;
+ cb(new Error('Secure set error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Secure set error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+
+ expect(fileStorageServiceMock.remove.calls.any()).toBe(false);
+ });
+
+ it('getProfile() merge from local and secure storage, remove from local fails.', function() {
+ var error, keySecureGet, keyFileGet, keySecureSet, keyFileRemove, profile, profile, savedProfile;
+
+ secureStorageServiceMock.get.and.callFake(function(k, cb){
+ keySecureGet = k;
+ cb(null, secureProfile);
+ });
+
+ fileStorageServiceMock.get.and.callFake(function(k, cb){
+ keyFileGet = k;
+ cb(null, oldProfile);
+ });
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k
+ savedProfile = v;
+ cb(null);
+ });
+
+ fileStorageServiceMock.remove.and.callFake(function(k, cb){
+ keyFileRemove = k;
+ cb(new Error('Remove error.'));
+ });
+
+ storageService.getProfile(function(err, p){
+ error = err;
+ profile = p;
+ });
+
+ expect(error.message).toBe('Remove error.');
+ expect(profile).toBeFalsy();
+
+ expect(keySecureGet).toBe('profile');
+ expect(keyFileGet).toBe('profile');
+ expect(keySecureSet).toBe('profile');
+ expect(keyFileRemove).toBe('profile');
+
+ expect(savedProfile).toBe(expectedOldProfileMergedWithSecure);
+ });
+
+ it('storeNewProfile().', function() {
+ var error, keySecureSet, savedProfileString;
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfileString = v;
+ cb(null);
+ });
+
+ storageService.storeNewProfile(secureProfileObj, function(err){
+ error = err;
+ });
+
+ expect(error).toBeFalsy();
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfileString).toBe(secureProfile);
+ expect(fileStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeNewProfile(), secure set fails.', function() {
+ var error, keySecureSet, savedProfileString;
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfileString = v;
+ cb(new Error('Secure set failed.'));
+ });
+
+ storageService.storeNewProfile(secureProfileObj, function(err){
+ error = err;
+ });
+
+ expect(error.message).toBe('Secure set failed.');
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfileString).toBe(secureProfile);
+ expect(fileStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeProfile().', function() {
+ var error, keySecureSet, savedProfileString;
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfileString = v;
+ cb(null);
+ });
+
+ storageService.storeProfile(secureProfileObj, function(err){
+ error = err;
+ });
+
+ expect(error).toBeFalsy();
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfileString).toBe(secureProfile);
+ expect(fileStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+ it('storeProfile(), secure set fails.', function() {
+ var error, keySecureSet, savedProfileString;
+
+ secureStorageServiceMock.set.and.callFake(function(k, v, cb){
+ keySecureSet = k;
+ savedProfileString = v;
+ cb(new Error('Secure set failed.'));
+ });
+
+ storageService.storeProfile(secureProfileObj, function(err){
+ error = err;
+ });
+
+ expect(error.message).toBe('Secure set failed.');
+ expect(savedProfileString).toBeTruthy();
+
+ expect(keySecureSet).toBe('profile');
+
+ expect(savedProfileString).toBe(secureProfile);
+ expect(fileStorageServiceMock.set.calls.any()).toBe(false);
+ });
+
+});
\ No newline at end of file
diff --git a/src/js/services/txFormatService.js b/src/js/services/txFormatService.js
index 5817c1a27..ebcb3886a 100644
--- a/src/js/services/txFormatService.js
+++ b/src/js/services/txFormatService.js
@@ -72,11 +72,19 @@ angular.module('copayApp.services').factory('txFormatService', function($filter,
var config = configService.getSync().wallet.settings;
var val = function() {
- var v1 = parseFloat((rateService.toFiat(satoshis, config.alternativeIsoCode, coin)).toFixed(2));
- v1 = $filter('formatFiatAmount')(v1);
+ var fiatAmount = rateService.toFiat(satoshis, config.alternativeIsoCode, coin);
+ var roundedStr = fiatAmount.toFixed(2);
+ var roundedNum = parseFloat(roundedStr);
+ var subcent = roundedNum === 0 && fiatAmount > 0;
+ var lessThanPrefix = '';
+ if (subcent) {
+ roundedNum = 0.01;
+ lessThanPrefix = '< ';
+ }
+ var v1 = $filter('formatFiatAmount')(roundedNum);
if (!v1) return null;
- return v1 + ' ' + config.alternativeIsoCode;
+ return lessThanPrefix + v1 + ' ' + config.alternativeIsoCode;
};
// Async version
diff --git a/src/js/services/txFormatService.spec.js b/src/js/services/txFormatService.spec.js
new file mode 100644
index 000000000..c67e86f21
--- /dev/null
+++ b/src/js/services/txFormatService.spec.js
@@ -0,0 +1,68 @@
+describe('txFormatService', function(){
+ var configServiceMock,
+ rateServiceMock,
+ txFormatService;
+
+ beforeEach(function(){
+ module('ngLodash');
+ module('bwcModule');
+ module('copayApp.filters');
+ module('copayApp.services');
+
+ configServiceMock = {
+ getSync: jasmine.createSpy()
+ };
+
+ rateServiceMock = {
+ isAvailable: jasmine.createSpy(),
+ toFiat: jasmine.createSpy()
+ };
+
+ module(function($provide) {
+ $provide.value('configService', configServiceMock);
+ $provide.value('rateService', rateServiceMock);
+ });
+
+ inject(function($injector){
+ txFormatService = $injector.get('txFormatService');
+ });
+
+ });
+
+ it('formatAlternativeStr 0.49 cents.', function() {
+
+ configServiceMock.getSync.and.returnValue({
+ wallet: {
+ settings: {
+ alternativeIsoCode: 'USD'
+ }
+ }
+ });
+
+ rateServiceMock.isAvailable.and.returnValue(true);
+ rateServiceMock.toFiat.and.returnValue(0.00499);
+
+ var formatted = txFormatService.formatAlternativeStr('bch', 123);
+
+ expect(formatted).toBe('< 0.01 USD');
+ });
+
+ it('formatAlternativeStr 0.5 cents.', function() {
+
+ configServiceMock.getSync.and.returnValue({
+ wallet: {
+ settings: {
+ alternativeIsoCode: 'USD'
+ }
+ }
+ });
+
+ rateServiceMock.isAvailable.and.returnValue(true);
+ rateServiceMock.toFiat.and.returnValue(0.005);
+
+ var formatted = txFormatService.formatAlternativeStr('bch', 123);
+
+ expect(formatted).toBe('0.01 USD');
+ });
+
+});
\ No newline at end of file
diff --git a/src/js/services/uxLanguage.js b/src/js/services/uxLanguage.js
index 63c3afbb6..1fa446f01 100644
--- a/src/js/services/uxLanguage.js
+++ b/src/js/services/uxLanguage.js
@@ -10,6 +10,10 @@ angular.module('copayApp.services')
isoCode: 'en',
rateCode: 'USD'
}, {
+ name: 'català',
+ isoCode: 'ca',
+ rateCode: 'EUR'
+ },{
name: 'Čeština',
isoCode: 'cs',
rateCode: 'EUR'
@@ -55,6 +59,10 @@ angular.module('copayApp.services')
name: 'Português',
isoCode: 'pt',
rateCode: 'EUR'
+ }, {
+ name: 'русский язык',
+ isoCode: 'ru',
+ rateCode: 'RUB'
}, {
name: '한국어',
isoCode: 'ko',
diff --git a/src/js/services/walletService.js b/src/js/services/walletService.js
index 774fa0906..cb04ffbe3 100644
--- a/src/js/services/walletService.js
+++ b/src/js/services/walletService.js
@@ -343,21 +343,19 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
if (err) return cb(err);
if (!txsFromServer.length)
- return cb();
+ return cb(null, []);
- var res = lodash.takeWhile(txsFromServer, function(tx) {
- return tx.txid != endingTxid;
- });
-
- return cb(null, res, res.length >= limit);
+ return cb(null, txsFromServer);
});
};
var removeAndMarkSoftConfirmedTx = function(txs) {
return lodash.filter(txs, function(tx) {
- if (tx.confirmations >= root.SOFT_CONFIRMATION_LIMIT)
- return tx;
- tx.recent = true;
+ var isConfirm = (tx.confirmations >= root.SOFT_CONFIRMATION_LIMIT);
+ if (!isConfirm) {
+ tx.recent = true;
+ }
+ return isConfirm;
});
}
@@ -437,12 +435,14 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
var endingTxid = confirmedTxs[0] ? confirmedTxs[0].txid : null;
var endingTs = confirmedTxs[0] ? confirmedTxs[0].time : null;
+ $log.debug('Confirmed TXs. Got:' + confirmedTxs.length + '/' + txsFromLocal.length);
+
// First update
progressFn(txsFromLocal, 0);
wallet.completeHistory = txsFromLocal;
function getNewTxs(newTxs, skip, next) {
- getTxsFromServer(wallet, skip, endingTxid, requestLimit, function(err, res, shouldContinue) {
+ getTxsFromServer(wallet, skip, endingTxid, requestLimit, function(err, res) {
if (err) {
$log.warn(bwcError.msg(err, 'Server Error')); //TODO
if (err instanceof errors.CONNECTION_ERROR || (err.message && err.message.match(/5../))) {
@@ -454,7 +454,22 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
return next(err);
}
- newTxs = newTxs.concat(processNewTxs(wallet, lodash.compact(res)));
+ // Check if new txs are founds, if yes, lets investigate in the 50 next
+ // To be sure we are not missing txs by sorting (maybe a new tx is after the "endingTxid"
+ var newDiscoveredTxs = res.filter(function (x) {
+ return confirmedTxs.filter(function (confX) {
+ return confX.txid == x.txid;
+ }).length == 0;
+ });
+
+ $log.debug('Discovering TXs. Got:' + newDiscoveredTxs.length);
+
+ var shouldContinue = newDiscoveredTxs.length > 0;
+
+ // If no new tx, no need to check
+ if (shouldContinue) {
+ newTxs = newTxs.concat(processNewTxs(wallet, lodash.compact(newDiscoveredTxs)));
+ }
progressFn(newTxs.concat(txsFromLocal), newTxs.length);
diff --git a/src/sass/buttons.scss b/src/sass/buttons.scss
index 348d6d378..e343f8fd2 100644
--- a/src/sass/buttons.scss
+++ b/src/sass/buttons.scss
@@ -16,6 +16,8 @@
&.button-primary,
&.button-secondary,
&.button-light,
+ &.button-white,
+ &.button-green,
&.button-assertive {
&.button-standard {
@extend %button-standard;
@@ -33,6 +35,10 @@
}
}
+@mixin button-shadow() {
+ box-shadow: 0 2px 11px 0 #C1C1C1;;
+}
+
.button {
&.button-secondary {
@include button-style($v-button-secondary-bg, $v-button-secondary-border, $v-button-secondary-active-bg, $v-button-secondary-active-border, $v-button-secondary-color);
@@ -47,7 +53,25 @@
}
.button {
+ border-radius: 6px;
&.button-full {
+ border-radius: 0;
display: block;
}
+ &-green {
+ @include button-style(#719561, #FFF, #606060, #FFF, #FFF);
+ @include button-clear(#FFF);
+ @include button-outline(#C1C1C1);
+ border: 0px;
+ @include button-shadow();
+ }
+ &-white {
+ @include button-style(#FFF, #C1C1C1, #C1C1C1, #FFF, #606060);
+ @include button-clear(#FFF);
+ @include button-outline(#C1C1C1);
+ @include button-shadow();
+ &.activated {
+ color: #FFF;
+ }
+ }
}
\ No newline at end of file
diff --git a/src/sass/icons.scss b/src/sass/icons.scss
index 4693025f6..7d14f8886 100644
--- a/src/sass/icons.scss
+++ b/src/sass/icons.scss
@@ -40,7 +40,7 @@
border-radius: $v-icon-border-radius;
width: 40px;
height: 40px;
- box-shadow: $v-hovering-box-shadow;
+ box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.3);
background-repeat:no-repeat;
background-clip: padding-box;
background-size: 103%;
diff --git a/src/sass/main.scss b/src/sass/main.scss
index cb5e7118f..7b3e46291 100644
--- a/src/sass/main.scss
+++ b/src/sass/main.scss
@@ -5,6 +5,7 @@
@import "icons";
@import "buttons";
@import "forms";
+@import "qr";
@import "mixins/mixins";
@import "views/views";
@import "directives/directives";
diff --git a/src/sass/qr.scss b/src/sass/qr.scss
new file mode 100644
index 000000000..62fd12eb7
--- /dev/null
+++ b/src/sass/qr.scss
@@ -0,0 +1,21 @@
+qrcode {
+ position: relative;
+ &.qr-overlay {
+ &::before {
+ content: "";
+ background-size: 100% 100%;
+ display: block;
+ left: 88px;
+ margin-top: 88px;
+ width: 44px;
+ height: 44px;
+ position:absolute;
+ }
+ &--bch::before {
+ background-image: url('../img/qr-overlay-bch.png');
+ }
+ &--btc::before {
+ background-image: url('../img/qr-overlay-btc.png');
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/sass/variables.scss b/src/sass/variables.scss
index e5bd2712d..cb21c030a 100644
--- a/src/sass/variables.scss
+++ b/src/sass/variables.scss
@@ -33,8 +33,8 @@ $v-wallet-color-map: (
3: (color: #d0b136, name: 'Metallic Gold'),
4: (color: #9edd72, name: 'Feijoa'),
5: (color: #29bb9c, name: 'Shamrock'),
- 6: (color: #26B03C, name: 'Dollar Green'),
- 7: (color: #fab915, name: 'Observatory'),
+ 6: (color: #eeb640, name: 'Light Orange'),
+ 7: (color: #535353, name: 'Dark Grey'),
8: (color: #77dada, name: 'Turquoise Blue'),
9: (color: #4a90e2, name: 'Cornflower Blue'),
10: (color: #484ed3, name: 'Free Speech Blue'),
diff --git a/src/sass/views/address-book.scss b/src/sass/views/address-book.scss
index c0d0f99a8..8bbdbc6be 100644
--- a/src/sass/views/address-book.scss
+++ b/src/sass/views/address-book.scss
@@ -124,7 +124,6 @@
position: relative;
height: 70px;
border-color: $royal;
- background-color: $royal;
padding-top: 20px;
margin-bottom: 50px;
text-align: center;
diff --git a/src/sass/views/amount.scss b/src/sass/views/amount.scss
index 3000ea696..c712d85e5 100644
--- a/src/sass/views/amount.scss
+++ b/src/sass/views/amount.scss
@@ -474,4 +474,10 @@
}
}
}
+ background: #494949;
+
+ ion-content {
+ margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
+ margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
+ }
}
\ No newline at end of file
diff --git a/src/sass/views/confirm.scss b/src/sass/views/confirm.scss
index 9ceee92c4..47f61fd7b 100644
--- a/src/sass/views/confirm.scss
+++ b/src/sass/views/confirm.scss
@@ -1,5 +1,5 @@
#view-confirm {
- background-color: #ffffff;
+ background-color: #494949;
@extend .deflash-blue;
.item-note {
float: none;
@@ -30,4 +30,11 @@
.toggle {
cursor: pointer;
}
+ ion-content {
+ background-color: #ffffff;
+ }
+ slide-to-accept, slide-to-accept-success {
+ margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
+ margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
+ }
}
diff --git a/src/sass/views/feedback/rateApp.scss b/src/sass/views/feedback/rateApp.scss
deleted file mode 100644
index 8a4cd2b8e..000000000
--- a/src/sass/views/feedback/rateApp.scss
+++ /dev/null
@@ -1,38 +0,0 @@
-#rate-app {
- background-color: #ffffff;
- text-align: center;
- .skip-rating {
- color: $v-dark-gray;
- position: absolute;
- top: 5px;
- right: 10px;
- padding: 15px;
- }
- .icon-svg > img {
- width: 80px;
- height: 80px;
- margin-top: 15px;
- }
- .feedback-title {
- font-size: 20px;
- font-weight: bold;
- color: $v-dark-gray;
- margin: 80px 50px 10px;
- text-align: center;
- }
- .share-the-love-illustration {
- width: 5rem;
- margin: 1rem;
- }
- .subtitle {
- padding: 10px 30px 20px 40px;
- color: $v-mid-gray;
- }
- .rate-buttons {
- bottom: 0;
- width: 100%;
- position: absolute;
- background-color: $v-subtle-gray;
- padding: 30px 0 15px;
- }
-}
diff --git a/src/sass/views/feedback/rateCard.scss b/src/sass/views/feedback/rateCard.scss
deleted file mode 100644
index 9d57643d6..000000000
--- a/src/sass/views/feedback/rateCard.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-#rate-card {
- .item-heading {
- font-weight: 700;
- }
- .row {
- border: none;
- }
- .item-icon-right {
- margin: 0;
- }
- .feedback-flow-button {
- margin-bottom: 20px;
- }
- .icon-svg > img {
- height: 1.8rem;
- margin-bottom: 5px;
- }
-}
diff --git a/src/sass/views/feedback/send.scss b/src/sass/views/feedback/send.scss
deleted file mode 100644
index 807c4f8c5..000000000
--- a/src/sass/views/feedback/send.scss
+++ /dev/null
@@ -1,54 +0,0 @@
-#send-feedback {
- @extend .deflash-blue;
- background-color: #ffffff;
- .row {
- border: none;
- }
- .skip {
- color: rgba(255, 255, 255, 0.3);
- }
- .feedback-heading {
- padding-top: 20px
- }
- .feedback-title {
- padding-left: 10px;
- font-size: 20px;
- font-weight: bold;
- color: $v-dark-gray;
- }
- .rating {
- text-align: right;
- padding-right: 15px;
- }
- .comment {
- padding: 0 20px 20px;
- font-size: 1rem;
- line-height: 1.5em;
- font-weight: 300;
- color: $v-dark-gray;
- }
- .user-feedback {
- border-top: 1px solid $v-subtle-gray;
- border-bottom: 1px solid $v-subtle-gray;
- padding: 20px;
- width: 100%;
- margin-bottom: 20px;
- -webkit-appearance: none;
- }
- .send-feedback-star {
- height: 1rem;
- margin-left: 5px;
- }
- .form-fade-in {
- opacity: 0;
- animation-name: fadeIn;
- animation-duration: .5s;
- animation-fill-mode: forwards;
- animation-timing-function: ease-in;
- }
-}
-
-@keyframes fadeIn {
- from { opacity: 0; }
- to { opacity: 1; }
-}
diff --git a/src/sass/views/includes/clickToAccept.scss b/src/sass/views/includes/clickToAccept.scss
index a38455ac3..cbc7a2c75 100644
--- a/src/sass/views/includes/clickToAccept.scss
+++ b/src/sass/views/includes/clickToAccept.scss
@@ -8,6 +8,7 @@ click-to-accept {
.click-to-accept {
&__button.button.button-primary.button-standard {
+ border-radius: 0;
height: 100%;
max-width: 9999px;
width: 100%;
diff --git a/src/sass/views/includes/slideToAccept.scss b/src/sass/views/includes/slideToAccept.scss
index 75502c6a8..24775116d 100644
--- a/src/sass/views/includes/slideToAccept.scss
+++ b/src/sass/views/includes/slideToAccept.scss
@@ -13,6 +13,9 @@ slide-to-accept {
}
.slide {
+ .button {
+ border-radius: 0;
+ }
&__listener {
height: 100%;
width: 100%;
diff --git a/src/sass/views/includes/slideToAcceptSuccess.scss b/src/sass/views/includes/slideToAcceptSuccess.scss
index bf6c5e269..68312c7a4 100644
--- a/src/sass/views/includes/slideToAcceptSuccess.scss
+++ b/src/sass/views/includes/slideToAcceptSuccess.scss
@@ -86,6 +86,9 @@ slide-to-accept-success {
transition: transform $duration ease, opacity $duration ease;
transition-delay: 250ms;
+ margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
+ margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
+
&.reveal {
-webkit-transform: translateY(0);
transform: translateY(0);
diff --git a/src/sass/views/includes/txp-details.scss b/src/sass/views/includes/txp-details.scss
index c32faaacd..240ee444b 100644
--- a/src/sass/views/includes/txp-details.scss
+++ b/src/sass/views/includes/txp-details.scss
@@ -36,6 +36,11 @@
.amount-label{
line-height: 30px;
.amount{
+ font-size: 16px;
+ color: #9B9B9B;
+ font-family: "Roboto-Light";
+ }
+ .alternative {
font-size: 38px;
margin-bottom: .5rem;
@@ -43,11 +48,6 @@
font-family: "Roboto-Light";
}
}
- .alternative {
- font-size: 16px;
- font-family: "Roboto-Light";
- color: #9B9B9B;
- }
}
}
.item {
diff --git a/src/sass/views/includes/walletSelector.scss b/src/sass/views/includes/walletSelector.scss
index 20753c309..e987aaf9b 100644
--- a/src/sass/views/includes/walletSelector.scss
+++ b/src/sass/views/includes/walletSelector.scss
@@ -12,6 +12,11 @@ wallet-selector {
font-weight: bold;
padding-bottom: 10px;
border-bottom: 1px solid #EFEFEF;
+ .subtitle {
+ color: $v-mid-gray;
+ font-size: $font-size-small;
+ font-weight: 300;
+ }
.wallet-coin-logo {
vertical-align: middle;
margin-right: 5px;
diff --git a/src/sass/views/feedback/complete.scss b/src/sass/views/shareApp.scss
similarity index 86%
rename from src/sass/views/feedback/complete.scss
rename to src/sass/views/shareApp.scss
index bb2e75ea6..9a0ed0698 100644
--- a/src/sass/views/feedback/complete.scss
+++ b/src/sass/views/shareApp.scss
@@ -1,6 +1,6 @@
-#complete {
+#share-app {
background-color: #fff;
- .complete-layout {
+ .share-app-layout {
display: flex;
flex-direction: column;
height: 100%;
@@ -22,17 +22,6 @@
width: 5rem;
margin: 1rem;
}
- .send-feedback-illustration {
- height: 16rem;
- margin: 1rem;
- }
- .feedback-title {
- font-size: 20px;
- font-weight: bold;
- color: $v-dark-gray;
- margin: 20px 10px;
- text-align: center;
- }
.subtitle {
padding: 10px 30px 20px;
text-align: center;
diff --git a/src/sass/views/tab-home.scss b/src/sass/views/tab-home.scss
index 46fb15224..66a2f1d58 100644
--- a/src/sass/views/tab-home.scss
+++ b/src/sass/views/tab-home.scss
@@ -59,6 +59,9 @@
}
}
&-banner {
+ svg {
+ margin: 40px auto 40px;
+ }
padding: 0;
&__img {
width: 100%;
diff --git a/src/sass/views/tab-send.scss b/src/sass/views/tab-send.scss
index a969faedf..a4025156f 100644
--- a/src/sass/views/tab-send.scss
+++ b/src/sass/views/tab-send.scss
@@ -1,12 +1,28 @@
#tab-send {
@extend .deflash-blue;
+
+ &-header{
+ height: 300px;
+ width: 100%;
+ }
+ &-contacts {
+ height: calc(100vh - 300px - 50px - 44px); /* screen size - button container - bottom-tab-menu - header top */
+ &.ios {
+ height: calc(100vh - 300px - 50px - 44px - 18px); // Remove the notification-bar height on iOS
+ }
+ overflow: scroll;
+ }
+
.input {
+ width: 100%;
input {
width: 100%;
- height: auto;
- }
- &.item {
- height: 55px;
+ height: 57px;
+ background: #FFF;
+ border: 1px #D9D9D9 solid;
+ &::placeholder {
+ color: #DCDCDC;
+ }
}
i {
&.left {
@@ -19,45 +35,22 @@
}
}
}
- .qr-scan-icon {
- cursor: pointer;
- cursor: hand;
- border-left: 1px solid rgb(228, 228, 228);
- padding-left: 10px;
- }
- .qr-icon {
- line-height: 20px;
- }
- .zero-state-cta {
- padding-bottom: 3vh;
- left: 0;
- }
- .send-heading {
- font-size: 14px;
- font-weight: bold;
- padding: 0 0 16px 0;
- border: none;
- }
- .send-header-wrapper {
- padding: 10px;
- background-color: white;
- box-shadow: 0px 5px 10px 0px #cccccc;
- }
- .search-wrapper {
+
+ .send-wrapper {
+ &:after {
+ display: block;
+ position: relative;
+ height: 1px;
+ background: #DEDEDE;
+ bottom: 0;
+ content: '';
+ margin: 10px 6px 0px;
+ }
+ padding: 18px 9px 9px 9px;
background-color: #f2f2f2;
border-radius: 3px;
border: none;
- .svg#Bitcoin_Symbol {
- width: 14px;
- .st0 {
- fill: #cccccc;
- }
- }
&.focus {
- background: none;
- .svg#Bitcoin_Symbol {
- display: none;
- }
.search-input {
padding-left: 30px;
&:focus::-webkit-input-placeholder {
@@ -65,57 +58,88 @@
}
}
}
+ .buttons {
+ margin: auto;
+ margin-top: 18px;
+ .button {
+ &-clipboard-paste {
+ margin-left: 0;
+ .address {
+ display: none;
+ }
+ .icon {
+ background: url(../img/icon-clipboard-paste.svg);
+ width: 15px;
+ height: 19px;
+ display: inline-block;
+ margin-bottom: 4px;
+ }
+ &.contains-address, &.contains-content {
+ .address {
+ display: none;
+ }
+ background: #FAB915;
+ color: #FFF !important;
+ border: 0;
+ @include button-shadow();
+ .icon {
+ background: url(../img/icon-clipboard-paste-white.svg);
+ }
+ &.contains-address {
+ .address {
+ display: inline;
+ }
+ .non-address {
+ display: none;
+ }
+ }
+ }
+ }
+ span {
+ font-size: 14px;
+ }
+ img {
+ height: 16px;
+ width: auto;
+ margin: 2px 0 4px;
+ }
+ height: 60px;
+ line-height: 16px;
+ margin-right: 0px;
+ width: 95%;
+ max-width: none;
+ padding: 2px;
+ &-qr {
+ font-weight: bold;
+ max-width: none;
+ width: 100%;
+ height: 95px;
+ margin-top: 20px;
+ img {
+ vertical-align: middle;
+ margin-right: 12px;
+ width: 43px;
+ height: 43px;
+ }
+ span {
+ font-size: 19px;
+ }
+ }
+ }
+ }
}
- .abs-v-center {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- }
.search-input {
background-color: transparent;
padding-left: 30px;
}
- .separator-left {
- border-left: 1px solid #d9d9df;
- padding-left: 10px;
- height: 70%;
- }
- .bitcoin-address {
- border-top: none;
- padding-bottom: .5rem;
- @media(max-width: 480px) {
- input {
- font-size: 14px;
- }
- }
- .icon {
- line-height: 31px;
- padding-top: 2px;
- padding-bottom: 1px;
- }
- }
- .show-more {
- text-align: center;
- padding: 20px;
- font-size: 16px;
- color: #387ef5;
- font-weight: bold;
- }
.sendTip {
+ padding-top: 5vh;
text-align: center;
- & > .item-heading {
- margin-top: 10px;
- background: 0 none;
- }
- img {
- content: $v-tab-send-selected-icon;
- }
.item {
border-style: none;
}
& > .title {
font-size: 20px;
- font-weight: bold;
color: $v-dark-gray;
margin: 20px 10px;
}
@@ -123,34 +147,64 @@
font-size: 1rem;
line-height: 1.5em;
font-weight: 300;
- color: $v-dark-gray;
+ color: #6F6F70;
margin: 20px 1em 2.5em;
}
- .big-icon-svg{
- .bg.green{
+ .big-icon-svg {
+ .bg.green {
padding: 0 10px;
box-shadow: none;
}
}
+ .buttons {
+ margin-top: 18px;
+ .button {
+ font-weight: bold;
+ font-size: 19px;
+ }
+ }
+ .button-first-contact img {
+ height: 19px;
+ width: 19px;
+ margin-right: 6px;
+ vertical-align: sub;
+ }
+ }
+ .item-heading {
+ line-height: 16px;
+ font-size: 14px;
+ font-weight: bold;
+ .subtitle {
+ color: #B5B2B2;
+ font-size: 12px;
+ font-weight: 300;
+ }
}
.list {
.item {
+ font-weight: 600;
+ p {
+ font-weight: normal;
+ }
+ &.item-icon-left {
+ padding-left: 64px;
+ }
color: #444;
- border-top: none;
- padding-top: 1.5rem;
- padding-bottom: 1.5rem;
+ //border-top: none;
+ padding-top: 0.6rem;
+ padding-bottom: 0.6rem;;
.big-icon-svg {
- left:5px;
- & > .bg{
- width:30px;
- height:30px;
- box-shadow: none;
- }
+ left: 5px;
+ & > .bg {
+ width: 30px;
+ height: 30px;
+ box-shadow: none;
+ }
}
&:before {
display: block;
position: absolute;
- width: 80%;
+ width: 100%;
height: 1px;
background: rgba(221, 221, 221, 0.3);
top: 0;
@@ -163,7 +217,7 @@
&.item-heading {
&:before {
top: 99%;
- width:100%;
+ width: 100%;
}
}
&:nth-child(2) {
@@ -176,5 +230,40 @@
}
}
}
- .scroll{height: 100%;}
+ .scroll {
+ height: 100%;
+ }
+
+ .card.contacts {
+ margin: 4px 4px 16px 4px;
+
+ border-radius: 6px;
+ box-shadow: 0px 2px 1px 0 #C1C1C1;
+ .gravatar {
+ border-radius: 30px;
+ height: 40px;
+ width: 40px;
+ }
+ }
+
+
+ ///* iPhone 5/SE and other small screen devices */
+ @media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
+ .send-wrapper .buttons .button-qr {
+ height: 60px;
+ span {
+ font-size: 16px;
+ }
+ }
+ #tab-send-header {
+ height: 270px;
+ }
+ #tab-send-contacts {
+ height: calc(100vh - 270px - 50px - 44px); /* screen size - button container - bottom-tab-menu - header top */
+ &.ios {
+ height: calc(100vh - 270px - 50px - 44px - 18px); // Remove the notification-bar height on iOS
+ }
+ }
+ }
+
}
diff --git a/src/sass/views/tabs.scss b/src/sass/views/tabs.scss
index b9a1cd724..b3c1a8dfb 100644
--- a/src/sass/views/tabs.scss
+++ b/src/sass/views/tabs.scss
@@ -43,6 +43,11 @@
.icon {
color: $v-mid-gray;
}
+ .subtitle {
+ color: $v-mid-gray;
+ font-size: $font-size-small;
+ font-weight: 300;
+ }
}
}
-}
+}
\ No newline at end of file
diff --git a/src/sass/views/views.scss b/src/sass/views/views.scss
index 37754970f..d4ed735ed 100644
--- a/src/sass/views/views.scss
+++ b/src/sass/views/views.scss
@@ -22,10 +22,7 @@
@import "wallet-backup-phrase";
@import "zero-state";
@import "onboarding/onboarding";
-@import "feedback/rateCard";
-@import "feedback/send";
-@import "feedback/complete";
-@import "feedback/rateApp";
+@import "shareApp";
@import "includes/actionSheet";
@import "export";
@import "import";
diff --git a/src/sass/views/walletDetails.scss b/src/sass/views/walletDetails.scss
index 1a33de7b1..9e651f871 100644
--- a/src/sass/views/walletDetails.scss
+++ b/src/sass/views/walletDetails.scss
@@ -131,6 +131,7 @@
.bp-content {
position: relative;
height: 100%;
+ height: calc(100% - env(safe-area-inset-bottom) * 2);
&.status-bar {
margin-top: 20px;
@@ -157,6 +158,8 @@
padding-top: 0;
top: 0;
+ margin-bottom: 16px;
+
.scroll {
background: rgb(248, 248, 249);
min-height: 300px;
diff --git a/src/shim/shim.js b/src/shim/shim.js
new file mode 100644
index 000000000..495848f05
--- /dev/null
+++ b/src/shim/shim.js
@@ -0,0 +1,11 @@
+//---------------------------------------------------------------------
+//
+// Add components what are missing in old JavaScript Engine
+//
+//---------------------------------------------------------------------
+
+if (!ArrayBuffer['isView']) {
+ ArrayBuffer.isView = function(a) {
+ return a !== null && typeof(a) === "object" && a['buffer'] instanceof ArrayBuffer;
+ };
+}
\ No newline at end of file
diff --git a/test/karma.conf.js b/test/karma.conf.js
new file mode 100644
index 000000000..002d40c91
--- /dev/null
+++ b/test/karma.conf.js
@@ -0,0 +1,91 @@
+// Karma configuration
+// Generated on Tue Jun 05 2018 16:39:51 GMT+1200 (NZST)
+
+module.exports = function(config) {
+ config.set({
+
+ // base path that will be used to resolve all patterns (eg. files, exclude)
+ basePath: '..',
+
+
+ // frameworks to use
+ // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
+ frameworks: ['jasmine'],
+
+
+ // list of files / patterns to load in the browser
+ files: [
+ 'node_modules/angular/angular.js',
+
+ // From Gruntfile.js
+ 'bower_components/qrcode-generator/js/qrcode.js',
+ 'bower_components/qrcode-generator/js/qrcode_UTF8.js',
+ 'bower_components/moment/min/moment-with-locales.js',
+ 'bower_components/angular-moment/angular-moment.js',
+ 'bower_components/ng-lodash/build/ng-lodash.js',
+ 'bower_components/angular-qrcode/angular-qrcode.js',
+ 'bower_components/angular-gettext/dist/angular-gettext.js',
+ 'bower_components/ng-csv/build/ng-csv.js',
+ 'bower_components/ionic-toast/dist/ionic-toast.bundle.min.js',
+ 'bower_components/angular-clipboard/angular-clipboard.js',
+ 'bower_components/angular-md5/angular-md5.js',
+ 'bower_components/angular-mocks/angular-mocks.js',
+ 'bower_components/ngtouch/src/ngTouch.js',
+ 'angular-bitauth/angular-bitauth.js',
+ 'angular-bitcore-wallet-client/angular-bitcore-wallet-client.js',
+
+ 'bower_components/ionic/release/js/ionic.bundle.min.js',
+ 'bitcoin-cash-js/bitcoin-cash-js.js',
+
+ 'src/js/**/*.js'
+ ],
+
+
+ // list of files / patterns to exclude
+ exclude: [
+ ],
+
+
+ // preprocess matching files before serving them to the browser
+ // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
+ preprocessors: {
+ },
+
+
+ // test results reporter to use
+ // possible values: 'dots', 'progress'
+ // available reporters: https://npmjs.org/browse/keyword/karma-reporter
+ reporters: ['progress'],
+
+
+ // web server port
+ port: 9876,
+
+
+ // enable / disable colors in the output (reporters and logs)
+ colors: true,
+
+
+ // level of logging
+ // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
+ logLevel: config.LOG_INFO,
+
+
+ // enable / disable watching file and executing tests whenever any file changes
+ autoWatch: false,
+
+
+ // start these browsers
+ // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
+ browsers: ['Chrome'],
+
+
+ // Continuous Integration mode
+ // if true, Karma captures browsers, runs the tests and exits
+ singleRun: false,
+
+ // Concurrency level
+ // how many browser should be started simultaneous
+ concurrency: Infinity
+ })
+}
diff --git a/www/css/main.css b/www/css/main.css
index 4e7faac0a..b4e67edac 100644
--- a/www/css/main.css
+++ b/www/css/main.css
@@ -10005,7 +10005,7 @@ ion-view.deflash-blue:before, ion-view#view-amount:before, ion-view#view-confirm
border-radius: 3px;
width: 40px;
height: 40px;
- box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
+ box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.3);
background-repeat: no-repeat;
background-clip: padding-box;
background-size: 103%; }
@@ -10726,6 +10726,12 @@ textarea.d-block {
#tab-home .card .item-sub:before {
width: 90%; } }
+#tab-home .card-banner {
+ padding: 0; }
+ #tab-home .card-banner__img {
+ width: 100%;
+ display: block; }
+
#tab-home .wallet-coin-logo {
vertical-align: middle;
margin-right: 5px; }
@@ -11305,13 +11311,13 @@ textarea.d-block {
/* background-color and color defaults should be the same */
.wallet-background-color-default {
- background-color: #fab915; }
+ background-color: #535353; }
.wallet-color-default {
- color: #fab915; }
+ color: #535353; }
.cashwallet-color-default {
- color: #26B03C; }
+ color: #eeb640; }
/* generate classes for all colors */
.wallet-color-0 {
@@ -11357,17 +11363,17 @@ textarea.d-block {
margin-left: 2.4rem; }
.wallet-color-6 {
- background: #26B03C; }
+ background: #eeb640; }
.wallet-color-6:before {
- content: "Dollar Green";
+ content: "Light Orange";
margin-left: 2.4rem; }
.wallet-color-7 {
- background: #fab915; }
+ background: #535353; }
.wallet-color-7:before {
- content: "Observatory";
+ content: "Dark Grey";
margin-left: 2.4rem; }
.wallet-color-8 {
diff --git a/www/img/contact-placeholder.svg b/www/img/contact-placeholder.svg
index f730da86b..54b0fcec2 100644
--- a/www/img/contact-placeholder.svg
+++ b/www/img/contact-placeholder.svg
@@ -1,12 +1,18 @@
-
-
-
-
-
-
+
+
+
+ Artboard
+ Created with Sketch.
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/www/img/icon-clipboard-paste-white.svg b/www/img/icon-clipboard-paste-white.svg
new file mode 100644
index 000000000..be0df78bc
--- /dev/null
+++ b/www/img/icon-clipboard-paste-white.svg
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/img/icon-clipboard-paste.svg b/www/img/icon-clipboard-paste.svg
new file mode 100644
index 000000000..a82edc11b
--- /dev/null
+++ b/www/img/icon-clipboard-paste.svg
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/img/icon-contact-add.svg b/www/img/icon-contact-add.svg
new file mode 100644
index 000000000..36d1f95bc
--- /dev/null
+++ b/www/img/icon-contact-add.svg
@@ -0,0 +1,10 @@
+
+
+
+
+
+
diff --git a/www/img/icon-scan-qr.svg b/www/img/icon-scan-qr.svg
new file mode 100644
index 000000000..bc4a2bc56
--- /dev/null
+++ b/www/img/icon-scan-qr.svg
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/img/icon-w2w.svg b/www/img/icon-w2w.svg
new file mode 100644
index 000000000..082a0d8cc
--- /dev/null
+++ b/www/img/icon-w2w.svg
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/img/icon-wallet.svg b/www/img/icon-wallet.svg
index fba9bca0b..74c7055f2 100644
--- a/www/img/icon-wallet.svg
+++ b/www/img/icon-wallet.svg
@@ -1,62 +1 @@
-
-image/svg+xml
-
\ No newline at end of file
+icon-wallet
\ No newline at end of file
diff --git a/www/img/qr-overlay-bch.png b/www/img/qr-overlay-bch.png
new file mode 100644
index 000000000..566789663
Binary files /dev/null and b/www/img/qr-overlay-bch.png differ
diff --git a/www/img/qr-overlay-btc.png b/www/img/qr-overlay-btc.png
new file mode 100644
index 000000000..3973b0dc5
Binary files /dev/null and b/www/img/qr-overlay-btc.png differ
diff --git a/www/index.html b/www/index.html
index 76827f685..ecc2d923c 100644
--- a/www/index.html
+++ b/www/index.html
@@ -11,7 +11,7 @@
- Bitcoin.com - Bitcoin.com Wallet
+ Bitcoin.com Wallet
@@ -31,6 +31,7 @@
+
diff --git a/www/misc/payment_received.mp3 b/www/misc/payment_received.mp3
new file mode 100644
index 000000000..d64820450
Binary files /dev/null and b/www/misc/payment_received.mp3 differ
diff --git a/www/misc/payment_received.ogg b/www/misc/payment_received.ogg
new file mode 100644
index 000000000..3f6b7baed
Binary files /dev/null and b/www/misc/payment_received.ogg differ
diff --git a/www/misc/bch_sent.mp3 b/www/misc/payment_sent.mp3
similarity index 100%
rename from www/misc/bch_sent.mp3
rename to www/misc/payment_sent.mp3
diff --git a/www/misc/payment_sent.ogg b/www/misc/payment_sent.ogg
new file mode 100644
index 000000000..8527a893c
Binary files /dev/null and b/www/misc/payment_sent.ogg differ
diff --git a/www/views/buyBitcoindotcom.html b/www/views/buyBitcoindotcom.html
index 2c8ef36f1..f0f8e27e3 100644
--- a/www/views/buyBitcoindotcom.html
+++ b/www/views/buyBitcoindotcom.html
@@ -15,7 +15,7 @@
- Buy bitcoin
+ Buy bitcoin
diff --git a/www/views/confirm.html b/www/views/confirm.html
index 443043d49..e54837f34 100644
--- a/www/views/confirm.html
+++ b/www/views/confirm.html
@@ -16,8 +16,8 @@
Sending maximum amount
+
{{tx.alternativeAmountValueStr || '...'}} {{tx.alternativeAmountUnitStr}}
{{tx.amountValueStr || '...'}} {{tx.amountUnitStr}}
-
{{tx.alternativeAmountStr || '...'}}
@@ -77,9 +77,9 @@
{{'Fee:' | translate}} {{tx.feeLevelName | translate}}
-
{{tx.txp[wallet.id].feeStr || '...'}}
+
{{tx.txp[wallet.id].alternativeFeeStr || '...'}}
- {{tx.txp[wallet.id].alternativeFeeStr || '...'}}
+ {{tx.txp[wallet.id].feeStr || '...'}}
·
{{tx.txp[wallet.id].feeRatePerStr}} of the sending amount
diff --git a/www/views/feedback/rateApp.html b/www/views/feedback/rateApp.html
deleted file mode 100644
index 9913b9d4e..000000000
--- a/www/views/feedback/rateApp.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- Not now
- Thank you!
-
-
- 5-star ratings help us get {{appName}} into more hands, and more users means more resources can be committed to the app!
-
-
- Would you be willing to rate {{appName}} in the app store?
-
-
-
- Rate on the app store
-
-
- Send us feedback instead
-
-
-
-
diff --git a/www/views/feedback/rateCard.html b/www/views/feedback/rateCard.html
deleted file mode 100644
index d31199466..000000000
--- a/www/views/feedback/rateCard.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
How do you like {{appName}}?
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{button_title}}
-
-
-
diff --git a/www/views/feedback/send.html b/www/views/feedback/send.html
deleted file mode 100644
index bb979bdee..000000000
--- a/www/views/feedback/send.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
- {{'Send Feedback' | translate}}
-
-
- Cancel
-
-
-
-
-
-
-
- Send
-
-
-
-
-
diff --git a/www/views/includes/community.html b/www/views/includes/community.html
index a8c021745..86841a77c 100644
--- a/www/views/includes/community.html
+++ b/www/views/includes/community.html
@@ -6,14 +6,14 @@
-
+
diff --git a/www/views/includes/walletSelector.html b/www/views/includes/walletSelector.html
index 755331a06..97dfeb552 100644
--- a/www/views/includes/walletSelector.html
+++ b/www/views/includes/walletSelector.html
@@ -5,11 +5,11 @@
ng-init="wallet.coin == 'btc' ? walletsBtc.push(wallet) : walletsBch.push(wallet)">
-
+
+
{{title}}
-
-
- Finish
-
-
-
-
-
-
-
Share the love by inviting your friends.
-
-
-
Thank you!
-
A member of the team will review your feedback as soon as possible.
-
-
If you have additional feedback, please let us know by tapping the "Send feedback" option in the Settings tab.
-
-
-
Share the love by inviting your friends.
-
+
+
+
+
Share the love by inviting your friends.
-
-
-
@@ -57,8 +55,8 @@
-
-
Bitcoin Cash (BCH)
+
Bitcoin Cash (BCH)
+
Instant transactions with low fees
@@ -72,8 +70,7 @@
-
-
Bitcoin Core (BTC)
+
Bitcoin Core (BTC)
@@ -92,9 +89,11 @@
diff --git a/www/views/tab-receive.html b/www/views/tab-receive.html
index 0eb598096..046a19ba8 100644
--- a/www/views/tab-receive.html
+++ b/www/views/tab-receive.html
@@ -41,16 +41,16 @@
-
+
{{addr}}
-
-
- Generate new address
-
-
+
+
+
+ Generate new address
+
@@ -61,7 +61,8 @@
Payment Received!
- {{ paymentReceivedAmount }} {{ paymentReceivedCoin }}
+ {{ paymentReceivedAmount }} {{ paymentReceivedCoin }}
+ {{ paymentReceivedAlternativeAmount }}
Return To Address
diff --git a/www/views/tab-scan.html b/www/views/tab-scan.html
index 1445adeb8..54c5efab3 100644
--- a/www/views/tab-scan.html
+++ b/www/views/tab-scan.html
@@ -16,7 +16,7 @@
You can scan bitcoin addresses, payment requests, paper wallets, and more.
Enable the camera to get started.
-
Enable camera access in your device settings to get started.
+
Enable camera access in your device settings to get started.
Please connect a camera to get started.
Allow Camera Access
Open Settings
diff --git a/www/views/tab-send.html b/www/views/tab-send.html
index 838c04299..8b39808db 100644
--- a/www/views/tab-send.html
+++ b/www/views/tab-send.html
@@ -3,15 +3,57 @@
{{'Send' | translate}}
+
-
-