phraseapp-in-context-editor-ruby 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +9 -9
- data/lib/generators/phraseapp_in_context_editor/templates/README +1 -1
- data/lib/generators/phraseapp_in_context_editor/templates/phraseapp_in_context_editor.rb +2 -2
- data/lib/phraseapp-in-context-editor-ruby/config.rb +1 -1
- data/lib/phraseapp-in-context-editor-ruby/version.rb +1 -1
- data/phraseapp-in-context-editor-ruby.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 012cba38045e006a436af7029d5585c799c41405330c8d14fee655e50d542103
|
4
|
+
data.tar.gz: 9dac63947d0e267041872fc9a6015d5bb1ee2f1d4e2ad54a8877249674eb9980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b68a1871469dc892fc98f82ab26d3ae71bcdb30158a22fd2a5aacd9a508072d51280c74977e731970a3c4a14eb55102b29a4c41a9ad3a3e63c8f64fdae1a0e
|
7
|
+
data.tar.gz: 70d7cf9add109b87315f937d94628fad6e74fac4bb8892847bd3bbb0939b7bb87dfa02580d91073308eb20a25f257c494a3e82d2a81ed1fb010da5b60e066e5c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.3.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.1) (2019-08-29)
|
4
|
+
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.3.0...v1.3.1)
|
5
|
+
- Change api host to api.phrase.com
|
6
|
+
|
3
7
|
## [v1.3.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.0) (2018-04-18)
|
4
8
|
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.1...v1.3.0)
|
5
9
|
- Remove support for Ruby < 2.1
|
@@ -63,4 +67,4 @@
|
|
63
67
|
## [v1.0.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.0) (2015-08-21)
|
64
68
|
|
65
69
|
|
66
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
70
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PhraseApp In-Context-Editor for Ruby #
|
2
2
|
|
3
|
-
*This Ruby gem is for use with Ruby (Rails, Sinatra) applications only. Check out the [documentation](
|
3
|
+
*This Ruby gem is for use with Ruby (Rails, Sinatra) applications only. Check out the [documentation](https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website) to learn how to set up the In-Context-Editor with other technologies.*
|
4
4
|
|
5
5
|
[![Build Status](https://travis-ci.org/phrase/phraseapp-in-context-editor-ruby.svg)](https://travis-ci.org/phrase/phraseapp-in-context-editor-ruby)
|
6
6
|
|
@@ -8,11 +8,11 @@ PhraseApp is the translation management solution for web and mobile applications
|
|
8
8
|
|
9
9
|
[Try out Phraseapp for free](https://phraseapp.com/signup) and start translating your app!
|
10
10
|
|
11
|
-
*Note: This gem [documentation](
|
11
|
+
*Note: This gem [documentation](https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website) to learn how to install the In-Context-Editor with other technologies.*
|
12
12
|
|
13
13
|
## In-Context-Editor ###
|
14
14
|
|
15
|
-
How awesome would it be if translators could simply browse your website and edit text along the way? Our In-Context Editor offers just that. It provides translators with useful contextual information which improves overall translation quality. See our documentation on how to set it up: [In-Context Editor Setup](
|
15
|
+
How awesome would it be if translators could simply browse your website and edit text along the way? Our In-Context Editor offers just that. It provides translators with useful contextual information which improves overall translation quality. See our documentation on how to set it up: [In-Context Editor Setup](https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website).
|
16
16
|
|
17
17
|
## Installation
|
18
18
|
|
@@ -36,7 +36,7 @@ Next, create the initializer file by executing the Rails generator:
|
|
36
36
|
|
37
37
|
##### --access-token
|
38
38
|
|
39
|
-
You can create and manage access tokens in your [profile settings](https://phraseapp.com/settings/oauth_access_tokens) or via the [Authorizations API](
|
39
|
+
You can create and manage access tokens in your [profile settings](https://phraseapp.com/settings/oauth_access_tokens) or via the [Authorizations API](https://developers.phraseapp.com/api/#authorizations).
|
40
40
|
|
41
41
|
##### --project-id
|
42
42
|
|
@@ -48,7 +48,7 @@ Next, add the Javascript helper to your Rails application layout file:
|
|
48
48
|
|
49
49
|
<%= phraseapp_in_context_editor_js %>
|
50
50
|
|
51
|
-
If you don't want to use the helper but add the plain Javascript yourself, head over to our [documentation](
|
51
|
+
If you don't want to use the helper but add the plain Javascript yourself, head over to our [documentation](https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website) to learn more.
|
52
52
|
|
53
53
|
### Done!
|
54
54
|
|
@@ -82,11 +82,11 @@ This is **not recommended** and should only be used as a temporary workaround.
|
|
82
82
|
|
83
83
|
|
84
84
|
## Further Information
|
85
|
-
* [
|
85
|
+
* [PhraseApp Help Center](https://help.phraseapp.com/)
|
86
86
|
* [Software Translation Management with PhraseApp](https://phraseapp.com/features)
|
87
87
|
* [Contact us](https://phraseapp.com/contact)
|
88
88
|
|
89
89
|
## References
|
90
|
-
* [PhraseApp API Documentation](
|
91
|
-
* [In-Context-Editor Demo](
|
92
|
-
* [Localization Guides and Software Translation Best Practices](
|
90
|
+
* [PhraseApp API Documentation](https://developers.phraseapp.com/api/)
|
91
|
+
* [In-Context-Editor Demo](https://demo.phraseapp.com)
|
92
|
+
* [Localization Guides and Software Translation Best Practices](https://phraseapp.com/blog/)
|
@@ -6,5 +6,5 @@ PhraseApp is the translation management solution for web and mobile applications
|
|
6
6
|
How awesome would it be if translators could simply browse your website and edit text along the way? Our In-Context Editor offers just that. It provides translators with useful contextual information which improves overall translation quality.
|
7
7
|
|
8
8
|
Login: https://phraseapp.com/account/login
|
9
|
-
Documentation:
|
9
|
+
Documentation: https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website
|
10
10
|
===============================================================================
|
@@ -10,7 +10,7 @@ PhraseApp::InContextEditor.configure do |config|
|
|
10
10
|
|
11
11
|
# You can create and manage access tokens in your profile settings
|
12
12
|
# in Translation Center or via the Authorizations API
|
13
|
-
# (
|
13
|
+
# (https://developers.phraseapp.com/api/#authorizations).
|
14
14
|
config.access_token = "<%= options[:access_token] %>"
|
15
15
|
|
16
16
|
# Configure an array of key names that should not be handled
|
@@ -21,7 +21,7 @@ PhraseApp::InContextEditor.configure do |config|
|
|
21
21
|
# in context of your document. However, this might result in conflicts
|
22
22
|
# with other libraries (e.g. client-side template engines) that use a similar syntax.
|
23
23
|
# If you encounter this problem, you might want to change this decorator pattern.
|
24
|
-
# More information:
|
24
|
+
# More information: https://help.phraseapp.com/phraseapp-for-developers/how-to-setup-and-configure-the-phraseapp-in-context-editor-ice/configure-in-context-editor
|
25
25
|
# config.prefix = "{{__"
|
26
26
|
# config.suffix = "__}}"
|
27
27
|
end
|
@@ -10,7 +10,7 @@ module PhraseApp
|
|
10
10
|
backend: PhraseApp::InContextEditor::BackendService.new,
|
11
11
|
prefix: "{{__",
|
12
12
|
suffix: "__}}",
|
13
|
-
api_host: "https://api.
|
13
|
+
api_host: "https://api.phrase.com",
|
14
14
|
js_host: "phraseapp.com",
|
15
15
|
js_use_ssl: true,
|
16
16
|
js_path: "/assets/in-context-editor/2.0/app.js",
|
@@ -10,11 +10,11 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.required_ruby_version = '>= 2.1'
|
12
12
|
s.authors = ["Dynport GmbH"]
|
13
|
-
s.email = ["info@
|
14
|
-
s.homepage = "https://
|
13
|
+
s.email = ["info@phrase.com"]
|
14
|
+
s.homepage = "https://phrase.com"
|
15
15
|
s.summary = %q{Translation management solution for web and mobile applications}
|
16
16
|
s.licenses = ['MIT']
|
17
|
-
s.description = %q{
|
17
|
+
s.description = %q{Phrase In-Context-Editor allows you to edit translations directly on the website. More information: phrase.com}
|
18
18
|
s.required_rubygems_version = ">= 1.3.6"
|
19
19
|
s.rubyforge_project = "phraseapp-in-context-editor-ruby"
|
20
20
|
git_files = `git ls-files | grep -v spec/`.split("\n") rescue ''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phraseapp-in-context-editor-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynport GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -162,10 +162,10 @@ dependencies:
|
|
162
162
|
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
|
-
description: '
|
166
|
-
|
165
|
+
description: 'Phrase In-Context-Editor allows you to edit translations directly on
|
166
|
+
the website. More information: phrase.com'
|
167
167
|
email:
|
168
|
-
- info@
|
168
|
+
- info@phrase.com
|
169
169
|
executables: []
|
170
170
|
extensions: []
|
171
171
|
extra_rdoc_files: []
|
@@ -200,7 +200,7 @@ files:
|
|
200
200
|
- lib/phraseapp-in-context-editor-ruby/version.rb
|
201
201
|
- lib/phraseapp-in-context-editor-ruby/view_helpers.rb
|
202
202
|
- phraseapp-in-context-editor-ruby.gemspec
|
203
|
-
homepage: https://
|
203
|
+
homepage: https://phrase.com
|
204
204
|
licenses:
|
205
205
|
- MIT
|
206
206
|
metadata: {}
|
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
version: 1.3.6
|
221
221
|
requirements: []
|
222
222
|
rubyforge_project: phraseapp-in-context-editor-ruby
|
223
|
-
rubygems_version: 2.7.
|
223
|
+
rubygems_version: 2.7.7
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: Translation management solution for web and mobile applications
|