Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Apr 22, 2024
1 parent 800a835 commit a9bff37
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.6.0)
project(fcitx5-chinese-addons VERSION 5.1.4)
project(fcitx5-chinese-addons VERSION 5.1.5)

find_package(ECM REQUIRED 1.0.0)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
Expand Down
3 changes: 2 additions & 1 deletion im/pinyin/workerthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void WorkerThread::run() {
}
// Run the actual task.
task.task();
dispatcher_.scheduleWithContext(std::move(task.context), std::move(task.callback));
dispatcher_.scheduleWithContext(std::move(task.context),
std::move(task.callback));
}
}
6 changes: 3 additions & 3 deletions modules/chttrans/chttrans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ const Configuration *Chttrans::getConfig() const {
std::vector<std::pair<std::string, std::string>> profiles{
{"default", _("Default")}};
constexpr std::string_view JsonSuffix = ".json";
auto files =
openCCStandardPath().multiOpen(StandardPath::Type::PkgData, ".", O_RDONLY,
filter::Suffix(std::string(JsonSuffix)));
auto files = openCCStandardPath().multiOpen(
StandardPath::Type::PkgData, ".", O_RDONLY,
filter::Suffix(std::string(JsonSuffix)));
profiles.reserve(files.size() + 1);
// files is std::map, so file name is already sorted.
for (const auto &file : files) {
Expand Down
6 changes: 4 additions & 2 deletions modules/chttrans/chttrans.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ FCITX_CONFIGURATION(
fcitx::Option<std::string, fcitx::NoConstrain<std::string>,
fcitx::DefaultMarshaller<std::string>, OpenCCAnnotation>
openCCS2TProfile{this, "OpenCCS2TProfile",
_("OpenCC profile for Simplified to Traditional"), "default"};
_("OpenCC profile for Simplified to Traditional"),
"default"};
fcitx::Option<std::string, fcitx::NoConstrain<std::string>,
fcitx::DefaultMarshaller<std::string>, OpenCCAnnotation>
openCCT2SProfile{this, "OpenCCT2SProfile",
_("OpenCC profile for Traditional to Simplified"), "default"};
_("OpenCC profile for Traditional to Simplified"),
"default"};
#endif
);

Expand Down
1 change: 1 addition & 0 deletions org.fcitx.Fcitx5.Addon.ChineseAddons.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<url type="vcs-browser">https://github.com/fcitx/fcitx5-chinese-addons</url>
<project_group>Fcitx</project_group>
<releases>
<release version="5.1.5" date="2024-04-22"/>
<release version="5.1.4" date="2024-02-28"/>
<release version="5.1.3" date="2024-01-02"/>
<release version="5.1.2" date="2023-11-01"/>
Expand Down

0 comments on commit a9bff37

Please sign in to comment.