Advertisement
pusatdata

Mengganti WP Penanggalan ke Bhs Indonesia via Core Edit

Mar 24th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.12 KB | None | 0 0
  1. 1. Cari wp-includes/class-wp-locale.php
  2.  
  3. 2. Ganti bagian berikut baris 127 sampai 195:
  4.  
  5. public function init() {
  6. // The Weekdays
  7. $this->weekday[0] = /* translators: weekday */ __('Sunday');
  8. $this->weekday[1] = /* translators: weekday */ __('Monday');
  9. $this->weekday[2] = /* translators: weekday */ __('Tuesday');
  10. $this->weekday[3] = /* translators: weekday */ __('Wednesday');
  11. $this->weekday[4] = /* translators: weekday */ __('Thursday');
  12. $this->weekday[5] = /* translators: weekday */ __('Friday');
  13. $this->weekday[6] = /* translators: weekday */ __('Saturday');
  14.  
  15. // The first letter of each day.
  16. $this->weekday_initial[ __( 'Sunday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Sunday initial' );
  17. $this->weekday_initial[ __( 'Monday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'M', 'Monday initial' );
  18. $this->weekday_initial[ __( 'Tuesday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'T', 'Tuesday initial' );
  19. $this->weekday_initial[ __( 'Wednesday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'W', 'Wednesday initial' );
  20. $this->weekday_initial[ __( 'Thursday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'T', 'Thursday initial' );
  21. $this->weekday_initial[ __( 'Friday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'F', 'Friday initial' );
  22. $this->weekday_initial[ __( 'Saturday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Saturday initial' );
  23.  
  24. // Abbreviations for each day.
  25. $this->weekday_abbrev[__('Sunday')] = /* translators: three-letter abbreviation of the weekday */ __('Sun');
  26. $this->weekday_abbrev[__('Monday')] = /* translators: three-letter abbreviation of the weekday */ __('Mon');
  27. $this->weekday_abbrev[__('Tuesday')] = /* translators: three-letter abbreviation of the weekday */ __('Tue');
  28. $this->weekday_abbrev[__('Wednesday')] = /* translators: three-letter abbreviation of the weekday */ __('Wed');
  29. $this->weekday_abbrev[__('Thursday')] = /* translators: three-letter abbreviation of the weekday */ __('Thu');
  30. $this->weekday_abbrev[__('Friday')] = /* translators: three-letter abbreviation of the weekday */ __('Fri');
  31. $this->weekday_abbrev[__('Saturday')] = /* translators: three-letter abbreviation of the weekday */ __('Sat');
  32.  
  33. // The Months
  34. $this->month['01'] = /* translators: month name */ __( 'January' );
  35. $this->month['02'] = /* translators: month name */ __( 'February' );
  36. $this->month['03'] = /* translators: month name */ __( 'March' );
  37. $this->month['04'] = /* translators: month name */ __( 'April' );
  38. $this->month['05'] = /* translators: month name */ __( 'May' );
  39. $this->month['06'] = /* translators: month name */ __( 'June' );
  40. $this->month['07'] = /* translators: month name */ __( 'July' );
  41. $this->month['08'] = /* translators: month name */ __( 'August' );
  42. $this->month['09'] = /* translators: month name */ __( 'September' );
  43. $this->month['10'] = /* translators: month name */ __( 'October' );
  44. $this->month['11'] = /* translators: month name */ __( 'November' );
  45. $this->month['12'] = /* translators: month name */ __( 'December' );
  46.  
  47. // The Months, genitive
  48. $this->month_genitive['01'] = /* translators: month name, genitive */ _x( 'January', 'genitive' );
  49. $this->month_genitive['02'] = /* translators: month name, genitive */ _x( 'February', 'genitive' );
  50. $this->month_genitive['03'] = /* translators: month name, genitive */ _x( 'March', 'genitive' );
  51. $this->month_genitive['04'] = /* translators: month name, genitive */ _x( 'April', 'genitive' );
  52. $this->month_genitive['05'] = /* translators: month name, genitive */ _x( 'May', 'genitive' );
  53. $this->month_genitive['06'] = /* translators: month name, genitive */ _x( 'June', 'genitive' );
  54. $this->month_genitive['07'] = /* translators: month name, genitive */ _x( 'July', 'genitive' );
  55. $this->month_genitive['08'] = /* translators: month name, genitive */ _x( 'August', 'genitive' );
  56. $this->month_genitive['09'] = /* translators: month name, genitive */ _x( 'September', 'genitive' );
  57. $this->month_genitive['10'] = /* translators: month name, genitive */ _x( 'October', 'genitive' );
  58. $this->month_genitive['11'] = /* translators: month name, genitive */ _x( 'November', 'genitive' );
  59. $this->month_genitive['12'] = /* translators: month name, genitive */ _x( 'December', 'genitive' );
  60.  
  61. // Abbreviations for each month.
  62. $this->month_abbrev[ __( 'January' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jan', 'January abbreviation' );
  63. $this->month_abbrev[ __( 'February' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Feb', 'February abbreviation' );
  64. $this->month_abbrev[ __( 'March' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Mar', 'March abbreviation' );
  65. $this->month_abbrev[ __( 'April' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Apr', 'April abbreviation' );
  66. $this->month_abbrev[ __( 'May' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'May', 'May abbreviation' );
  67. $this->month_abbrev[ __( 'June' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jun', 'June abbreviation' );
  68. $this->month_abbrev[ __( 'July' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jul', 'July abbreviation' );
  69. $this->month_abbrev[ __( 'August' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Aug', 'August abbreviation' );
  70. $this->month_abbrev[ __( 'September' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Sep', 'September abbreviation' );
  71. $this->month_abbrev[ __( 'October' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Oct', 'October abbreviation' );
  72. $this->month_abbrev[ __( 'November' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Nov', 'November abbreviation' );
  73. $this->month_abbrev[ __( 'December' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Dec', 'December abbreviation' );
  74.  
  75.  
  76.  
  77. 3. Hasil OK setelah diganti:
  78.  
  79. public function init() {
  80. // The Weekdays
  81. $this->weekday[0] = /* translators: weekday */ __('Minggu');
  82. $this->weekday[1] = /* translators: weekday */ __('Senin');
  83. $this->weekday[2] = /* translators: weekday */ __('Selasa');
  84. $this->weekday[3] = /* translators: weekday */ __('Rabu');
  85. $this->weekday[4] = /* translators: weekday */ __('Kamis');
  86. $this->weekday[5] = /* translators: weekday */ __('Jumat');
  87. $this->weekday[6] = /* translators: weekday */ __('Sabtu');
  88.  
  89. // The first letter of each day.
  90. $this->weekday_initial[ __( 'Minggu' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'M', 'Minggu initial' );
  91. $this->weekday_initial[ __( 'Senin' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Senin initial' );
  92. $this->weekday_initial[ __( 'Selasa' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Selasa initial' );
  93. $this->weekday_initial[ __( 'Rabu' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'R', 'Rabu initial' );
  94. $this->weekday_initial[ __( 'Kamis' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'K', 'Kamis initial' );
  95. $this->weekday_initial[ __( 'Jumat' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'J', 'Jumat initial' );
  96. $this->weekday_initial[ __( 'Sabtu' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Sabtu initial' );
  97.  
  98. // Abbreviations for each day.
  99. $this->weekday_abbrev[__('Minggu')] = /* translators: three-letter abbreviation of the weekday */ __('Min');
  100. $this->weekday_abbrev[__('Senin')] = /* translators: three-letter abbreviation of the weekday */ __('Sen');
  101. $this->weekday_abbrev[__('Selasa')] = /* translators: three-letter abbreviation of the weekday */ __('Sel');
  102. $this->weekday_abbrev[__('Rabu')] = /* translators: three-letter abbreviation of the weekday */ __('Rab');
  103. $this->weekday_abbrev[__('Kamis')] = /* translators: three-letter abbreviation of the weekday */ __('Kam');
  104. $this->weekday_abbrev[__('Jumat')] = /* translators: three-letter abbreviation of the weekday */ __('Jum');
  105. $this->weekday_abbrev[__('Sabtu')] = /* translators: three-letter abbreviation of the weekday */ __('Sab');
  106.  
  107. // The Months
  108. $this->month['01'] = /* translators: month name */ __( 'Januari' );
  109. $this->month['02'] = /* translators: month name */ __( 'Februari' );
  110. $this->month['03'] = /* translators: month name */ __( 'Maret' );
  111. $this->month['04'] = /* translators: month name */ __( 'April' );
  112. $this->month['05'] = /* translators: month name */ __( 'Mei' );
  113. $this->month['06'] = /* translators: month name */ __( 'Juni' );
  114. $this->month['07'] = /* translators: month name */ __( 'Juli' );
  115. $this->month['08'] = /* translators: month name */ __( 'Agustus' );
  116. $this->month['09'] = /* translators: month name */ __( 'September' );
  117. $this->month['10'] = /* translators: month name */ __( 'Oktober' );
  118. $this->month['11'] = /* translators: month name */ __( 'November' );
  119. $this->month['12'] = /* translators: month name */ __( 'Desember' );
  120.  
  121. // The Months, genitive
  122. $this->month_genitive['01'] = /* translators: month name, genitive */ _x( 'Januari', 'genitive' );
  123. $this->month_genitive['02'] = /* translators: month name, genitive */ _x( 'Februari', 'genitive' );
  124. $this->month_genitive['03'] = /* translators: month name, genitive */ _x( 'Maret', 'genitive' );
  125. $this->month_genitive['04'] = /* translators: month name, genitive */ _x( 'April', 'genitive' );
  126. $this->month_genitive['05'] = /* translators: month name, genitive */ _x( 'Mei', 'genitive' );
  127. $this->month_genitive['06'] = /* translators: month name, genitive */ _x( 'Juni', 'genitive' );
  128. $this->month_genitive['07'] = /* translators: month name, genitive */ _x( 'Juli', 'genitive' );
  129. $this->month_genitive['08'] = /* translators: month name, genitive */ _x( 'Agustus', 'genitive' );
  130. $this->month_genitive['09'] = /* translators: month name, genitive */ _x( 'September', 'genitive' );
  131. $this->month_genitive['10'] = /* translators: month name, genitive */ _x( 'Oktober', 'genitive' );
  132. $this->month_genitive['11'] = /* translators: month name, genitive */ _x( 'November', 'genitive' );
  133. $this->month_genitive['12'] = /* translators: month name, genitive */ _x( 'Desember', 'genitive' );
  134.  
  135. // Abbreviations for each month.
  136. $this->month_abbrev[ __( 'Januari' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jan', 'Januari abbreviation' );
  137. $this->month_abbrev[ __( 'Februari' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Feb', 'Februari abbreviation' );
  138. $this->month_abbrev[ __( 'Maret' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Mar', 'Maret abbreviation' );
  139. $this->month_abbrev[ __( 'April' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Apr', 'April abbreviation' );
  140. $this->month_abbrev[ __( 'Mei' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Mei', 'Mei abbreviation' );
  141. $this->month_abbrev[ __( 'Juni' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jun', 'Juni abbreviation' );
  142. $this->month_abbrev[ __( 'Juli' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Jul', 'Juli abbreviation' );
  143. $this->month_abbrev[ __( 'Agustus' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Agu', 'Agustus abbreviation' );
  144. $this->month_abbrev[ __( 'September' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Sep', 'September abbreviation' );
  145. $this->month_abbrev[ __( 'Oktober' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Okt', 'Oktober abbreviation' );
  146. $this->month_abbrev[ __( 'November' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Nov', 'November abbreviation' );
  147. $this->month_abbrev[ __( 'Desember' ) ] = /* translators: three-letter abbreviation of the month */ _x( 'Des', 'Desember abbreviation' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement