Skip to content

easyeditor-dev/EasyEditor

Repository files navigation

Easyeditor

Deploy Build Status Coverage Status

Just do it!

Korean translation

This is easy and simple web editor. This is useful if it is bothersome to install the editor to coded as usual.

Major function

  • Major programming language syntax highlighting
  • Code saving
  • Load saved code
  • Operate in mobile
  • Change font size in editor
  • Apply various color theme
  • Can compile C codes.

For Development

$ git clone https://github.com/maxtortime/EasyEditor.git
# Install python3, pip, virtualenv, bower
$ virtualenv -p $(which python3) venv
$ . venv/bin/activate
(venv) $ pip install -r requirements.txt
$ bower install
$ python3 easyeditor.py

Translation

Basic language is Korean. Please wrap Korean words by _(한국어 문장) in HTML. Python example is following.

gettext(u'A simple string')
gettext(u'Value: %(value)s', value=42)
ngettext(u'%(num)s Apple', u'%(num)s Apples', number_of_apples)

After wrapping Korean words, Please invoke following commands.

$ pybabel extract -F babel.cfg -o messages.pot .
$ pybabel init -i messages.pot -d translations -l 'iso lang code ex) en,ja'
# Translate messages.po file at translations directory.
# Automatically running at deployment
$ pybabel compile -d translations