Changeset 662ae783f4b889624897e562deae1621c84f60f4
- Timestamp:
- 10/01/11 13:20:59 (8 months ago)
- Author:
- Neutron Soutmun <neo.neutron@…>
- Children:
- 2ad9b50d37d7540cc6819836f4ebf0317a482ecd
- Parents:
- 2f9fc9abf92804e53d4d2ef00ce5ac4c107b389b
- git-author:
- Neutron Soutmun <neo.neutron@…> (10/01/11 13:03:28)
- git-committer:
- Neutron Soutmun <neo.neutron@…> (10/01/11 13:20:59)
- Message:
-
Use autopoint to manage the weblogin translation
- configure.ac:
- Add AM_GNU_GETTEXT{_VERSION} to initialize gettext.
- Add weblogin-po/Makefile.in to AC_CONFIG_FILES.
- autogen.sh:
- config.h.in:
- Update accordingly to new generated by autopoint.
- weblogin/messages.po, weblogin/th_TH/*:
- weblogin/locale/*, weblogin-po/*:
- Move weblogin/locale to weblogin-po.
- weblogin-po/LINGUAS:
- Add th to the languages list.
- weblogin-po/Makevars, weblogin-po/rahunas-weblogin.pot:
- Add initial setup for gettext translation build.
- weblogin-po/th.po:
- Makefile.am:
- Add weblogin-po to SUBDIRS.
- .gitignore, weblogin-po/.gitignore:
- Ignore auto-generated files by autopoint.
- Files:
-
- 4 added
- 2 removed
- 5 modified
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
-
|
re0a807c
|
r662ae78
|
|
| 1 | 1 | ACLOCAL_AMFLAGS = -I m4 |
| 2 | 2 | EXTRA_DIST = weblogin |
| 3 | | SUBDIRS = xmlrpc lcfg src data tools netsnmp-module example |
| | 3 | SUBDIRS = xmlrpc lcfg src data tools netsnmp-module example weblogin-po |
-
|
re0a807c
|
r662ae78
|
|
| 2 | 2 | |
| 3 | 3 | libtoolize --force |
| | 4 | autopoint --force |
| 4 | 5 | aclocal |
| 5 | 6 | automake --add-missing |
-
|
re0a807c
|
r662ae78
|
|
| 1 | 1 | /* config.h.in. Generated from configure.ac by autoheader. */ |
| | 2 | |
| | 3 | /* Define to 1 if translation of program messages to the user's native |
| | 4 | language is requested. */ |
| | 5 | #undef ENABLE_NLS |
| | 6 | |
| | 7 | /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the |
| | 8 | CoreFoundation framework. */ |
| | 9 | #undef HAVE_CFLOCALECOPYCURRENT |
| | 10 | |
| | 11 | /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in |
| | 12 | the CoreFoundation framework. */ |
| | 13 | #undef HAVE_CFPREFERENCESCOPYAPPVALUE |
| | 14 | |
| | 15 | /* Define if the GNU dcgettext() function is already present or preinstalled. |
| | 16 | */ |
| | 17 | #undef HAVE_DCGETTEXT |
| | 18 | |
| | 19 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
| | 20 | #undef HAVE_DLFCN_H |
| 2 | 21 | |
| 3 | 22 | /* Define to 1 if you have the `dup2' function. */ |
| … |
… |
|
| 9 | 28 | /* Define to 1 if you have the `fork' function. */ |
| 10 | 29 | #undef HAVE_FORK |
| | 30 | |
| | 31 | /* Define if the GNU gettext() function is already present or preinstalled. */ |
| | 32 | #undef HAVE_GETTEXT |
| | 33 | |
| | 34 | /* Define if you have the iconv() function and it works. */ |
| | 35 | #undef HAVE_ICONV |
| 11 | 36 | |
| 12 | 37 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| … |
… |
|
| 66 | 91 | #undef HAVE_WORKING_VFORK |
| 67 | 92 | |
| | 93 | /* Define to the sub-directory in which libtool stores uninstalled libraries. |
| | 94 | */ |
| | 95 | #undef LT_OBJDIR |
| | 96 | |
| 68 | 97 | /* Name of package */ |
| 69 | 98 | #undef PACKAGE |
-
|
r2f9fc9a
|
r662ae78
|
|
| 16 | 16 | AC_SUBST(RAHUNAS_VERSION, major.minor.micro) |
| 17 | 17 | AC_SUBST(PROGRAM, "RahuNAS") |
| | 18 | |
| | 19 | # gettext |
| | 20 | AM_GNU_GETTEXT_VERSION([0.18.1]) |
| | 21 | AM_GNU_GETTEXT([external]) |
| 18 | 22 | |
| 19 | 23 | # Checks for programs. |
| … |
… |
|
| 90 | 94 | example/rahunas-vserver.conf |
| 91 | 95 | example/rahunas-serviceclass.conf |
| | 96 | weblogin-po/Makefile.in |
| 92 | 97 | ]) |
| 93 | 98 | |
-
|
rbcaa56a
|
r662ae78
|
|
| 1 | | # translation of RahuNAS Weblogin. |
| 2 | | # Copyright (C) 2008 Neutron Soutmun |
| 3 | | # This file is distributed under the same license as the RahuNAS Weblogin package. |
| 4 | | # <neo.neutron@gmail.com>, 2008. |
| 5 | | # , fuzzy |
| 6 | | # Neutron Soutmun <neo.neutron@gmail.com>, 2010. |
| | 1 | # Thai translations for rahunas-weblogin package. |
| | 2 | # Copyright (C) 2011 Neutron Soutmun <neutron@rahunas.org> |
| | 3 | # This file is distributed under the same license as the rahunas-weblogin package. |
| | 4 | # Neutron Soutmun <neutron@rahunas.org>, 2011. |
| 7 | 5 | # |
| 8 | 6 | msgid "" |
| 9 | 7 | msgstr "" |
| 10 | | "Project-Id-Version: RahuNAS Weblogin 0.2.0\n" |
| 11 | | "Report-Msgid-Bugs-To: \n" |
| 12 | | "POT-Creation-Date: 2010-08-02 18:15+0700\n" |
| 13 | | "PO-Revision-Date: 2010-08-02 18:22+0700\n" |
| 14 | | "Last-Translator: Neutron Soutmun <neo.neutron@gmail.com>\n" |
| 15 | | "Language-Team: <l10n@opentle.org>\n" |
| 16 | | "Language: \n" |
| | 8 | "Project-Id-Version: rahunas-weblogin 0.2.0\n" |
| | 9 | "Report-Msgid-Bugs-To: neutron@rahunas.org\n" |
| | 10 | "POT-Creation-Date: 2011-10-01 12:32+0700\n" |
| | 11 | "PO-Revision-Date: 2011-10-01 11:23+0700\n" |
| | 12 | "Last-Translator: Neutron Soutmun <neutron@rahunas.org>\n" |
| | 13 | "Language-Team: Thai\n" |
| | 14 | "Language: th_TH\n" |
| 17 | 15 | "MIME-Version: 1.0\n" |
| 18 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
| 19 | | "Content-Transfer-Encoding: \n" |
| | 17 | "Content-Transfer-Encoding: 8bit\n" |
| 20 | 18 | |
| 21 | | #: index.php:76 |
| | 19 | #: weblogin/chpwd.php:65 |
| | 20 | msgid "Can not connect database" |
| | 21 | msgstr "" |
| | 22 | |
| | 23 | #: weblogin/chpwd.php:69 |
| | 24 | msgid "Confirm password missmatch" |
| | 25 | msgstr "" |
| | 26 | |
| | 27 | #: weblogin/chpwd.php:72 |
| | 28 | msgid "Password has been changed" |
| | 29 | msgstr "" |
| | 30 | |
| | 31 | #: weblogin/chpwd.php:84 |
| | 32 | msgid "Please insert all information" |
| | 33 | msgstr "" |
| | 34 | |
| | 35 | #: weblogin/chpwd.php:91 weblogin/login.php:164 weblogin/logout.php:170 |
| | 36 | msgid "Username" |
| | 37 | msgstr "ชื่อผู้ใช้" |
| | 38 | |
| | 39 | #: weblogin/chpwd.php:94 weblogin/login.php:166 |
| | 40 | msgid "Password" |
| | 41 | msgstr "รหัสผ่าน" |
| | 42 | |
| | 43 | #: weblogin/chpwd.php:97 |
| | 44 | msgid "New Password" |
| | 45 | msgstr "รหัสผ่านใหม่" |
| | 46 | |
| | 47 | #: weblogin/chpwd.php:99 |
| | 48 | msgid "Confirm Password" |
| | 49 | msgstr "ยืนยันรหัสผ่าน" |
| | 50 | |
| | 51 | #: weblogin/chpwd.php:102 |
| | 52 | msgid "Change Password" |
| | 53 | msgstr "เปลี่ยนรหัสผ่าน" |
| | 54 | |
| | 55 | #: weblogin/index.php:76 |
| 22 | 56 | msgid "If it is not redirecting within 3 seconds" |
| 23 | 57 | msgstr "" |
| 24 | 58 | |
| 25 | | #: index.php:76 |
| | 59 | #: weblogin/index.php:76 |
| 26 | 60 | msgid "click" |
| 27 | 61 | msgstr "" |
| 28 | 62 | |
| 29 | | #: index.php:76 |
| | 63 | #: weblogin/index.php:76 |
| 30 | 64 | msgid "Login Page" |
| 31 | 65 | msgstr "" |
| 32 | 66 | |
| 33 | | #: login.php:163 logout.php:170 |
| 34 | | msgid "Username" |
| 35 | | msgstr "ชื่อผู้ใช้" |
| 36 | | |
| 37 | | #: login.php:165 |
| 38 | | msgid "Password" |
| 39 | | msgstr "รหัสผ่าน" |
| 40 | | |
| 41 | | #: login.php:168 |
| | 67 | #: weblogin/login.php:169 |
| 42 | 68 | msgid "Login" |
| 43 | 69 | msgstr "เข้าสู่ระบบ" |
| 44 | 70 | |
| 45 | | #: logout.php:47 |
| | 71 | #: weblogin/logout.php:47 |
| 46 | 72 | msgid "day" |
| 47 | 73 | msgstr "วัน" |
| 48 | 74 | |
| 49 | | #: logout.php:48 |
| | 75 | #: weblogin/logout.php:48 |
| 50 | 76 | msgid "days" |
| 51 | 77 | msgstr "วัน" |
| 52 | 78 | |
| 53 | | #: logout.php:50 |
| | 79 | #: weblogin/logout.php:50 |
| 54 | 80 | msgid "hour" |
| 55 | 81 | msgstr "ชั่วโมง" |
| 56 | 82 | |
| 57 | | #: logout.php:51 |
| | 83 | #: weblogin/logout.php:51 |
| 58 | 84 | msgid "hours" |
| 59 | 85 | msgstr "ชั่วโมง" |
| 60 | 86 | |
| 61 | | #: logout.php:53 |
| | 87 | #: weblogin/logout.php:53 |
| 62 | 88 | msgid "minute" |
| 63 | 89 | msgstr "นาที" |
| 64 | 90 | |
| 65 | | #: logout.php:54 |
| | 91 | #: weblogin/logout.php:54 |
| 66 | 92 | msgid "minutes" |
| 67 | 93 | msgstr "นาที" |
| 68 | 94 | |
| 69 | | #: logout.php:56 |
| | 95 | #: weblogin/logout.php:56 |
| 70 | 96 | msgid "second" |
| 71 | 97 | msgstr "วินาที" |
| 72 | 98 | |
| 73 | | #: logout.php:57 |
| | 99 | #: weblogin/logout.php:57 |
| 74 | 100 | msgid "seconds" |
| 75 | 101 | msgstr "วินาที" |
| 76 | 102 | |
| 77 | | #: logout.php:174 |
| | 103 | #: weblogin/logout.php:174 |
| 78 | 104 | msgid "Session Start" |
| 79 | 105 | msgstr "เริ่มวาระ" |
| 80 | 106 | |
| 81 | | #: logout.php:178 |
| | 107 | #: weblogin/logout.php:178 |
| 82 | 108 | msgid "Session End" |
| 83 | 109 | msgstr "สิ้นสุดวาระ" |
| 84 | 110 | |
| 85 | | #: logout.php:179 |
| | 111 | #: weblogin/logout.php:179 |
| 86 | 112 | msgid "Never" |
| 87 | | msgstr "ไม่มีสิ้นสุด" |
| | 113 | msgstr "ไม่มีกำหนด" |
| 88 | 114 | |
| 89 | | #: logout.php:183 |
| | 115 | #: weblogin/logout.php:183 |
| 90 | 116 | msgid "Session Time" |
| 91 | 117 | msgstr "เวลาใช้งาน" |
| 92 | 118 | |
| 93 | | #: logout.php:189 |
| | 119 | #: weblogin/logout.php:189 |
| 94 | 120 | msgid "Class of service" |
| 95 | | msgstr "ระดับการให้บริการ" |
| | 121 | msgstr "บริการพิเศษ" |
| 96 | 122 | |
| 97 | | #: logout.php:194 |
| | 123 | #: weblogin/logout.php:194 |
| 98 | 124 | msgid "Request URL" |
| 99 | 125 | msgstr "URL ที่ร้องขอ" |
| 100 | 126 | |
| 101 | | #: logout.php:201 |
| | 127 | #: weblogin/logout.php:201 |
| 102 | 128 | msgid "OK" |
| 103 | 129 | msgstr "ตกลง" |
| 104 | 130 | |
| 105 | | #: logout.php:202 |
| | 131 | #: weblogin/logout.php:202 |
| 106 | 132 | msgid "Logout" |
| 107 | 133 | msgstr "เลิกใช้งาน" |
| 108 | 134 | |
| 109 | | #: messages.php:35 |
| | 135 | #: weblogin/messages.php:35 |
| 110 | 136 | msgid "Error! Could not connect to the server" |
| 111 | 137 | msgstr "ผิดพลาด! ไม่สามารถเชื่อมต่อกับเครื่องแม่ข่ายได้" |
| 112 | 138 | |
| 113 | | #: messages.php:36 |
| | 139 | #: weblogin/messages.php:36 |
| 114 | 140 | msgid "Error! Could not connect to the authenticator server" |
| 115 | 141 | msgstr "ผิดพลาด! ไม่สามารถเชื่อมต่อกับเครื่องตรวจสอบสิทธิ์ได้" |
| 116 | 142 | |
| 117 | | #: messages.php:37 |
| | 143 | #: weblogin/messages.php:37 |
| 118 | 144 | msgid "Error! User has been reach the maximum login" |
| 119 | 145 | msgstr "ผิดพลาด! ผู้ใช้นี้ทำการเข้าระบบพร้อมกันเกินจำนวนที่กำหนดไว้" |
| 120 | 146 | |
| 121 | | #: messages.php:38 |
| | 147 | #: weblogin/messages.php:38 |
| 122 | 148 | msgid "Error! User already login" |
| 123 | 149 | msgstr "ผิดพลาด! ผู้ใช้นี้ได้เข้าระบบแล้ว" |
| 124 | 150 | |
| 125 | | #: messages.php:39 |
| | 151 | #: weblogin/messages.php:39 |
| 126 | 152 | msgid "Error! User expired" |
| 127 | 153 | msgstr "ผิดพลาด! ผู้ใช้นี้หมดอายุลงแล้ว" |
| 128 | 154 | |
| 129 | | #: messages.php:40 |
| | 155 | #: weblogin/messages.php:40 |
| 130 | 156 | msgid "Error! Invalid IP address" |
| 131 | | msgstr "ผิดพลาด! IP address ไม่ถูกต้อง" |
| | 157 | msgstr "ผิดพลาด! หมายเลข IP ไม่ถูกต้อง" |
| 132 | 158 | |
| 133 | | #: messages.php:42 |
| | 159 | #: weblogin/messages.php:42 |
| 134 | 160 | msgid "Error! Invalid username or password" |
| 135 | 161 | msgstr "ผิดพลาด! ชื่อผู้ใช้ หรือ รหัสผ่าน ไม่ถูกต้อง" |
| 136 | 162 | |
| 137 | | #: messages.php:43 |
| | 163 | #: weblogin/messages.php:43 |
| 138 | 164 | msgid "Error! Logout failed! please try again" |
| 139 | 165 | msgstr "ผิดพลาด! ไม่สามารถเลิกใช้งานได้ กรุณาลองใหม่อีกครั้ง" |
| 140 | 166 | |
| 141 | | #: messages.php:44 |
| | 167 | #: weblogin/messages.php:44 |
| 142 | 168 | msgid "Error! Please login" |
| 143 | 169 | msgstr "ผิดพลาด! กรุณาเข้าสู่ระบบ" |
| 144 | 170 | |
| 145 | | #: messages.php:47 |
| | 171 | #: weblogin/messages.php:47 |
| 146 | 172 | msgid "Success! User has been authorized, please wait a moment" |
| 147 | 173 | msgstr "สำเร็จ! ผู้ใช้นี้ผ่านการตรวจสอบ กรุณารอสักครู่" |
| 148 | 174 | |
| 149 | | #: messages.php:48 |
| | 175 | #: weblogin/messages.php:48 |
| 150 | 176 | msgid "Success! User has been logout" |
| 151 | 177 | msgstr "สำเร็จ! ผู้ใช้นี้ ได้เลิกใช้งานแล้ว" |
| 152 | 178 | |
| 153 | | #~ msgid "Expired" |
| 154 | | #~ msgstr "หมดอายุ" |
| | 179 | #: weblogin/user.class.php:78 |
| | 180 | msgid "Error to query database" |
| | 181 | msgstr "" |
| 155 | 182 | |
| 156 | | #~ msgid "Go! Go! Go!" |
| 157 | | #~ msgstr "ไป! กัน! เลย!" |
| | 183 | #: weblogin/user.class.php:83 weblogin/user.class.php:102 |
| | 184 | msgid "Invalid username or password" |
| | 185 | msgstr "" |
| | 186 | |
| | 187 | #: weblogin/user.class.php:120 |
| | 188 | msgid "Error to change password" |
| | 189 | msgstr "" |