Skip to content

Commit

Permalink
Contribution quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
wwebfor committed Mar 10, 2014
1 parent f60cc00 commit a8dea13
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Contribution
================

### Localizations
----------------
1. Copy ./app/locales/dev and renamed it to locale name - ./app/locales/[localeName]
2. Open ./app/locales/[localeName]/translation.json
3. Replace the values
4. Make *pull request*
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ module.exports = function (grunt) {
'.htaccess',
'images/{,*/}*.{webp,gif}',
'font/*',
'locales/*/*',
'docs/*.md'
]
},
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ You can change storages API keys in app/scripts/constants.js
---------------
1. Hit star button on [github][6]
2. Like us on [alternativeto.net][5]
3. [Contribute][7]

### Tips:
[![Fund us on Gittip](https://raw.github.com/gittip/www.gittip.com/master/www/assets/gittip.png)](https://www.gittip.com/Laverna/ "Fund us on Gittip")
Expand All @@ -61,3 +62,4 @@ Also Laverna uses a lot of other libraries and each of this [libraries uses diff
[4]: https://www.gittip.com/Laverna/
[5]: http://alternativeto.net/software/laverna/
[6]: https://github.com/Laverna/laverna
[7]: https://github.com/Laverna/laverna/CONTRIBUTE.md
4 changes: 3 additions & 1 deletion app/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Laverna is a JavaScript note taking web application with Markdown editor and enc

Application stores all your notes in your browser storages such as indexedDB or localStorage, which is good for security reasons, because only you can get access to them.

**Demo**: https://laverna.cc/
**Demo**: https://laverna.cc/ OR http://laverna.github.io/static-laverna/dist

## Features
-----------
Expand Down Expand Up @@ -44,6 +44,7 @@ You can change storages API keys in app/scripts/constants.js
---------------
1. Hit star button on [github][6]
2. Like us on [alternativeto.net][5]
3. [Contribute][7]

### Tips:
[![Fund us on Gittip](https://raw.github.com/gittip/www.gittip.com/master/www/assets/gittip.png)](https://www.gittip.com/Laverna/ "Fund us on Gittip")
Expand All @@ -61,3 +62,4 @@ Also Laverna uses a lot of other libraries and each of this [libraries uses diff
[4]: https://www.gittip.com/Laverna/
[5]: http://alternativeto.net/software/laverna/
[6]: https://github.com/Laverna/laverna
[7]: https://github.com/Laverna/laverna/CONTRIBUTE.md
9 changes: 5 additions & 4 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ define([
'underscore',
'backbone',
'modalRegion',
'brandRegion', 'collections/configs',
'marionette',
'i18next'
], function (_, Backbone, ModalRegion, BrandRegion, Configs) {
'brandRegion',
'collections/configs',
'i18next',
'marionette'
], function (_, Backbone, ModalRegion, BrandRegion, Configs, i18n) {
'use strict';

// Underscore template
Expand Down
5 changes: 3 additions & 2 deletions app/scripts/collections/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ define([
'underscore',
'backbone',
'models/config',
'localStorage' ], function (_, Backbone, Config) {
'localStorage'
], function (_, Backbone, Config) {
'use strict';

var Configs = Backbone.Collection.extend({
Expand All @@ -18,7 +19,7 @@ define([
*/
firstStart: function () {
// Basic
this.create(new Config({ name: 'appVersion', value: '0.2.0' }));
this.create(new Config({ name: 'appVersion', value: '0.3.0' }));
this.create(new Config({ name: 'appLang', value: '' }));
this.create(new Config({ name: 'cloudStorage', value: 0 }));
this.create(new Config({ name: 'pagination', value: '10' }));
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define([ ], function () {
'use strict';

var constants = {};
constants.VERSION = '0.2.0';
constants.VERSION = '0.3.0';

constants.URL = 'https://laverna.cc/';
constants.DROPBOX_KEY = '10iirspliqts95d';
Expand Down
4 changes: 4 additions & 0 deletions app/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ require.config({
dropbox: {
exports: 'Dropbox'
},
i18next: {
deps: ['jquery'],
exports: 'i18n'
},
prettify: {
exports: 'prettify'
}
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laverna",
"version": "0.2.0",
"version": "0.3.0",
"dependencies": {
"requirejs": "~2.1.11",
"requirejs-text": "~2.0.10",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laverna",
"version": "0.2.0",
"version": "0.3.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
Expand Down

0 comments on commit a8dea13

Please sign in to comment.