bitsnote-i18n 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +4 -0
- data/Rakefile +27 -0
- data/config/locales/en.yml +130 -0
- data/config/locales/zh-TW.yml +139 -0
- data/lib/bitsnote-i18n/engine.rb +4 -0
- data/lib/bitsnote-i18n/version.rb +3 -0
- data/lib/bitsnote-i18n.rb +4 -0
- data/lib/tasks/bitsnote-i18n_tasks.rake +4 -0
- metadata +86 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2013 YOURNAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'rdoc/task'
|
9
|
+
rescue LoadError
|
10
|
+
require 'rdoc/rdoc'
|
11
|
+
require 'rake/rdoctask'
|
12
|
+
RDoc::Task = Rake::RDocTask
|
13
|
+
end
|
14
|
+
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'BitsnoteI18n'
|
18
|
+
rdoc.options << '--line-numbers'
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Bundler::GemHelper.install_tasks
|
27
|
+
|
@@ -0,0 +1,130 @@
|
|
1
|
+
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
+
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
|
+
|
4
|
+
en:
|
5
|
+
common:
|
6
|
+
# Action
|
7
|
+
new_on: 'new %{something}'
|
8
|
+
show_on: 'show %{something}'
|
9
|
+
edit_on: 'edit %{something}'
|
10
|
+
find_for: 'find %{something}'
|
11
|
+
sticky_on: 'sticky on %{something}'
|
12
|
+
add_to: 'Add To %{something}'
|
13
|
+
edit: 'edit'
|
14
|
+
save: 'save'
|
15
|
+
cancel: 'cancel'
|
16
|
+
sort: 'sort'
|
17
|
+
remove: 'remove'
|
18
|
+
destroy: 'destroy'
|
19
|
+
sign_out: 'sign out'
|
20
|
+
search: 'search'
|
21
|
+
clear: 'clear'
|
22
|
+
back: 'back'
|
23
|
+
retrieve: 'retrieve'
|
24
|
+
subscribe: 'subscribe'
|
25
|
+
subscribed: 'subscribed'
|
26
|
+
unsubscribe: 'unsubscribe'
|
27
|
+
|
28
|
+
# Noun & Adjective
|
29
|
+
folders: 'Folders'
|
30
|
+
bits: 'Bits'
|
31
|
+
tags: 'Tags'
|
32
|
+
new_topic: 'New Topic'
|
33
|
+
calendar: 'Calendar'
|
34
|
+
optional: 'optional'
|
35
|
+
public: 'Public'
|
36
|
+
title_of_new_topic: 'Title of New Topic'
|
37
|
+
in_topics: 'In Topics'
|
38
|
+
also_in: 'Also in'
|
39
|
+
layout:
|
40
|
+
all_topics: 'All Topics'
|
41
|
+
my_topics: 'My Topics'
|
42
|
+
my_public_topics: 'My Public Topics'
|
43
|
+
my_subscriptions: 'My Subscriptions'
|
44
|
+
public: 'Public'
|
45
|
+
about: 'About'
|
46
|
+
concept: 'Concept'
|
47
|
+
activerecord:
|
48
|
+
models:
|
49
|
+
bits/hyperlink: 'hyperlink'
|
50
|
+
bits/note: 'note'
|
51
|
+
bits/event: 'event'
|
52
|
+
bits/task: 'task'
|
53
|
+
bits/place: 'place'
|
54
|
+
bits/paper: 'paper'
|
55
|
+
preference: 'preference'
|
56
|
+
topic: 'topic'
|
57
|
+
user: 'user'
|
58
|
+
stickies/sticky: 'sticky'
|
59
|
+
attributes:
|
60
|
+
bits/hyperlink:
|
61
|
+
title: 'title'
|
62
|
+
description: 'description'
|
63
|
+
url: 'url'
|
64
|
+
bits/note:
|
65
|
+
content: 'content'
|
66
|
+
url: 'url'
|
67
|
+
bits/event:
|
68
|
+
title: 'title'
|
69
|
+
description: 'description'
|
70
|
+
url: 'url'
|
71
|
+
location: 'location'
|
72
|
+
begin_at: 'begin at'
|
73
|
+
end_at: 'end at'
|
74
|
+
all_day: 'all day'
|
75
|
+
time_zone: 'time zone'
|
76
|
+
bits/task:
|
77
|
+
title: 'title'
|
78
|
+
description: 'description'
|
79
|
+
url: 'url'
|
80
|
+
due_at: 'due at'
|
81
|
+
time_zone: 'time zone'
|
82
|
+
bits/place:
|
83
|
+
title: 'title'
|
84
|
+
description: 'description'
|
85
|
+
url: 'url'
|
86
|
+
branch: 'branch'
|
87
|
+
address: 'address'
|
88
|
+
phone: 'phone'
|
89
|
+
fax: 'fax'
|
90
|
+
speciality: 'speciality'
|
91
|
+
local_address: 'local_address'
|
92
|
+
locality: 'locality'
|
93
|
+
city: 'city'
|
94
|
+
admin_level_1: 'admin level 1'
|
95
|
+
admin_level_2: 'admin level 2'
|
96
|
+
admin_level_3: 'admin level 3'
|
97
|
+
postcode: 'postcode'
|
98
|
+
country: 'country'
|
99
|
+
latitude: 'latitude'
|
100
|
+
longitude: 'longitude'
|
101
|
+
bits/paper:
|
102
|
+
title: 'title'
|
103
|
+
abstract: 'abstract'
|
104
|
+
authors: 'authors'
|
105
|
+
url: 'url'
|
106
|
+
pmid: 'PMID'
|
107
|
+
doi: 'DOI'
|
108
|
+
journal_id: 'journal'
|
109
|
+
volume: 'volume'
|
110
|
+
issue: 'issue'
|
111
|
+
pages: 'pages'
|
112
|
+
year: 'year'
|
113
|
+
preference:
|
114
|
+
time_zone: 'time zone'
|
115
|
+
locale: 'locale'
|
116
|
+
nickname: 'nickname'
|
117
|
+
currency: 'currency'
|
118
|
+
topic:
|
119
|
+
title: 'title'
|
120
|
+
description: 'description'
|
121
|
+
public: 'public'
|
122
|
+
tag_list: 'tags'
|
123
|
+
user:
|
124
|
+
email: 'email'
|
125
|
+
stickies/sticky:
|
126
|
+
note: 'sticky'
|
127
|
+
description:
|
128
|
+
retrieve_hyperlink: 'Select "Retrieve" to automatically fill in title and description'
|
129
|
+
organize_topic: 'Organize this topic into folders by selecting <b>Folders</b> in action menu after the creation of new topic.'
|
130
|
+
add_to_folder: 'Add topic %{topic} into these selected folders:'
|
@@ -0,0 +1,139 @@
|
|
1
|
+
zh-TW:
|
2
|
+
common:
|
3
|
+
# Action
|
4
|
+
new_on: '新增%{something}'
|
5
|
+
show_on: '顯示%{something}'
|
6
|
+
edit_on: '修改%{something}'
|
7
|
+
find_for: '搜尋%{something}'
|
8
|
+
sticky_on: '註記%{something}'
|
9
|
+
add_to: '加入%{something}'
|
10
|
+
edit: '修改'
|
11
|
+
save: '儲存'
|
12
|
+
cancel: '取消'
|
13
|
+
sort: '排序'
|
14
|
+
remove: '移除'
|
15
|
+
destroy: '刪除'
|
16
|
+
sign_out: '登出'
|
17
|
+
search: '搜尋'
|
18
|
+
clear: '清除'
|
19
|
+
back: '前頁'
|
20
|
+
retrieve: '擷取資訊'
|
21
|
+
subscribe: '訂閱'
|
22
|
+
subscribed: '已訂閱'
|
23
|
+
unsubscribe: '取消訂閱'
|
24
|
+
add: '加入'
|
25
|
+
done: '結束'
|
26
|
+
|
27
|
+
# Noun & Adjective
|
28
|
+
folders: '檔案夾'
|
29
|
+
bits: '微件'
|
30
|
+
tags: '標籤'
|
31
|
+
new_topic: '新主題'
|
32
|
+
calendar: '行事曆'
|
33
|
+
optional: '選填'
|
34
|
+
public: '公開'
|
35
|
+
title_of_new_topic: '新增主題的標題'
|
36
|
+
in_topics: '文件'
|
37
|
+
also_in: '其他文件'
|
38
|
+
layout:
|
39
|
+
all_topics: '所有主題'
|
40
|
+
my_topics: '我的主題'
|
41
|
+
my_public_topics: '我的公開主題'
|
42
|
+
my_subscriptions: '我訂閱的主題'
|
43
|
+
public: '公開的主題'
|
44
|
+
about: '關於'
|
45
|
+
concept: '概念'
|
46
|
+
bits:
|
47
|
+
public: '公開'
|
48
|
+
hidden: '隱藏'
|
49
|
+
progress:
|
50
|
+
unfinished: '未完成'
|
51
|
+
completed: '完成'
|
52
|
+
postponed: '延後'
|
53
|
+
canceled: '取消'
|
54
|
+
undecided: '未定'
|
55
|
+
activerecord:
|
56
|
+
models:
|
57
|
+
bits/hyperlink: '鏈結'
|
58
|
+
bits/note: '筆記'
|
59
|
+
bits/event: '事件'
|
60
|
+
bits/task: '待辦事項'
|
61
|
+
bits/place: '地點'
|
62
|
+
bits/paper: '論文'
|
63
|
+
preference: '設定'
|
64
|
+
topic: '主題'
|
65
|
+
user: '用戶'
|
66
|
+
stickies/sticky: '註記'
|
67
|
+
attributes:
|
68
|
+
bits/hyperlink:
|
69
|
+
title: '標題'
|
70
|
+
description: '描述'
|
71
|
+
url: '鏈結'
|
72
|
+
bits/note:
|
73
|
+
content: '內容'
|
74
|
+
url: '鏈結'
|
75
|
+
bits/event:
|
76
|
+
title: '名稱'
|
77
|
+
description: '描述'
|
78
|
+
url: '鏈結'
|
79
|
+
location: '地點'
|
80
|
+
begin_at: '開始時間'
|
81
|
+
end_at: '結束時間'
|
82
|
+
all_day: '整天'
|
83
|
+
time_zone: '時區'
|
84
|
+
bits/task:
|
85
|
+
title: '名稱'
|
86
|
+
description: '描述'
|
87
|
+
url: '鏈結'
|
88
|
+
due_at: '截止時間'
|
89
|
+
time_zone: '時區'
|
90
|
+
bits/place:
|
91
|
+
title: '名稱'
|
92
|
+
description: '描述'
|
93
|
+
url: '鏈結'
|
94
|
+
branch: '分支'
|
95
|
+
address: '地址'
|
96
|
+
phone: '電話'
|
97
|
+
fax: '傳真'
|
98
|
+
speciality: '特色'
|
99
|
+
local_address: '地區地址'
|
100
|
+
locality: '地區'
|
101
|
+
city: '城市'
|
102
|
+
admin_level_1: '行事區1'
|
103
|
+
admin_level_2: '行事區2'
|
104
|
+
admin_level_3: '行事區3'
|
105
|
+
postcode: '郵遞區號'
|
106
|
+
country: '國家'
|
107
|
+
latitude: '緯度'
|
108
|
+
longitude: '經度'
|
109
|
+
bits/paper:
|
110
|
+
title: '標題'
|
111
|
+
abstract: '摘要'
|
112
|
+
authors: '作者'
|
113
|
+
url: '鏈結'
|
114
|
+
pmid: 'PMID'
|
115
|
+
doi: 'DOI'
|
116
|
+
journal_id: '期刊'
|
117
|
+
volume: '卷'
|
118
|
+
issue: '冊'
|
119
|
+
pages: '頁數'
|
120
|
+
year: '年份'
|
121
|
+
preference:
|
122
|
+
time_zone: '時區'
|
123
|
+
locale: '語言'
|
124
|
+
nickname: '暱稱'
|
125
|
+
currency: '貨幣'
|
126
|
+
topic:
|
127
|
+
title: '標題'
|
128
|
+
description: '描述'
|
129
|
+
public: '公開'
|
130
|
+
hidden: '隱藏'
|
131
|
+
tag_list: '標籤'
|
132
|
+
user:
|
133
|
+
email: '電子信箱'
|
134
|
+
stickies/sticky:
|
135
|
+
note: '註記'
|
136
|
+
description:
|
137
|
+
retrieve_hyperlink: '選取「擷取資訊」以自動填入標題及描述'
|
138
|
+
organize_topic: '新增主題後,使用選單「檔案夾」將主題加入檔案夾中'
|
139
|
+
add_to_folder: '將「%{topic}」加入這些選取的檔案夾:'
|
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bitsnote-i18n
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Yen-Ju Chen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.11
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.11
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Crowdsourcing localization for bitsnote.
|
47
|
+
email:
|
48
|
+
- yjchenx@gmail.com
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- config/locales/en.yml
|
54
|
+
- config/locales/zh-TW.yml
|
55
|
+
- lib/bitsnote-i18n/engine.rb
|
56
|
+
- lib/bitsnote-i18n/version.rb
|
57
|
+
- lib/bitsnote-i18n.rb
|
58
|
+
- lib/tasks/bitsnote-i18n_tasks.rake
|
59
|
+
- MIT-LICENSE
|
60
|
+
- Rakefile
|
61
|
+
- README.md
|
62
|
+
homepage: https://bitbucket.org/yjchenx/bitsnote-i18n
|
63
|
+
licenses: []
|
64
|
+
post_install_message:
|
65
|
+
rdoc_options: []
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ! '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
requirements: []
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 1.8.23
|
83
|
+
signing_key:
|
84
|
+
specification_version: 3
|
85
|
+
summary: Localization for bitesnote.
|
86
|
+
test_files: []
|