Skip to content

Commit

Permalink
Support rtl in suggestion altering area
Browse files Browse the repository at this point in the history
  • Loading branch information
ta2-1 committed Apr 21, 2016
1 parent a2e5f1e commit 5631ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const SuggestionFeedBackForm = React.createClass({
errors={errors.translation}
value={formData.translation}
data-action="overwrite"
dir={this.props.editor.settings.languageDirection}
/>
<FormElement
type="textarea"
Expand Down
1 change: 1 addition & 0 deletions pootle/templates/editor/_scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
isAdmin: {{ is_admin|yesno:"true,false" }},
isAnonymous: {{ request.user.is_anonymous|yesno:"true,false" }},
userId: {{ request.user.id }},
languageDirection: '{{ language.direction }}',
};
{% if cansuggest or cantranslate %}
options.mt = [
Expand Down

0 comments on commit 5631ddc

Please sign in to comment.