grid.locale-kr.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /**
  2. * jqGrid Korean Translation
  3. **/
  4. /*jslint white: true */
  5. /*global jQuery, module, require */
  6. (function (factory) {
  7. "use strict";
  8. if (typeof define === "function" && define.amd) {
  9. // AMD. Register as an anonymous module.
  10. define(["jquery"], factory);
  11. } else if (typeof module === "object" && module.exports) {
  12. // Node/CommonJS
  13. module.exports = function (root, $) {
  14. if ($ === undefined) {
  15. // require("jquery") returns a factory that requires window to
  16. // build a jQuery instance, we normalize how we use modules
  17. // that require this pattern but the window provided is a noop
  18. // if it's defined (how jquery works)
  19. $ = typeof window !== "undefined" ?
  20. require("jquery") :
  21. require("jquery")(root || window);
  22. }
  23. factory($);
  24. return $;
  25. };
  26. } else {
  27. // Browser globals
  28. factory(jQuery);
  29. }
  30. }(function ($) {
  31. "use strict";
  32. var locInfo = {
  33. isRTL: false,
  34. defaults: {
  35. recordtext: "보기 {0} - {1} / {2}",
  36. emptyrecords: "표시할 행이 없습니다",
  37. loadtext: "조회중...",
  38. pgtext: "페이지 {0} / {1}",
  39. pgfirst: "First Page",
  40. pglast: "Last Page",
  41. pgnext: "Next Page",
  42. pgprev: "Previous Page",
  43. pgrecs: "Records per Page",
  44. showhide: "Toggle Expand Collapse Grid",
  45. savetext: "저장 중..."
  46. },
  47. search: {
  48. caption: "검색...",
  49. Find: "찾기",
  50. Reset: "초기화",
  51. odata: [
  52. { oper: "eq", text: "같다" },
  53. { oper: "ne", text: "같지 않다" },
  54. { oper: "lt", text: "작다" },
  55. { oper: "le", text: "작거나 같다" },
  56. { oper: "gt", text: "크다" },
  57. { oper: "ge", text: "크거나 같다" },
  58. { oper: "bw", text: "로 시작한다" },
  59. { oper: "bn", text: "로 시작하지 않는다" },
  60. { oper: "in", text: "내에 있다" },
  61. { oper: "ni", text: "내에 있지 않다" },
  62. { oper: "ew", text: "로 끝난다" },
  63. { oper: "en", text: "로 끝나지 않는다" },
  64. { oper: "cn", text: "내에 존재한다" },
  65. { oper: "nc", text: "내에 존재하지 않는다" },
  66. { oper: "nu", text: "is null" },
  67. { oper: "nn", text: "is not null" }
  68. ],
  69. groupOps: [
  70. { op: "AND", text: "전부" },
  71. { op: "OR", text: "임의" }
  72. ],
  73. addGroupTitle: "Add subgroup",
  74. deleteGroupTitle: "Delete group",
  75. addRuleTitle: "Add rule",
  76. deleteRuleTitle: "Delete rule",
  77. operandTitle: "Click to select search operation.",
  78. resetTitle: "Reset Search Value"
  79. },
  80. edit: {
  81. addCaption: "행 추가",
  82. editCaption: "행 수정",
  83. bSubmit: "전송",
  84. bCancel: "취소",
  85. bClose: "닫기",
  86. saveData: "자료가 변경되었습니다! 저장하시겠습니까?",
  87. bYes: "예",
  88. bNo: "아니오",
  89. bExit: "취소",
  90. msg: {
  91. required: "필수항목입니다",
  92. number: "유효한 번호를 입력해 주세요",
  93. minValue: "입력값은 크거나 같아야 합니다",
  94. maxValue: "입력값은 작거나 같아야 합니다",
  95. email: "유효하지 않은 이메일주소입니다",
  96. integer: "유효한 숫자를 입력하세요",
  97. date: "유효한 날짜를 입력하세요",
  98. url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')",
  99. nodefined: " 은 정의도지 않았습니다!",
  100. novalue: " 반환값이 필요합니다!",
  101. customarray: "사용자정의 함수는 배열을 반환해야 합니다!",
  102. customfcheck: "Custom function should be present in case of custom checking!"
  103. }
  104. },
  105. view: {
  106. caption: "행 조회",
  107. bClose: "닫기"
  108. },
  109. del: {
  110. caption: "삭제",
  111. msg: "선택된 행을 삭제하시겠습니까?",
  112. bSubmit: "삭제",
  113. bCancel: "취소"
  114. },
  115. nav: {
  116. edittext: "",
  117. edittitle: "선택된 행 편집",
  118. addtext: "",
  119. addtitle: "행 삽입",
  120. deltext: "",
  121. deltitle: "선택된 행 삭제",
  122. searchtext: "",
  123. searchtitle: "행 찾기",
  124. refreshtext: "",
  125. refreshtitle: "그리드 갱신",
  126. alertcap: "경고",
  127. alerttext: "행을 선택하세요",
  128. viewtext: "",
  129. viewtitle: "선택된 행 조회",
  130. savetext: "",
  131. savetitle: "Save row",
  132. canceltext: "",
  133. canceltitle: "Cancel row editing"
  134. },
  135. col: {
  136. caption: "열을 선택하세요",
  137. bSubmit: "확인",
  138. bCancel: "취소"
  139. },
  140. errors: {
  141. errcap: "오류",
  142. nourl: "설정된 url이 없습니다",
  143. norecords: "처리할 행이 없습니다",
  144. model: "colNames의 길이가 colModel과 일치하지 않습니다!"
  145. },
  146. formatter: {
  147. integer: { thousandsSeparator: ",", defaultValue: "0" },
  148. number: { decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: "0.00" },
  149. currency: { decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
  150. date: {
  151. dayNames: [
  152. "일", "월", "화", "수", "목", "금", "토",
  153. "일", "월", "화", "수", "목", "금", "토"
  154. ],
  155. monthNames: [
  156. "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월",
  157. "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
  158. ],
  159. AmPm: ["am", "pm", "AM", "PM"],
  160. S: function (j) {
  161. return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
  162. },
  163. srcformat: "Y-m-d",
  164. newformat: "m-d-Y",
  165. masks: {
  166. ShortDate: "Y/j/n",
  167. LongDate: "l, F d, Y",
  168. FullDateTime: "l, F d, Y g:i:s A",
  169. MonthDay: "F d",
  170. ShortTime: "g:i A",
  171. LongTime: "g:i:s A",
  172. YearMonth: "F, Y"
  173. }
  174. }
  175. }
  176. };
  177. $.jgrid = $.jgrid || {};
  178. $.extend(true, $.jgrid, {
  179. defaults: {
  180. locale: "kr"
  181. },
  182. locales: {
  183. // In general the property name is free, but it's recommended to use the names based on
  184. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  185. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  186. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  187. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  188. kr: $.extend({}, locInfo, { name: "한국어", nameEnglish: "Korean" }),
  189. ko: $.extend({}, locInfo, { name: "한국어", nameEnglish: "Korean" }),
  190. "ko-KR": $.extend({}, locInfo, { name: "한국어 (대한민국)", nameEnglish: "Korean (Korea)" })
  191. }
  192. });
  193. }));