Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Inconsistency in Title during creation of Resouce Request #9440 #9442

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,8 @@
"req_atleast_one_uppercase": "Require at least one upper case",
"request-sample-test": "Service Request",
"request_consent": "Request Consent",
"request_description": "Description of Request",
"request_description_placeholder": "Type your description here",
"request_reason": "Reason of Request",
"request_reason_placeholder": "Type your description here",
"request_sample_test": "Request Sample Test",
"request_title": "Request Title",
"request_title_placeholder": "Type your title here",
Expand Down
4 changes: 2 additions & 2 deletions public/locale/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@
"req_atleast_one_lowercase": "कम से कम एक लोअर केस अक्षर की आवश्यकता है",
"req_atleast_one_symbol": "कम से कम एक प्रतीक की आवश्यकता है",
"req_atleast_one_uppercase": "कम से कम एक अपर केस की आवश्यकता है",
"request_description": "अनुरोध का विवरण",
"request_description_placeholder": "अपना विवरण यहाँ लिखें",
"request_reason": "अनुरोध का कारण",
"request_reason_placeholder": "अपना कारण यहाँ लिखें",
"request_title": "शीर्षक का अनुरोध करें",
"request_title_placeholder": "अपना शीर्षक यहाँ लिखें",
"required": "आवश्यक",
Expand Down
4 changes: 2 additions & 2 deletions public/locale/kn.json
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@
"req_atleast_one_lowercase": "ಕನಿಷ್ಠ ಒಂದು ಸಣ್ಣ ಅಕ್ಷರದ ಅಗತ್ಯವಿದೆ",
"req_atleast_one_symbol": "ಕನಿಷ್ಠ ಒಂದು ಚಿಹ್ನೆಯ ಅಗತ್ಯವಿದೆ",
"req_atleast_one_uppercase": "ಕನಿಷ್ಠ ಒಂದು ದೊಡ್ಡ ಪ್ರಕರಣದ ಅಗತ್ಯವಿದೆ",
"request_description": "ವಿನಂತಿಯ ವಿವರಣೆ",
"request_description_placeholder": "ನಿಮ್ಮ ವಿವರಣೆಯನ್ನು ಇಲ್ಲಿ ಟೈಪ್ ಮಾಡಿ",
"request_reason": "ವಿನಂತಿಯ ವಿವರಣೆ",
"request_reason_placeholder": "ನಿಮ್ಮ ವಿವರಣೆಯನ್ನು ಇಲ್ಲಿ ಟೈಪ್ ಮಾಡಿ",
"request_title": "ವಿನಂತಿ ಶೀರ್ಷಿಕೆ",
"request_title_placeholder": "ನಿಮ್ಮ ಶೀರ್ಷಿಕೆಯನ್ನು ಇಲ್ಲಿ ಟೈಪ್ ಮಾಡಿ",
"required": "ಅಗತ್ಯವಿದೆ",
Expand Down
4 changes: 2 additions & 2 deletions public/locale/ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,8 @@
"req_atleast_one_lowercase": "കുറഞ്ഞത് ഒരു ചെറിയ അക്ഷരമെങ്കിലും ആവശ്യമാണ്",
"req_atleast_one_symbol": "കുറഞ്ഞത് ഒരു ചിഹ്നമെങ്കിലും ആവശ്യമാണ്",
"req_atleast_one_uppercase": "കുറഞ്ഞത് ഒരു വലിയ കേസെങ്കിലും ആവശ്യമാണ്",
"request_description": "അഭ്യർത്ഥനയുടെ വിവരണം",
"request_description_placeholder": "നിങ്ങളുടെ വിവരണം ഇവിടെ ടൈപ്പ് ചെയ്യുക",
"request_reason": "അഭ്യർത്ഥനയുടെ വിവരണം",
"request_reason_placeholder": "നിങ്ങളുടെ വിവരണം ഇവിടെ ടൈപ്പ് ചെയ്യുക",
"request_title": "പേര് അഭ്യർത്ഥിക്കുക",
"request_title_placeholder": "നിങ്ങളുടെ തലക്കെട്ട് ഇവിടെ ടൈപ്പ് ചെയ്യുക",
"required": "ആവശ്യമാണ്",
Expand Down
4 changes: 2 additions & 2 deletions public/locale/ta.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@
"req_atleast_one_lowercase": "குறைந்தபட்சம் ஒரு சிறிய எழுத்து தேவை",
"req_atleast_one_symbol": "குறைந்தது ஒரு சின்னம் தேவை",
"req_atleast_one_uppercase": "குறைந்தபட்சம் ஒரு பெரிய வழக்கு தேவை",
"request_description": "கோரிக்கையின் விளக்கம்",
"request_description_placeholder": "உங்கள் விளக்கத்தை இங்கே தட்டச்சு செய்யவும்",
"request_reason": "கோரிக்கையின் விளக்கம்",
"request_reason_placeholder": "உங்கள் விளக்கத்தை இங்கே தட்டச்சு செய்யவும்",
"request_title": "தலைப்பு கோரிக்கை",
"request_title_placeholder": "உங்கள் தலைப்பை இங்கே தட்டச்சு செய்யவும்",
"required": "தேவை",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Resource/ResourceCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ export default function ResourceCreate(props: resourceProps) {

<div className="md:col-span-2">
<TextAreaFormField
label={t("request_description")}
label={t("request_reason")}
name="reason"
rows={5}
required
placeholder={t("request_description_placeholder")}
placeholder={t("request_reason_placeholder")}
value={state.form.reason}
onChange={handleChange}
error={state.errors.reason}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resource/ResourceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function ResourceDetails(props: { id: string }) {
</div>
<div className="mt-1">
<span className="font-semibold leading-relaxed">
Description of Request:{" "}
Reason of Request{" "}
srijantrpth marked this conversation as resolved.
Show resolved Hide resolved
</span>
{data.reason || "--"}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resource/ResourceDetailsUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export const ResourceDetailsUpdate = (props: resourceProps) => {
placeholder="Type your description here"
value={state.form.reason}
onChange={handleChange}
label="Description of request*"
label="Reason of Request*"
error={state.errors.reason}
/>
</div>
Expand Down