mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
CI: Androidのビルドサポートを追加 (#142)
* ci: change swift version to stable * ci: change trigger for test * revert changes * ci: fix version * ci: change display text from branch to tag * a * ci * fix trigger * fix * fix for android (use float func) * ci: heckout with submodules * ci: remove unneccesary files * ふぃふぃふぃ * ci: copy neccesary files * ci: fix for arm build * ci: arm * nn> * a * tree * cp -r * haaa? * ci: 大文字と小文字 * ci: re * ci: copy resource folder * ci: change path * ci: default dictionary * ci: こうか? * ci: revert changes * ci: clean workflow * fix * n * a * ci: incorporate jobs * fix variable * fix path * ci: incorporate android actions to swift.yml * fix * ci: fix yaml syntax error * ci: fix syntax error? * ci: format * ci: use valid yml * ci: use release tag instead of latest tag * ci: cache * ci: build llama on android? * ci: add header include path * a * a * hensu * fix: llama mock * uninclude llama * change os(android) to canimport(andoid) * a * remove linux * a * n * ci: check with env value * fix LLAMA_MOCK * Update .gitignore
This commit is contained in:
@ -579,7 +579,7 @@ public final class DicdataStore {
|
||||
result.append(contentsOf: self.getJapaneseNumberDicdata(head: convertTarget))
|
||||
if inputData.input[..<inputRange.startIndex].last?.character.isNumber != true && inputData.input[inputRange.endIndex...].first?.character.isNumber != true, let number = Int(convertTarget) {
|
||||
result.append(DicdataElement(ruby: convertTarget, cid: CIDData.数.cid, mid: MIDData.小さい数字.mid, value: -14))
|
||||
if number <= Int(1E12) && -Int(1E12) <= number, let kansuji = self.numberFormatter.string(from: NSNumber(value: number)) {
|
||||
if Double(number) <= 1E12 && -1E12 <= Double(number), let kansuji = self.numberFormatter.string(from: NSNumber(value: number)) {
|
||||
result.append(DicdataElement(word: kansuji, ruby: convertTarget, cid: CIDData.数.cid, mid: MIDData.小さい数字.mid, value: -16))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user