Oxen electron GUI wallet
Go to file
2019-06-26 08:57:29 +10:00
.github/ISSUE_TEMPLATE Update issue templates 2019-04-17 14:32:52 +10:00
bin Import v1.0.0 2018-09-08 14:44:19 -07:00
src Improve how daemon status is shown and fetched. 2019-06-19 16:31:48 +10:00
src-electron Merge pull request #86 from jagerman/atomic-value-fix 2019-06-26 08:53:27 +10:00
.babelrc Import v1.0.0 2018-09-08 14:44:19 -07:00
.editorconfig Import v1.0.0 2018-09-08 14:44:19 -07:00
.eslintignore Loki changes 2019-03-13 15:33:47 +11:00
.eslintrc.js Loki changes 2019-03-13 15:33:47 +11:00
.gitignore Import v1.0.0 2018-09-08 14:44:19 -07:00
.nvmrc Loki changes 2019-03-13 15:33:47 +11:00
.postcssrc.js Import v1.0.0 2018-09-08 14:44:19 -07:00
.stylintrc Import v1.0.0 2018-09-08 14:44:19 -07:00
LICENSE License Images and markdown 2019-03-27 16:17:29 +11:00
package-lock.json 1.2.1 2019-06-26 08:57:29 +10:00
package.json 1.2.1 2019-06-26 08:57:29 +10:00
quasar.conf.js Added language selection. 2019-04-12 10:44:41 +10:00
README.md Update README.md 2019-04-26 16:29:07 +10:00

Loki Electron GUI Wallet

Introduction

Loki is a private cryptocurrency based on Monero. Loki aims to provide a private data transmission layer using a second layer of Service Nodes. More information on the project can be found on the website and in the whitepaper. Loki is an open source project, and we encourage contributions from anyone with something to offer.

About this project

This is the new electron GUI for Loki. It is open source and completely free to use without restrictions, anyone may create an alternative implementation of the Loki Electron GUI that uses the protocol and network in a compatible manner.

Please submit any changes as pull requests to the development branch, all changes are assessed in the development branch before being merged to master, release tags are considered stable builds for the GUI.

Pre-requisites

Commands

nvm use 11.9.0
npm install -g quasar-cli
git clone https://github.com/loki-project/loki-electron-wallet
cd loki-electron-wallet
cp path_to_loki_binaries/lokid bin/
cp path_to_loki_binaries/loki-wallet-rpc bin/
npm install
quasar build -m electron -t mat

Adding language support

Adding a new language is fairly simple.

  1. Duplicate the language file src/i18n/en-us.js and rename it to the relevant language code.
  2. Translate all the strings in that duplicated file. Take note that capitalization matters.
    • The translated string must go in-between the quotes ("")
      • E.G all: "ALL" -> all: "ВСЕ"
    • If possible try and stick to the general string formatting already present.
      • E.G if there is a new line then try and keep that in your translation.
      • The same goes for the pipe character |. DO NOT REMOVE IT.
    • Please don't translate strings inside {} brackets. They are meant as placeholders for other values.
      • Some examples include {type} and {count}.
      • E.G if you have a string A {index} then you may translate it as B {index} or {index} B depending on how the string makes sense in your language. You are allowed to reposition the placeholders for the string to make sense BUT DO NOT DELETE OR REPLACE THE PLACEHOLDERS WITH OTHER VALUES
  3. Add the language to the languages array in src/i18n/index.js. The flag property is the ISO 3166-1-alpha-2 code of a country.
    • NOTE: DO NOT ADD THE LANGUAGE TO export default. Dynamic language loading is handled by the application.
  4. Add your language locale to Vue Timeago. Add it in src/plugins/timeago.js under locales.
  5. Submit a PR with your changes.