Ilab Windows Vista Sidebar gadgets
Would you like to react to this message? Create an account in a few clicks or log in to continue.

New Language Support - Japanese

2 posters

Go down

New Language Support - Japanese Empty New Language Support - Japanese

Post  kakipo Fri Oct 07, 2011 1:16 am

Thank you for such a great gadget. I love it!

I made a Japanese language file for v1.0.8.
Could you please add it to the next version?

thanks.

Code:

//
// General rules:
//
// - The encoding of the file, which is Unicode, must not be changed.
// - The name of the file should be [language].js where [language] is the
//  name of the languages in English.
// - You can just put the file in directory "language" under the gadget
//  directory and this is integrated automatically, you can choose
//  the language on settings panel.
//

{

//
// This will be displayed in the language selector combobox on
// settings panel.
//
languagedisplay: "日本語",


//
// Recurrence part is for translating ical recurrence info returned
// by RTM API to a human readable form.
//
recurrence: {

   //
   // These are templates for the supported types of standard
   // "every" recurrences.
   // In the templates, #1#, #2# and #3# will be replaced to the
   // proper data, see the examples after the templates.
   //
   types: {
      weekly_byday: "Every #1# week on #2#", // E.g.: Every 2nd week on tuesday
      montyly_byday: "Every #1# month on the #2# #3#", // E.g.: Every 2nd month on the third tuesday
      monthly_bymonthday: "Every #1# month on the #2#", // E.g.: Every 2nd month on the 27th
      daily: "Every #1# day", // E.g.: Every 2nd day
      weekly: "Every #1# week", // E.g.: Every 2nd week
      monthly: "Every #1# month", // E.g.: Every 2nd month
      yearly: "Every #1# year" // E.g.: Every 2nd year
   },

   //
   // These are templates for the supported types of RTM's special
   // "after" recurrences.
   // In the templates, #1#, #2# and #3# will be replaced to the
   // proper data, see the examples after the templates.
   //
   after_types: {
      after1day: "Next day",
      afterdays: "After #1# days", // E.g.: After 2 days
      after1week: "A week later",
      afterweeks: "After #1# weeks", // E.g.: After 2 weeks
      after1month: "A month later",
      aftermonths: "After #1# months", // E.g.: After 2 months
      after1year: "A year later",
      afteryears: "After #1# years" // E.g.: After 2 years
   },
   
   //
   // These are used for translating weekdays in recurrence rules.
   // See for example types.montyly_byday above.
   //
   weekday_translator: {
      SU: "sunday",
      MO: "monday",
      TU: "tuesday",
      WE: "wednesday",
      TH: "thursday",
      FR: "friday",
      SA: "saturday"
   },
   
   //
   // These are used for translating ordinal numbers in recurrence rules.
   // See any example in types above.
   //
   ordinal_number_translator: {

      /*
         The following regular expression replace rules are executed
         sequentially on an ordinal number, the result is created by
         the first matching rule.
         
         This algorithm works for english:
         - rule 1 replaces anything that ends with a number between 10 and 19 to ...th, ie. 11th or 216th
         - rule 2 replaces anything that ends with 1 to ...1st, ie. 1st, 21st, 1561st (note: rule1 handles 11 before this!)
         - rule 3 replaces anything that ends with 2 to ...2nd, ie. 2nd, 22nd, 1562nd (note: rule1 handles 12 before this!)
         - rule 4 replaces anything that ends with 3 to ...3rd, ie. 3rd, 23rd, 1563rd (note: rule1 handles 13 before this!)
         - rule 5 replaces anything else to ...th, ie. 4th, 24nd, 1564th

         This might seem a bit complicated. For other languages, perhaps
         you can be as simple as applying only one rule, which translates
         everything to X. for, ie. 1. or 22. or 1563.

            rule1: {regexp: "([0-9]+)", replace: "$1." },
         
      */   
   
      rule1: {regexp: "^([0-9]*1.)$", replace: "$1th" },
      rule2: {regexp: "^([0-9]*1)$", replace: "$1st" },
      rule3: {regexp: "^([0-9]*2)$", replace: "$1nd" },
      rule4: {regexp: "^([0-9]*3)$", replace: "$1rd" },
      rule5: {regexp: "^([0-9]*)$", replace: "$1th" }
   }
},
   
//
// The following are key-value pairs, where the values are
// displayed in certain points of the gadget user interface.
// There might be comments at the end of the lines which help
// the translation.
//

lorem: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
notesdateformat: "dofw yy 年 mon dd 日",
dateformat: "dofw mon dd 日",
overduedateformat: "mon dd 日",
timeformat: "時刻表記",
time12: "6:00PM",
time12am: "午前",
time12pm: "午後",
weekdays: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
months: ["01 月", "02 月", "03 月", "04 月", "05 月", "06 月", "07 月", "08 月", "09 月", "10 月", "11 月", "12 月"],
notasks: "タスクはありません",
nodue: "期限なし",
lang: "言語",
days: "表示する日数",
height: "高さ",
width: "幅",
logout: "ログアウト",
login: "ログイン",
auth: "認証する",
close: "閉じる",
overdue: "期限切れ",
pleaselogin: "ログインしてください",
time12am: "午前",
time12pm: "午後",
newver: "新しいバージョンが入手可能です",
backtotasks: "タスクに戻る",
dateformatflyout: "mon dd 日",
when: "期日",
where: "場所",
notes: "ノート",
edit: "編集する",
rtm: "RTM",
complete: "完了",
postpone: "延期",
list: "リスト",
create: "作成する",
update: "更新する",
cancel: "取り消し",
ok: "  OK  ",
okay: "OK",
help: "ヘルプ",
duehelp: "期日は Remember The Milk ドキュメントに記載されている<a href='https://www.rememberthemilk.com/help/answers/basics/dateformat.rtm'>日付フォーマット</a>で記述可能です。<p>記述例:<li>Today: 今日 (tod でも可)</li><li>Tomorrow: 明日 (tom でも可)</li><li>25 Apr: 今年の 04/25 (April 25 だと来年の 04/25)</li><li>Apr 25: 今年の 04/25 (April 25 だと来年の 04/25)</li><li>04/25/2008: 2008/04/25</li><li>25/04/2008: 2008/04/25</li><li>2008/04/25: 2008/04/25</li><li>2008-04-25: 2008/04/25</li><li>25th: 今月の 25 日</li><li>Friday: 次の金曜日</li><li>Next Friday: 次の次の金曜日</li><li>Fri at 7pm: 金曜日の午後 7 時</li><li>6pm: 今日の午後 6 時 (6:00pm だと明日の午後 6 時)</li><li>18:00: 今日の午後6時 (6:00pm だと明日の午後 6 時)</li><li>5 hours: 今から 5 時間後</li><li>2 days: 今から 2 日後</li><li>3 weeks: 今から 3 週間後</li>",
repeathelp: "リピートは Remember The Milk ドキュメントに記載されている<a href='https://www.rememberthemilk.com/help/answers/basics/repeatformat.rtm'>リピートフォーマット</a>で記述可能です。<p>毎...繰り返し 記述例:<li>Every Tuesday</li><li>Every Monday and Wednesday</li><li>Every day</li><li>Every week</li><li>Every 2 weeks</li><li>Every month</li><li>Every 6 months</li><li>Every year</li><li>Every month on the 4th</li><li>Every month on the 3rd Tuesday</li><p>...後繰り返し記述例:<li>After 5 days</li><li>After a week</li><li>After 6 months</li><li>After a year</li>",
quickadd: "タスクの追加",
name: "タスク名",
repeat: "リピート",
due: "期日",
tags: "タグ",
background: "バックグラウンドで動作する",
versioncheck: "新しいバージョンをチェックする",
loginhelp: "ログインするには...<p><b>認証する</b>ボタンを押すとブラウザが起動し、Remember The Milk よりユーザ名とパスワードの入力を求められます。ログインに成功すると、 RTM が <i>Application successfully authorized</i> メッセージを表示します。その後、<i>認証する</i>ボタンの横の<i>ログイン</i>ボタンを押すと、ガジェットと RTM との認証が行われ、タスクリストにアクセス可能となります。<p>起動時には前回利用した認証トークンを利用するため、基本的に<i>ログアウト</i>ボタンを使うことはありません。何かしらの問題が発生した場合、認証トークンを再取得したい場合に<i>ログアウト</i>ボタンを利用してください。",
pleasewait: "お待ちください",
getfrob: "認証リクエストを行っています...",
loggingin: "ログインしています...",
todo: "Todo",
pleaseloginrtm: "表示されたブラウザから Remember The Milk にログインし、ログインボタンをクリックしてください",
postponing: "タスクを延期しています...",
completing: "タスクを完了しています...",
quickadding: "タスクを追加しています...",
settingname: "名前を設定しています...",
settinglist: "リストを設定しています...",
settingdue: "期日を設定しています...",
settingtags: "タグを設定しています...",
settingrepeat: "リピートを設定しています...",
settingprior: "優先度を設定しています...",
forumtext: "フィードバック・バグレポート",
forum: "フォーラム",
donatetext: "このガジェットを気に入られた場合は寄付をお願いいたします:",
hide: "隠す",
retry: "リトライ",
theme: "テーマ",
fontsize: "フォントサイズ",
priorAlways: "常に表示",
others: "その他の設定",
lists: "リスト",
priorNever: "表示しない",
priorNodue: "期日が未設定の場合",
priority: "優先度の表示方法",
prior: "優先度",
error: "エラー",
key: "キー",
quieterrors: "エラー時に終了する",
groupby: "Group by days",
nodueTitle: "期日が設定されていないタスクの表示方法",
nodueTop: "最初",
nodueBottom: "最後",
nodueHide: "表示しない",
reloadFeeds: "タスクリストのリロード",
feedlist: "タスクリスト",
reloadingfeeds: "タスクリストをリロードしています",
nolists: "タスクリストが選択されていません",
remove: "削除",
newnote: "ノートの追加",
suredelnote: "ノートを削除してもよろしいですか?",
confirm: "確認",
getvalue: "値の取得",
today: "今日",
tomorrow: "明日",
trace: "トレース",
showLog: "ログを表示する",
advancedSettings: "詳細設定",
hintMenu: "メニュー",
hintScroll: "スクロール",
hintNewTask: "タスクの追加",
hintRefresh: "リフレッシュ",
hintHome: "ブラウザで Remember The Milk を開く",
hintForum: "フォーラム",
notedeleting: "ノートを削除しています",
noteadding: "ノートを追加しています",
noteupdating: "ノートを更新しています"

}


kakipo

Posts : 1
Join date : 2011-09-07

Back to top Go down

New Language Support - Japanese Empty Re: New Language Support - Japanese

Post  Admin Sat Oct 15, 2011 9:34 am

Yes, thank you!

Admin
Admin

Posts : 693
Join date : 2008-10-13

https://ilab.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum