Thanks to visit codestin.com
Credit goes to github.com

Skip to content

openSUSE-zh/discourse-username-localization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discourse-username-localization

Localized username support.

This plugin is deprecated. Discourse Official supports unicode username since 2.3.0 beta9. Only the javascript part is valid for now, and will be deprecated soon.

In beta9+, set 'unicode username' to true and 'unicode username whitelist' to '[\p{Han}\p{Katakana}\p{Hiragana}\p{Hangul}]' will have the same effect.

Install

Docker

Add following code into app.yml:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/openSUSE-zh/discourse-username-localization.git

Vagrant

vagrant ssh

cd /vagrant

bundle exec rake plugin:install repo=http://github.com/openSUSE-zh/discourse-username-localization

bundle exec rake assets:clean

bundle exec rails s -b 0.0.0.0

Update

Vagrant

vagrant ssh

cd /vagrant

bundle exec rake plugin:update plugin=discourse-username-localization

bundle exec rake assets:clean

bundle exec rails s -b 0.0.0.0

About

Localized username support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.1%
  • Ruby 4.9%