[aur-dev] [PATCH v2] Change "File Request" to "Submit Request".

Eli Schwartz eschwartz93 at gmail.com
Wed Nov 25 06:51:08 UTC 2015


Apparently the reference to "files" can be confusing.

Fixes FS#47167

Signed-off-by: Eli Schwartz <eschwartz93 at gmail.com>
---
 web/html/pkgreq.php              | 2 +-
 web/template/pkgbase_actions.php | 2 +-
 web/template/pkgreq_form.php     | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php
index 1e671d0..8348a4f 100644
--- a/web/html/pkgreq.php
+++ b/web/html/pkgreq.php
@@ -13,7 +13,7 @@ if (isset($base_id)) {
 		header('Location: /');
 		exit();
 	}
-	html_header(__("File Request"));
+	html_header(__("Submit Request"));
 	include('pkgreq_form.php');
 } elseif (isset($pkgreq_id)) {
 	if (!has_credential(CRED_PKGREQ_CLOSE)) {
diff --git a/web/template/pkgbase_actions.php b/web/template/pkgbase_actions.php
index 198f7ab..f8968fb 100644
--- a/web/template/pkgbase_actions.php
+++ b/web/template/pkgbase_actions.php
@@ -32,7 +32,7 @@
 			<?php endif; ?>
 
 			<li><span class="flagged"><?php if ($row["RequestCount"] > 0) { echo _n('%d pending request', '%d pending requests', $row["RequestCount"]); } ?></span></li>
-			<li><?= html_action_link($base_uri . 'request/', __('File Request')) ?></li>
+			<li><?= html_action_link($base_uri . 'request/', __('Submit Request')) ?></li>
 
 			<?php if (has_credential(CRED_PKGBASE_DELETE)): ?>
 			<li><?= html_action_link($base_uri . 'delete/', __('Delete Package')) ?></li>
diff --git a/web/template/pkgreq_form.php b/web/template/pkgreq_form.php
index 623c247..6cf8588 100644
--- a/web/template/pkgreq_form.php
+++ b/web/template/pkgreq_form.php
@@ -1,5 +1,5 @@
 <div class="box">
-	<h2><?= __('File Request: %s', htmlspecialchars($pkgbase_name)) ?></h2>
+	<h2><?= __('Submit Request: %s', htmlspecialchars($pkgbase_name)) ?></h2>
 	<p>
 		<?= __('Use this form to file a request against package base %s%s%s which includes the following packages:',
 			'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
@@ -58,7 +58,7 @@
 				<textarea name="comments" id="id_comments" rows="5" cols="50"></textarea>
 			</p>
 			<p>
-				<input type="submit" class="button" name="do_FileRequest" value="<?= __("File Request") ?>" />
+				<input type="submit" class="button" name="do_FileRequest" value="<?= __("Submit Request") ?>" />
 			</p>
 		</fieldset>
 	</form>
-- 
2.6.2


More information about the aur-dev mailing list