@airbnb/lunar-forms
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -6,2 +6,14 @@ # Change Log | ||
### 2.7.4 - 2020-02-06 | ||
#### 🐞 Fixes | ||
- Update phrase keys and add extraction script. (#303) ([8d5de71](https://github.com/airbnb/lunar/commit/8d5de71)), closes [#303](https://github.com/airbnb/lunar/issues/303) | ||
**Note:** Version bump only for package @airbnb/lunar-forms | ||
### 2.7.3 - 2020-01-28 | ||
@@ -8,0 +20,0 @@ |
@@ -71,3 +71,3 @@ import _pt from "prop-types"; | ||
label: React.createElement(T, { | ||
k: "lunar.feedback.typeMessage", | ||
k: "lunar.form.feedback.typeMessage", | ||
phrase: "What kind of feedback are you giving?", | ||
@@ -82,3 +82,3 @@ context: "Feedback form" | ||
label: React.createElement(T, { | ||
k: "lunar.feedback.reportBug", | ||
k: "lunar.form.feedback.reportBug", | ||
phrase: "Report a bug", | ||
@@ -91,3 +91,3 @@ context: "Feedback form type option" | ||
label: React.createElement(T, { | ||
k: "lunar.feedback.giveFeedback", | ||
k: "lunar.form.feedback.giveFeedback", | ||
phrase: "Give product feedback", | ||
@@ -99,3 +99,3 @@ context: "Feedback form type option" | ||
label: React.createElement(T, { | ||
k: "lunar.feedback.featureMessage", | ||
k: "lunar.form.feedback.featureMessage", | ||
phrase: "Which feature is this about?", | ||
@@ -106,3 +106,3 @@ context: "Feedback form" | ||
context: 'Selecting a feature within the feedback form', | ||
key: 'lunar.feedback.selectFeature' | ||
key: 'lunar.form.feedback.selectFeature' | ||
}), | ||
@@ -119,3 +119,3 @@ validator: this.validate | ||
label: React.createElement(T, { | ||
k: "lunar.feedback.moreMessage", | ||
k: "lunar.form.feedback.moreMessage", | ||
phrase: "Tell us a little bit more", | ||
@@ -126,6 +126,6 @@ context: "Feedback form" | ||
context: 'Default description in the feedback form when submitting a bug report', | ||
key: 'lunar.feedback.moreBug' | ||
key: 'lunar.form.feedback.moreBug' | ||
}) : T.phrase('Share your experience with us. What went well? What could have gone better?', {}, { | ||
context: 'Default description in the feedback form when submitting general feedback', | ||
key: 'lunar.feedback.moreFeedback' | ||
key: 'lunar.form.feedback.moreFeedback' | ||
}), | ||
@@ -135,3 +135,3 @@ validator: this.validate | ||
continueText: React.createElement(T, { | ||
k: "lunar.feedback.send", | ||
k: "lunar.form.feedback.send", | ||
phrase: "Send Feedback", | ||
@@ -141,3 +141,3 @@ context: "Feedback form submit button label" | ||
processingText: React.createElement(T, { | ||
k: "lunar.feedback.sending", | ||
k: "lunar.form.feedback.sending", | ||
phrase: "Sending\u2026", | ||
@@ -144,0 +144,0 @@ context: "Feedback form submit button label" |
@@ -70,3 +70,3 @@ import _pt from "prop-types"; | ||
const activeCountLabel = activeCount && activeCount > 0 ? React.createElement(T, { | ||
k: "lunar.filter.filterCount", | ||
k: "lunar.form.filter.filterCount", | ||
phrase: "%{smartCount} Filter||||%{smartCount} Filters", | ||
@@ -77,7 +77,7 @@ smartCount: activeCount, | ||
const toggleLabel = opened ? React.createElement(T, { | ||
k: "lunar.filter.close", | ||
k: "lunar.form.filter.close", | ||
phrase: "Close filters", | ||
context: "Filter menu toggle button label" | ||
}) : React.createElement(T, { | ||
k: "lunar.filter.open", | ||
k: "lunar.form.filter.open", | ||
phrase: "Open filters", | ||
@@ -84,0 +84,0 @@ context: "Filter menu toggle button label" |
@@ -84,3 +84,3 @@ "use strict"; | ||
label: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.typeMessage", | ||
k: "lunar.form.feedback.typeMessage", | ||
phrase: "What kind of feedback are you giving?", | ||
@@ -95,3 +95,3 @@ context: "Feedback form" | ||
label: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.reportBug", | ||
k: "lunar.form.feedback.reportBug", | ||
phrase: "Report a bug", | ||
@@ -104,3 +104,3 @@ context: "Feedback form type option" | ||
label: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.giveFeedback", | ||
k: "lunar.form.feedback.giveFeedback", | ||
phrase: "Give product feedback", | ||
@@ -112,3 +112,3 @@ context: "Feedback form type option" | ||
label: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.featureMessage", | ||
k: "lunar.form.feedback.featureMessage", | ||
phrase: "Which feature is this about?", | ||
@@ -119,3 +119,3 @@ context: "Feedback form" | ||
context: 'Selecting a feature within the feedback form', | ||
key: 'lunar.feedback.selectFeature' | ||
key: 'lunar.form.feedback.selectFeature' | ||
}), | ||
@@ -132,3 +132,3 @@ validator: this.validate | ||
label: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.moreMessage", | ||
k: "lunar.form.feedback.moreMessage", | ||
phrase: "Tell us a little bit more", | ||
@@ -139,6 +139,6 @@ context: "Feedback form" | ||
context: 'Default description in the feedback form when submitting a bug report', | ||
key: 'lunar.feedback.moreBug' | ||
key: 'lunar.form.feedback.moreBug' | ||
}) : _Translate.default.phrase('Share your experience with us. What went well? What could have gone better?', {}, { | ||
context: 'Default description in the feedback form when submitting general feedback', | ||
key: 'lunar.feedback.moreFeedback' | ||
key: 'lunar.form.feedback.moreFeedback' | ||
}), | ||
@@ -148,3 +148,3 @@ validator: this.validate | ||
continueText: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.send", | ||
k: "lunar.form.feedback.send", | ||
phrase: "Send Feedback", | ||
@@ -154,3 +154,3 @@ context: "Feedback form submit button label" | ||
processingText: _react.default.createElement(_Translate.default, { | ||
k: "lunar.feedback.sending", | ||
k: "lunar.form.feedback.sending", | ||
phrase: "Sending\u2026", | ||
@@ -157,0 +157,0 @@ context: "Feedback form submit button label" |
@@ -90,3 +90,3 @@ "use strict"; | ||
const activeCountLabel = activeCount && activeCount > 0 ? _react.default.createElement(_Translate.default, { | ||
k: "lunar.filter.filterCount", | ||
k: "lunar.form.filter.filterCount", | ||
phrase: "%{smartCount} Filter||||%{smartCount} Filters", | ||
@@ -97,7 +97,7 @@ smartCount: activeCount, | ||
const toggleLabel = opened ? _react.default.createElement(_Translate.default, { | ||
k: "lunar.filter.close", | ||
k: "lunar.form.filter.close", | ||
phrase: "Close filters", | ||
context: "Filter menu toggle button label" | ||
}) : _react.default.createElement(_Translate.default, { | ||
k: "lunar.filter.open", | ||
k: "lunar.form.filter.open", | ||
phrase: "Open filters", | ||
@@ -104,0 +104,0 @@ context: "Filter menu toggle button label" |
{ | ||
"name": "@airbnb/lunar-forms", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "Form functionality for Lunar.", | ||
@@ -36,3 +36,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "927daaafe868ea29d6b21dacf8ba688020c71e87" | ||
"gitHead": "c8d4d3bcb69c90a194982a15b3df7cbe794eac7e" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135108