Commit graph

20 commits

Author SHA1 Message Date
Ayush Singh 1b8354d05b Made qmetaobject optional dep. 2021-12-23 17:35:16 +05:30
Ayush Singh bb82d5fdfc Added methods to KLocalizedString.
Not added tests yet since dunno how to use some of the methods.
2021-12-23 16:07:20 +05:30
Ayush Singh b237f0e4ff Removing KCountry for now.
Cannot find the package providing KCountry.h in Ubuntu. It is present
with the normal KI18n in Arch Linux so no idea what to do.
2021-12-23 15:14:45 +05:30
Ayush Singh 10f1b9ab50 Now Linking and Including KF5I18nLocaleData.
Required for KCountry.
2021-12-16 00:11:39 +05:30
Ayush Singh 2cdd13d145 Added Methods for KLocalizedString 2021-12-15 22:24:45 +05:30
Ayush Singh 4c2f78d2bb Added Methods for KLocalizedString. 2021-12-15 21:55:23 +05:30
Ayush Singh 0cdfdce567 Updated Readme with new links.
Also fixed some examples.
2021-12-14 22:05:29 +05:30
Ayush Singh 3bf93509a3 Started renaming crate
Changing from ki18n-rs to ki18n.
Might need more changes after publishing.
2021-12-14 21:55:31 +05:30
Ayush Singh 57fefcc945 Improved Documentation
Added some doc tests as examples.
2021-12-14 18:28:10 +05:30
Ayush Singh cb934ff6dc Added KLocalizedString Wrapper.
Only added applicationDomain related methods.
2021-12-14 18:15:49 +05:30
Ayush Singh 5cf6a34302 Improved Github Action
Removed dependencies that don't seem useful
Also copied a lot of stuff from qmetaobject Github Action so that this
action might be used for windows and macos testing.
2021-12-01 21:51:21 +05:30
Ayush Singh 38ebb314b8 Refactored KLocalizedContext
Extracted everything from lib.rs
Also extracted all doc tests to integration tests.
2021-12-01 17:34:45 +05:30
Ayush Singh 06b13ab5ad Removing macros from qmethobject.
Didn't really help much.
2021-12-01 06:54:07 +05:30
Ayush Singh b8f1cbaed7 Trying out qmetaobject-rs method for docs. 2021-11-13 09:42:03 +05:30
Ayush Singh 9a6768a314 Added more methods for KLocalizedContext.
Methods added:
1. setTranslationDomain()
2. translationDomain()
2021-11-12 19:27:08 +05:30
Ayush Singh 6f74d864e3 init_from_engine now returns the object.
Also added method to get the underlying c++ object. Not sure how well it
actually works since not much of KLocalizedContext is actually supposed
to be used from C++.
2021-11-07 12:17:33 +05:30
Ayush Singh 06152cce66 Final commit before publish. 2021-11-01 21:42:24 +05:30
Ayush Singh 3137771cbf Ignored the Example in main page. 2021-11-01 21:27:49 +05:30
Ayush Singh c1b374e09b Added Documentation.
Almost ready for publishing in crates.io.
2021-11-01 18:02:04 +05:30
Ayush Singh 2c6be797a3 Initial Commit. 2021-11-01 15:01:02 +05:30