From 591799b685ba18b84ad5230a5d84a11daa380136 Mon Sep 17 00:00:00 2001 From: arno Date: Mon, 4 Apr 2011 13:11:51 +0200 Subject: [PATCH] explain how to delete a point in welcome message --- application/languages/lang_en.po | 13 ++++++++----- application/languages/lang_fr.po | 13 ++++++++----- application/languages/lang_ja.po | 20 ++++++++++++-------- application/views/scripts/idx/index.phtml | 4 ++-- public/css/syj.css | 2 +- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/application/languages/lang_en.po b/application/languages/lang_en.po index 37b1628..335ce2b 100644 --- a/application/languages/lang_en.po +++ b/application/languages/lang_en.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: syj\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-04-04 13:02+0200\n" +"POT-Creation-Date: 2011-04-04 13:05+0200\n" "PO-Revision-Date: \n" "Last-Translator: arno \n" "Language-Team: arno \n" @@ -51,12 +51,12 @@ msgid "SYJ needs javascript. Please activate scripts in your browser." msgstr "SYJ needs javascript. Please activate scripts in your browser." #: application/views/scripts/idx/index.phtml:21 -msgid "Welcome on Syj." -msgstr "Welcome on Syj." +msgid "To create a journey, press \"start a route\" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it." +msgstr "To create a journey, press \"start a route\" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it." #: application/views/scripts/idx/index.phtml:23 -msgid "To create a journey, just press \"start a route\" button, then click on the map to add points to your route. You can zoom and move the map with the controls in the top left corner" -msgstr "To create a journey, just press \"start a route\" button, then click on the map to add points to your route. You can zoom and move the map with the controls in the top left corner" +msgid "You can zoom and move the map with the controls in the top left corner." +msgstr "You can zoom and move the map with the controls in the top left corner." #: application/views/scripts/idx/index.phtml:25 msgid "When you have finished a path, press \"create\", button." @@ -802,5 +802,8 @@ msgstr "Someone, probably you, has registered an account %s with email address % msgid "To cancel account creation, press following button. The account and all its data will be deleted." msgstr "To cancel account creation, press following button. The account and all its data will be deleted." +#~ msgid "Welcome on Syj." +#~ msgstr "Welcome on Syj." + #~ msgid "faq" #~ msgstr "faq" diff --git a/application/languages/lang_fr.po b/application/languages/lang_fr.po index 8050a90..6efd1a2 100644 --- a/application/languages/lang_fr.po +++ b/application/languages/lang_fr.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: syj\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-04-04 13:02+0200\n" +"POT-Creation-Date: 2011-04-04 13:05+0200\n" "PO-Revision-Date: \n" "Last-Translator: arno \n" "Language-Team: arno \n" @@ -51,12 +51,12 @@ msgid "SYJ needs javascript. Please activate scripts in your browser." msgstr "SYJ a besoin de javascript pour fonctionner. Veuillez activer les scripts dans votre navigateur." #: application/views/scripts/idx/index.phtml:21 -msgid "Welcome on Syj." -msgstr "Bienvenue sur Syj." +msgid "To create a journey, press \"start a route\" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it." +msgstr "Pour créer un trajet, pressez le bouton \"commencer un itinéraire\" puis cliquez sur la carte pour ajouter des points à votre tracé. Pour supprimer un point, maintenant shift enfoncé en cliquant sur ce point." #: application/views/scripts/idx/index.phtml:23 -msgid "To create a journey, just press \"start a route\" button, then click on the map to add points to your route. You can zoom and move the map with the controls in the top left corner" -msgstr "Pour créer un trajet, pressez simplement le bouton \"commencer un itinéraire\" puis cliquez sur la carte pour ajouter des points à votre tracé. Vous pouvez zoomer et bouger la carte avec les boutons en haut à gauche." +msgid "You can zoom and move the map with the controls in the top left corner." +msgstr "Vous pouvez zoomer et bouger la carte avec les boutons en haut à gauche." #: application/views/scripts/idx/index.phtml:25 msgid "When you have finished a path, press \"create\", button." @@ -804,5 +804,8 @@ msgstr "Quelqu'un, probablement vous, a enregistré un compte %s avec l'adresse msgid "To cancel account creation, press following button. The account and all its data will be deleted." msgstr "Pour annuler la création du compte, pressez le bouton suivant. Le compte ainsi que toutes ses données seront supprimés." +#~ msgid "Welcome on Syj." +#~ msgstr "Bienvenue sur Syj." + #~ msgid "faq" #~ msgstr "faq" diff --git a/application/languages/lang_ja.po b/application/languages/lang_ja.po index fe3696f..37704d4 100644 --- a/application/languages/lang_ja.po +++ b/application/languages/lang_ja.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: syj\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-04-04 13:02+0200\n" +"POT-Creation-Date: 2011-04-04 13:05+0200\n" "PO-Revision-Date: \n" "Last-Translator: S.Higashi \n" "Language: \n" @@ -49,19 +49,20 @@ msgstr "" "てください" #: application/views/scripts/idx/index.phtml:21 -msgid "Welcome on Syj." -msgstr "Syjへようこそ。" - -#: application/views/scripts/idx/index.phtml:23 +#, fuzzy msgid "" -"To create a journey, just press \"start a route\" button, " -"then click on the map to add points to your route. You can zoom and move the " -"map with the controls in the top left corner" +"To create a journey, press \"start a route\" button, then " +"click on the map to add points. To delete a point, hold shift pressed while " +"clicking on it." msgstr "" "旅の記録を作成するには、まず\"ルート開始\" ボタンを押してく" "ださい。そしてマップをクリックしながらルートに沿ってポイントを追加してくださ" "い。画面左上のコントロールでマップのズームや移動ができます" +#: application/views/scripts/idx/index.phtml:23 +msgid "You can zoom and move the map with the controls in the top left corner." +msgstr "" + #: application/views/scripts/idx/index.phtml:25 msgid "When you have finished a path, press \"create\", button." msgstr "パスを描き終わったら、\"作成\"ボタンを押してください" @@ -915,5 +916,8 @@ msgstr "" "アカウント作成をキャンセルするには、次のボタンを押してください。アカウントと" "そのデータは全て削除されます。" +#~ msgid "Welcome on Syj." +#~ msgstr "Syjへようこそ。" + #~ msgid "faq" #~ msgstr "FAQ" diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index 455f90b..b69bf38 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -18,9 +18,9 @@ if ($this->errorMsg) { $message .= $this->errorMsg; $msgclass = "error"; } else if (!$this->path and !$this->loggedUser) { - $message .= $this->translate('Welcome on Syj.'); + $message .= $this->translate('To create a journey, press "start a route" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it.'); $message .= "
"; - $message .= $this->translate('To create a journey, just press "start a route" button, then click on the map to add points to your route. You can zoom and move the map with the controls in the top left corner'); + $message .= $this->translate('You can zoom and move the map with the controls in the top left corner.'); $message .= "
"; $message .= $this->translate('When you have finished a path, press "create", button.'); $msgclass = "info optional"; diff --git a/public/css/syj.css b/public/css/syj.css index c41d6cf..b5151ae 100644 --- a/public/css/syj.css +++ b/public/css/syj.css @@ -38,7 +38,7 @@ body, html { bottom: 3.5em; width: 40%; margin: 0px 45% 0px 15%; - padding: 1.5em 1.5em 1.5em 1.5em; + padding: 1.5em 1.5em 0.5em 1.5em; text-align: center; border-width: 2px; border-style: solid; -- 2.39.2