Skip to content

Commit

Permalink
add auto cjk-alphabet spacing for ship & equip name
Browse files Browse the repository at this point in the history
  • Loading branch information
KagamiChan committed Nov 27, 2017
1 parent a2e512d commit c74336f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions views/env-parts/i18n-config.es
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import path from 'path-extra'
import glob from 'glob'
import { spacing } from 'pangu'

const {ROOT, isMain, config} = window

Expand Down Expand Up @@ -41,8 +42,8 @@ if (window.isMain) {
}

window.i18n.resources = {
__: (str) => (str),
translate: (locale, str) => (str),
__: (str) => spacing(str),
translate: (locale, str) => spacing(str),
setLocale: (str) => (str),
}

Expand Down

0 comments on commit c74336f

Please sign in to comment.