File tree Expand file tree Collapse file tree 6 files changed +14
-8
lines changed
Expand file tree Collapse file tree 6 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ osx_image: xcode10.1
33
44language : go
55go :
6- - 1.13 .x
6+ - 1.12 .x
77
88env :
99 - GO111MODULE=on
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ release: test
4040 echo " '$( VER) ' is invalid. Please call this like 'make release VER=0.0.0'" ; \
4141 exit 1; \
4242 fi
43- sed -i ' ' -e " /.*>version<.*/{n;s/v? [0-9]\.[0-9]\.[0-9]/$( VER) /;}" $(PLIST )
43+ sed -i ' ' -e " /.*>version<.*/{n;s/[0-9]\.[0-9]\.[0-9]/$( VER) /;}" $(PLIST )
4444 git add $(PLIST )
4545 git commit -m ' Release v$(VER)'
4646 git tag v$(VER )
Original file line number Diff line number Diff line change 1- # go-alfred-sentence-splitter
1+ # Google Translate Formatter
22
3- 論文読むときにリファレンスナンバーとか単語途中改行とかでGoogle翻訳にぶち込んだとき変になるのを抑制する.
3+ 論文読むときに単語途中改行とかでGoogle翻訳にぶち込んだとき変になるのを抑制する.
4+
5+ ## Install
6+
7+ [ Releases] ( https://github.com/pddg/alfred-google-translate-formatter-workflow/releases ) からダウンロードする.
48
59## Usage
610
11+ 詳細は[ 英文を一文ずつに分割してGoogle翻訳へ投げるAlfred Workflowを作った] ( https://poyo.hatenablog.jp/entry/2019/06/06/231400 ) へ
12+
713Alfredに追加して設定からHotKeyを決める.
814
915文字列を選択して,設定したホットキーを押すと実行.
@@ -16,4 +22,4 @@ pudding
1622
1723## License
1824
19- MIT
25+ MIT
Original file line number Diff line number Diff line change 11module github.com/pddg/alfred-google-translate-formatter-workflow
22
3- go 1.13
3+ go 1.12
44
55require (
66 github.com/urfave/cli v1.20.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "golang.org/x/text/unicode/norm"
1212)
1313
14- var version = "0.3 .0"
14+ var version = "1.0 .0"
1515var newLine = regexp .MustCompile (`(\r?\n)+` )
1616var duplicateWhiteSpace = regexp .MustCompile (`( ){2,}` )
1717var hyphenAtEnd = regexp .MustCompile (`-([^\S]+|(\r?\n))` )
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ Split sentence.</string>
411411 </dict >
412412 </dict >
413413 <key >version </key >
414- <string >v0.3 .0 </string >
414+ <string >1.0 .0 </string >
415415 <key >webaddress </key >
416416 <string >https://www.poyo.info/ </string >
417417</dict >
You can’t perform that action at this time.
0 commit comments