-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
38,490 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*~ | ||
build*/ | ||
.* | ||
!.git* | ||
.git/ | ||
tags | ||
astyle.sh | ||
cscope.* | ||
scripts*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
|
||
project(fcitx5-table-lekhika VERSION 1.0.0) | ||
|
||
find_package(ECM 1.0 REQUIRED) | ||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) | ||
|
||
include(FeatureSummary) | ||
include(GNUInstallDirs) | ||
include(ECMUninstallTarget) | ||
|
||
find_package(Gettext REQUIRED) | ||
find_package(LibIMETable REQUIRED) | ||
find_package(Fcitx5Core REQUIRED) | ||
|
||
add_subdirectory(icons) | ||
add_subdirectory(tables) | ||
|
||
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
gen_pot appdata:desktop fcitx5-table-lekhika po . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
fcitx5-table-lekhika => nepali input method for fcitx | ||
|
||
##Description | ||
============== | ||
Lekhika (https://khumnath.com.np/posts/lekhika) table for fcitx | ||
|
||
##How to install | ||
============== | ||
mkdir build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr | ||
|
||
### feature | ||
============== | ||
|
||
- [x] basic nepali typing | ||
- [x] improved suggestion words | ||
- [ ] remove unneeded words | ||
- [ ] add more dictionary | ||
- [ ] and more to do as i experiment :smile: | ||
|
||
### problems | ||
============== | ||
|
||
some autocorrect words may disturb typing i am still improving. | ||
|
||
### contribution | ||
============== | ||
|
||
contributions are welcome. dictionary and other improvements can be made as find difficulties when typing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set(ICON48 | ||
fcitx5-lekhika.png) | ||
|
||
install(FILES | ||
${ICON48} | ||
DESTINATION share/icons/hicolor/48x48/apps) | ||
|
||
foreach(icon ${ICON48}) | ||
string(REPLACE "fcitx5-" "" icon_new ${icon}) | ||
install(FILES ${icon} RENAME ${icon_new} DESTINATION share/fcitx/imicon) | ||
endforeach() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ne | ||
hi | ||
en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# | ||
# Weng Xuetian <[email protected]>, 2013. | ||
msgid "" | ||
msgstr "" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-26 09:10-0800\n" | ||
"PO-Revision-Date: 2013-04-29 22:49-0400\n" | ||
"Last-Translator: khumnath <[email protected]>\n" | ||
"Language-Team: Fcitx Dev <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"X-Generator: Lokalize 1.5\n" | ||
|
||
#: tables/lekhika.conf.in:4 | ||
msgid "lekhika" | ||
msgstr "Lekhika" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the fcitx5-table-lekhika package. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: fcitx5-table-lekhika\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-26 09:13+0900\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <[email protected]>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"Language: LANG\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: tables/lekhika.conf.in:4 | ||
msgid "lekhika" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# | ||
# Weng Xuetian <[email protected]>, 2013. | ||
# khumnath <[email protected]>, 2023. | ||
msgid "" | ||
msgstr "" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-26 09:10-0800\n" | ||
"PO-Revision-Date: 2013-04-29 22:49-0400\n" | ||
"Last-Translator: khumnath <[email protected]>\n" | ||
"Language-Team: Fcitx Dev <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"X-Generator: Lokalize 1.5\n" | ||
|
||
#: tables/lekhika.conf.in:4 | ||
msgid "lekhika" | ||
msgstr "लेखिका" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# | ||
# Weng Xuetian <[email protected]>, 2013. | ||
# khumnath <[email protected]>, 2023. | ||
msgid "" | ||
msgstr "" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-26 09:10-0800\n" | ||
"PO-Revision-Date: 2013-04-29 22:49-0400\n" | ||
"Last-Translator: khumnath <[email protected]>\n" | ||
"Language-Team: Fcitx Dev <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"X-Generator: Lokalize 1.5\n" | ||
|
||
#: tables/lekhika.conf.in:4 | ||
msgid "lekhika" | ||
msgstr "लेखिका" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
set(TABLE_NAME | ||
lekhika | ||
) | ||
|
||
set(MB_FILE) | ||
set(CONF_FILE) | ||
|
||
foreach(table ${TABLE_NAME}) | ||
fcitx5_translate_desktop_file("${table}.conf.in" "${table}.conf") | ||
add_custom_command(OUTPUT "${table}.main.dict" | ||
DEPENDS "${table}.txt" | ||
COMMAND LibIME::tabledict ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${table}.txt" | ||
"${CMAKE_CURRENT_BINARY_DIR}/${table}.main.dict") | ||
set(MB_FILE ${MB_FILE} "${CMAKE_CURRENT_BINARY_DIR}/${table}.main.dict") | ||
set(CONF_FILE ${CONF_FILE} "${CMAKE_CURRENT_BINARY_DIR}/${table}.conf") | ||
endforeach() | ||
add_custom_target(table_data ALL DEPENDS ${MB_FILE}) | ||
|
||
install(FILES ${CONF_FILE} DESTINATION "${FCITX_INSTALL_PKGDATADIR}/inputmethod") | ||
install(FILES ${MB_FILE} DESTINATION "${FCITX_INSTALL_PKGDATADIR}/table") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[InputMethod] | ||
Name=लेखिका- nepali input fcitx5 table | ||
Icon=fcitx5-lekhika | ||
Label=lekhika | ||
LangCode=ne | ||
Addon=table | ||
Configurable=True | ||
|
||
[Table] | ||
IconName=lekhika-ne | ||
File=table/lekhika.main.dict | ||
OrderPolicy=No | ||
AutoSelect=True | ||
AutoSelectLength=-1 | ||
NoMatchAutoSelectLength=1 | ||
Learning=False | ||
ExactMatch=False | ||
UseAlternativePageKey=True | ||
FirstCandidateAsPreedit=True | ||
CommitInvalidSegment=True | ||
|
||
[Table/PrevPage] | ||
0=Page_Up | ||
|
||
[Table/NextPage] | ||
0=Page_Down |
Oops, something went wrong.