File tree Expand file tree Collapse file tree 6 files changed +10
-23
lines changed
modules/document_repository Expand file tree Collapse file tree 6 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class DeleteDocCategoryForm extends React.Component {
7272 // Data loading error
7373 if ( this . state . error ) {
7474 return < h3 > { t ( 'An error occured while loading the page.' ,
75- { ns : 'document_repository ' } ) } </ h3 > ;
75+ { ns : 'loris ' } ) } </ h3 > ;
7676 }
7777 // Waiting for data to load
7878 if ( ! this . state . isLoaded ) {
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ class DocIndex extends React.Component {
258258 // XXX: Replace this with a UI component for 500 errors.
259259 if ( this . state . error ) {
260260 return < h3 > { t ( 'An error occured while loading the page.' ,
261- { ns : 'document_repository ' } ) } </ h3 > ;
261+ { ns : 'loris ' } ) } </ h3 > ;
262262 }
263263
264264 // Waiting for async data to load
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class DocEditForm extends React.Component {
112112 />
113113 < SelectElement
114114 name = "forSite"
115- label = { t ( 'Site' , { ns : 'document_repository ' } ) }
115+ label = { t ( 'Site' , { ns : 'loris ' } ) }
116116 options = { this . state . data . sites }
117117 onUserInput = { this . setFormData }
118118 required = { true }
@@ -121,21 +121,21 @@ class DocEditForm extends React.Component {
121121 />
122122 < SelectElement
123123 name = "instrument"
124- label = { t ( 'Instrument' , { ns : 'document_repository ' } ) }
124+ label = { t ( 'Instrument' , { ns : 'loris ' } ) }
125125 options = { this . state . data . instruments }
126126 onUserInput = { this . setFormData }
127127 value = { this . state . docData . instrument }
128128 />
129129 < TextboxElement
130130 name = "pscid"
131- label = { t ( 'PSCID' , { ns : 'document_repository ' } ) }
131+ label = { t ( 'PSCID' , { ns : 'loris ' } ) }
132132 onUserInput = { this . setFormData }
133133 disable = { true }
134134 value = { this . state . docData . pscid }
135135 />
136136 < TextboxElement
137137 name = "visitLabel"
138- label = { t ( 'Visit Label' , { ns : 'document_repository ' } ) }
138+ label = { t ( 'Visit Label' , { ns : 'loris ' } ) }
139139 onUserInput = { this . setFormData }
140140 value = { this . state . docData . visitLabel }
141141 />
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class DocUploadForm extends Component {
119119 />
120120 < SearchableDropdown
121121 name = "forSite"
122- label = { t ( 'Site' , { ns : 'document_repository ' } ) }
122+ label = { t ( 'Site' , { ns : 'loris ' } ) }
123123 placeHolder = { t ( 'Search for site' , { ns : 'document_repository' } ) }
124124 options = { this . state . data . fieldOptions . sites }
125125 strictSearch = { true }
@@ -129,20 +129,20 @@ class DocUploadForm extends Component {
129129 />
130130 < SelectElement
131131 name = "instrument"
132- label = { t ( 'Instrument' , { ns : 'document_repository ' } ) }
132+ label = { t ( 'Instrument' , { ns : 'loris ' } ) }
133133 options = { this . state . data . fieldOptions . instruments }
134134 onUserInput = { this . setFormData }
135135 value = { this . state . formData . instrument }
136136 />
137137 < TextboxElement
138138 name = "pscid"
139- label = { t ( 'PSCID' , { ns : 'document_repository ' } ) }
139+ label = { t ( 'PSCID' , { ns : 'loris ' } ) }
140140 onUserInput = { this . setFormData }
141141 value = { this . state . formData . pscid }
142142 />
143143 < TextboxElement
144144 name = "visitLabel"
145- label = { t ( 'Visit Label' , { ns : 'document_repository ' } ) }
145+ label = { t ( 'Visit Label' , { ns : 'loris ' } ) }
146146 onUserInput = { this . setFormData }
147147 value = { this . state . formData . visitLabel }
148148 />
Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ msgstr ""
3232msgid "Search for site"
3333msgstr ""
3434
35- msgid "Instrument"
36- msgstr ""
37-
3835msgid "Version"
3936msgstr ""
4037
@@ -146,6 +143,3 @@ msgstr ""
146143msgid "Delete Successful!"
147144msgstr ""
148145
149- msgid "An error occured while loading the page."
150- msgstr ""
151-
Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ msgstr "श्रेणी"
3232msgid "Search for site"
3333msgstr "साइट खोजें"
3434
35- msgid "Instrument"
36- msgstr "इंस्ट्रूमेंट"
37-
3835msgid "Version"
3936msgstr "संस्करण"
4037
@@ -145,7 +142,3 @@ msgstr "हटाने में त्रुटि!"
145142
146143msgid "Delete Successful!"
147144msgstr "हटाना सफल रहा!"
148-
149- msgid "An error occured while loading the page."
150- msgstr "पृष्ठ लोड करते समय एक त्रुटि हुई।"
151-
You can’t perform that action at this time.
0 commit comments