From 22751aa4f776beaa51bb4d772a24d5959b6eeb72 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 22 Jun 2018 15:20:22 +0200 Subject: [PATCH] Add support for Korean changelog descriptions. --- lib/TclUpdates/SQLiteWriter.php | 1 + lib/TclUpdates/XmlParser.php | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/TclUpdates/SQLiteWriter.php b/lib/TclUpdates/SQLiteWriter.php index 52155f0..da8f617 100644 --- a/lib/TclUpdates/SQLiteWriter.php +++ b/lib/TclUpdates/SQLiteWriter.php @@ -101,6 +101,7 @@ class SQLiteWriter 'note' => array( 'en' => $g->description_en, 'ja' => $g->description_ja, + 'ko' => $g->description_ko, 'zh' => $g->description_zh, ), 'pubDate' => $g->time, diff --git a/lib/TclUpdates/XmlParser.php b/lib/TclUpdates/XmlParser.php index 4c8fe81..7034657 100644 --- a/lib/TclUpdates/XmlParser.php +++ b/lib/TclUpdates/XmlParser.php @@ -24,6 +24,7 @@ class XmlParser 'file_version' => '//FILESET/FILE[1]/FILE_VERSION', 'description_en' => '//DESCRIPTION/en', 'description_ja' => '//DESCRIPTION/ja', + 'description_ko' => '//DESCRIPTION/ko', 'description_zh' => '//DESCRIPTION/zh', );