Skip to content

Commit 6e8219f

Browse files
committed
release preparation for 2.0.2
1 parent 342b9bb commit 6e8219f

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

data/autocorrect.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ ausadhi = "औषधि"
5454
kankro = "काँक्रो"
5555
kangres = "काँग्रेस"
5656
chapagain = "चापागाईँ"
57+
tapai = "तपाईँ"
5758

5859
# Removed big file to ease resource usage
5960
# Will add littele by little while typing needed words.

data/mapping.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Symbols are enclosed in single quotes to avoid parsing conflicts in some file formats (e.g., TOML).
2727
# These map specific Roman symbols to Devanagari diacritics and punctuation.
2828
'*' = "" # Anusvara
29-
'&' = "" # Candrabindu
29+
'**' = "" # Candrabindu
3030
'.' = "" # Purnabiram (Devanagari danda)
3131
'\\' = "" # Halant (Virama)
3232
'/' = "/" # Slash
@@ -50,6 +50,7 @@
5050
'"' = '"' # Double quote
5151
"'" = "'" # Single quote
5252
'~' = "~" # Tilde
53+
'&' = "&" # Ampersand
5354

5455
# Special Words:
5556
# Direct mapping for specific Roman words to their Devanagari forms.

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eEuo pipefail
33

44
# This line will be replaced by the release script with the correct version
5-
VERSION=2.0.1
5+
VERSION=2.0.2
66

77
REPO="khumnath/fcitx5-lekhika"
88
ARCHIVE="fcitx5-lekhika-${VERSION}.tar.gz"

lekhika.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ void NepaliRomanEngine::reloadConfig() {
7272
}
7373

7474
void NepaliRomanEngine::activate(const InputMethodEntry &,
75-
InputContextEvent &event) {
76-
reloadConfig();
75+
InputContextEvent &) {
76+
reloadConfig();
7777
}
7878

7979
void NepaliRomanEngine::keyEvent(const InputMethodEntry &, KeyEvent &keyEvent) {
@@ -554,7 +554,7 @@ std::string NepaliRomanEngine::preprocessInput(const std::string &input) {
554554
char c = input[i];
555555
std::string symbol(1, c);
556556

557-
// Skip adding space before special symbols like "*"
557+
// Skip adding space before special symbols like
558558
if (specialSymbols.find(c) != std::string::npos) {
559559
out += c;
560560
continue;

lekhika.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class NepaliRomanEngine : public InputMethodEngine {
4040
const Configuration *getConfig() const override;
4141
Configuration *getMutableConfig();
4242
void setConfig(const RawConfig &rawConfig) override;
43-
void activate(const InputMethodEntry &, InputContextEvent &event) override;
43+
void activate(const InputMethodEntry &, InputContextEvent &) override;
4444
void deactivate(const InputMethodEntry &, InputContextEvent &event) override;
4545
void keyEvent(const InputMethodEntry &, KeyEvent &keyEvent) override;
4646
void reset(const InputMethodEntry &entry, InputContextEvent &event) override;

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.1
1+
2.0.2

0 commit comments

Comments
 (0)