Skip to content

Commit

Permalink
Merge pull request #56 from Authenticator-Extension/master
Browse files Browse the repository at this point in the history
5.0.4
  • Loading branch information
Sneezry authored Mar 3, 2018
2 parents 17ccaa5 + 5723ec0 commit 45f284f
Show file tree
Hide file tree
Showing 80 changed files with 15,030 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.js linguist-vendored
*.css linguist-vendored
*.html linguist-vendored
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
build
chrome
firefox
.vscode
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "node"
before_script:
- "npm install -g typescript"
- "npm install -g gts"
- "npm install -g addons-linter"
- "npm install -g lintspaces-cli"
script:
- "gts check"
- "lintspaces -nt -d 'spaces' -i 'js-comments' src/* *.html manifest-*.json css/popup.css css/import.css"
- "npm run firefox"
- "npm run chrome"
- "addons-linter firefox"
3 changes: 3 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Do not use this to ask about lost codes or accounts>
<More info here: https://github.com/Authenticator-Extension/Authenticator/wiki/Lost-Codes>

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Zhe Li
Copyright (c) 2017 Authenticator Extension

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
# Authenticator2
<img align="right" width="100" height="100" src="https://github.com/Authenticator-Extension/Authenticator/raw/dev/images/icon128.png">

# Authenticator [![Build Status](https://travis-ci.org/Authenticator-Extension/Authenticator.svg?branch=dev)](https://travis-ci.org/Authenticator-Extension/Authenticator) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/authenticator-firefox/localized.svg)](https://crowdin.com/project/authenticator-firefox)

> Authenticator generates 2-Step Verification codes in your browser.
You can install Authenticator from the [Chrome Web Store](https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai) or from [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/auth-helper/).

## Build Setup

Compile for Chrome:

```bash
npm install
npm run chrome
```
Compile for Firefox:

```bash
npm install
npm run firefox
```

Compile for development:

``` bash
# install typescript
npm install -g typescript
#install gts
npm install -g gts
# install dependencies
npm install
# check typescript style
gts check
# try to auto fix style issue
gts fix
# compile
npm run compile
```
238 changes: 238 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
{
"extName": {
"message": "Authenticator",
"description": "Extension Name."
},
"extShortName": {
"message": "Authenticator",
"description": "Extension Short Name."
},
"extDesc": {
"message": "Authenticator generates 2-Step Verification codes in your browser.",
"description": "Extension Description."
},
"added": {
"message": " has been added.",
"description": "Added Account."
},
"errorqr": {
"message": "Unrecognized QR code.",
"description": "QR Error."
},
"errorsecret": {
"message": "Secret Error. Only Base32(A-Z, 2-7 and =) and HEX(0-9 and A-F) are supported. However, your secret is: ",
"description": "Secret Error."
},
"add_qr": {
"message": "Scan QR Code",
"description": "Scan QR Code."
},
"add_secret": {
"message": "Manual Entry",
"description": "Manual Entry."
},
"close": {
"message": "Close",
"description": "Close."
},
"ok": {
"message": "Ok",
"description": "OK."
},
"yes": {
"message": "Yes",
"description": "Yes."
},
"no": {
"message": "No",
"description": "No."
},
"account": {
"message": "Account",
"description": "Account."
},
"accountName": {
"message": "Account Name",
"description": "Account Name."
},
"issuer": {
"message": "Issuer",
"description": "Issuer."
},
"secret": {
"message": "Secret",
"description": "Secret."
},
"updateSuccess": {
"message": "Success.",
"description": "Update Success."
},
"updateFailure": {
"message": "Failure.",
"description": "Update Failure."
},
"about": {
"message": "About",
"description": "About."
},
"export_import": {
"message": "Export / Import",
"description": "Export and Import."
},
"settings": {
"message": "Settings",
"description": "Settings."
},
"security": {
"message": "Security",
"description": "Security."
},
"current_phrase": {
"message": "Current Password",
"description": "Current Passphrase."
},
"new_phrase": {
"message": "New Password",
"description": "New Passphrase."
},
"phrase": {
"message": "Password",
"description": "Passphrase."
},
"confirm_phrase": {
"message": "Confirm Password",
"description": "Confirm Passphrase."
},
"confirm_delete" : {
"message": "Are you sure you want to delete this secret? This action cannot be undone.",
"description": "Remove entry confirmation"
},
"security_warning": {
"message": "This password will be used to encrypt your secrets. No one can help you if you forget the password.",
"description": "Passphrase Warning."
},
"update": {
"message": "Update",
"description": "Update."
},
"phrase_incorrect": {
"message": "You cannot add a new account or export data until all accounts are decrypted. Please enter the correct password before continuing.",
"description": "Passphrase Incorrect."
},
"phrase_not_match": {
"message": "Password does not match.",
"description": "Passphrase Not Match."
},
"encrypted": {
"message": "Encrypted",
"description": "Encrypted."
},
"copied": {
"message": "Copied",
"description": "Copied."
},
"feedback": {
"message": "Feedback",
"description": "Feedback."
},
"translate": {
"message": "Translate",
"description": "Translate."
},
"source": {
"message": "Source Code",
"description": "Source Code."
},
"passphrase_info": {
"message": "Enter password to decrypt account data.",
"description": "Passphrase Info"
},
"sync_clock": {
"message": "Sync Clock with Google",
"description": "Sync Clock"
},
"remember_phrase": {
"message": "Remember Password",
"description": "Remember Passphrase"
},
"clock_too_far_off": {
"message": "Caution! Your local clock is too far off, please fix it before continuing.",
"description": "Local Time is Too Far Off"
},
"remind_backup": {
"message": "Do you have a backup for your secrets? Don't wait until it's too late!",
"description": "Remind Backup"
},
"capture_failed": {
"message": "Capture failed, please reload the page and try again.",
"description": "Capture Failed"
},
"based_on_time": {
"message": "Time Based",
"description": "Time Based"
},
"based_on_counter": {
"message": "Counter Based",
"description": "Counter Based"
},
"resize_popup_page": {
"message": "Resize Popup Page",
"description": "Resize Popup Page"
},
"scale": {
"message": "Scale",
"description": "Scale"
},
"export_info": {
"message": "Warning: all backups are unencrypted. Want to add an account to another app? Hover over the top right part of any account and hit the hidden button.",
"description": "Export menu info text"
},
"download_backup": {
"message": "Download Backup File",
"description": "Download backup file."
},
"import_backup": {
"message": "Import Backup",
"description": "Import backup."
},
"import_backup_file": {
"message": "Import Backup File",
"description": "Import backup file."
},
"import_backup_code": {
"message": "Import Text Backup",
"description": "Import backup code."
},
"dropbox_backup": {
"message": "Auto Backup to Dropbox",
"description": "Auto backup to Dropbox."
},
"dropbox_code": {
"message": "Dropbox Code",
"description": "Dropbox code."
},
"dropbox_token": {
"message": "Dropbox Token",
"description": "Dropbox token."
},
"dropbox_authorization": {
"message": "Get Code",
"description": "Dropbox authorization."
},
"show_all_entries": {
"message": "Show all entries",
"description": "Show all entries."
},
"dropbox_risk": {
"message": "Warning: backups saved in Dropbox are unencrypted. Use at your own risk.",
"description": "Dropbox backup risk warning."
},
"import_error_password": {
"message": "You must provide correct password to import backups.",
"description": "Error password warning when import backups."
},
"local_passphrase_warning": {
"message": "Your password is stored locally, please change it in the security menu immediately.",
"description": "localStorage password warning."
}
}
Loading

0 comments on commit 45f284f

Please sign in to comment.