[opw-web] Move edit-contract skins to en-gb.php
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [opw-web] Move edit-contract skins to en-gb.php
- Date: Sun, 17 May 2015 22:54:58 +0000 (UTC)
commit d4a87550c9de43dc2cd714e1ea1371a18bfd7002
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed May 13 15:38:26 2015 -0400
Move edit-contract skins to en-gb.php
lang/en-gb.php | 8 +++++++-
skins/easterngreen/html/tpl_edit_contract.html | 14 +++++++-------
2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/lang/en-gb.php b/lang/en-gb.php
index 3c6ffea..461817d 100644
--- a/lang/en-gb.php
+++ b/lang/en-gb.php
@@ -368,6 +368,12 @@ $lang_data = array(
'view_contract_notice' => 'You accepted the following contract on: ',
'accept_contract' => "Accept contract",
- 'edit_contract' => "Edit contract"
+ 'edit_contract' => "Edit contract",
+ 'intern_contract' => "Intern contract",
+ 'mentor_contract' => "Mentor contract",
+ 'contract_preview_message' => "This is a preview and not yet saved.",
+ 'contract_edit_message ' => "Please enter the text of the contract below using <a
href='http://daringfireball.net/projects/markdown/syntax'>Markdown</a> syntax"
+ 'formatted_result' => "Formatted result",
+ 'preview' => "Preview"
);
diff --git a/skins/easterngreen/html/tpl_edit_contract.html b/skins/easterngreen/html/tpl_edit_contract.html
index cbc2e8f..b28802e 100644
--- a/skins/easterngreen/html/tpl_edit_contract.html
+++ b/skins/easterngreen/html/tpl_edit_contract.html
@@ -1,15 +1,15 @@
-<h2 class="[[program_student_visibility]]">Intern contract - [[title]]</h2>
-<h2 class="[[program_mentor_visibility]]">Mentor contract - [[title]]</h2>
+<h2 class="[[program_student_visibility]]">{{intern_contract}} - [[title]]</h2>
+<h2 class="[[program_mentor_visibility]]">{{mentor contract}} - [[title]]</h2>
<div class="alert alert-info [[preview_visibility]]">
- This is a preview and not yet saved.
+ {{contract_preview_message}}
</div>
-<p>Please enter the text of the contract below using <a
href="http://daringfireball.net/projects/markdown/syntax">Markdown</a> syntax</p>
+<p>{{contract_edit_message}}</p>
<textarea class="contract-input" name="markdown">[[markdown]]</textarea>
<div class="contract-actions">
-<button type="submit" name="prveiew_contract" class="btn">Preview</button>
-<button type="submit" name="save_contract" class="btn btn-primary">Save</button>
+<button type="submit" name="prveiew_contract" class="btn">{{preview}}</button>
+<button type="submit" name="save_contract" class="btn btn-primary">{{save}}</button>
</div>
-<h2>Formatted result</h2>
+<h2>{{formatted_result}}</h2>
<div class="contract-text" onscroll="checkScroll(event)">
[[html]]
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]