Commit graph

32 commits

Author SHA1 Message Date
Ayush Singh 4c2f78d2bb Added Methods for KLocalizedString. 2021-12-15 21:55:23 +05:30
Ayush Singh 736d5c5a26 Fixed README and docs. 2021-12-14 22:08:19 +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 04aefc80ff Improved README. 2021-12-14 21:46:12 +05:30
Ayush Singh 7aba3e4bad Publishing New Version. 2021-12-14 18:30:53 +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 e7d20f21ad Updated README. 2021-12-01 19:39:36 +05:30
Ayush Singh 85a102431f Publishing new version
Also merged new deps to docs.rs so docs should work now.
2021-12-01 17:40:58 +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 0470f05c07 Can now specify Include and Lib path.
Using KF5_I18n_INCLUDE_PATH and KF5_I18n_LIBREARY_PATH.
Maybe can improve default detection later.
2021-12-01 07:32:07 +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 ce6adf77ca Enabled docs-only feature in cpp_build
Can now generate docs inside container. Dunno if it works in actual
crates.io though.
2021-11-13 09:13:02 +05:30
Ayush Singh d61d5bae1f Trying to fix docs in docs.rs. 2021-11-13 08:56:39 +05:30
Ayush Singh 73e070aa27 Publishing New version.
Bumping version to 1.0.0 since Crates.io is not generating docs for some reason.
2021-11-12 23:16:47 +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 c1ed08b8ee Publishing new version. 2021-11-09 20:24:43 +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 dd88341c4d Added license in Cargo.toml
Doesn't seem like license-file option is working in crates.io.
2021-11-07 12:03:23 +05:30
Ayush Singh 06152cce66 Final commit before publish. 2021-11-01 21:42:24 +05:30
Ayush Singh dc8417ba09 Fix Display in github action 2021-11-01 21:35:16 +05:30
Ayush Singh 3137771cbf Ignored the Example in main page. 2021-11-01 21:27:49 +05:30
Ayush Singh 9608d9fd8e Using Qt include path for QtCore.
Would like to avoid having to add Qtcore folder to include seperately
but don't have any solution yet.
2021-11-01 21:21:56 +05:30
Ayush Singh 872e02ae6d Fix Github Action
Install Qt dependencies.
2021-11-01 19:01:15 +05:30
Ayush 991ceb8de3
Create Github Action 2021-11-01 18:04:34 +05:30
Ayush Singh c1b374e09b Added Documentation.
Almost ready for publishing in crates.io.
2021-11-01 18:02:04 +05:30
Ayush Singh 0c350fc91c Added README and LICENSE.
Also added some metadata to the Cargo.toml
2021-11-01 15:53:52 +05:30
Ayush Singh 63025689ce Switched to stable qmetaobject-rs.
Do not need the new methods from the git branch yet.
2021-11-01 15:27:07 +05:30
Ayush Singh 2c6be797a3 Initial Commit. 2021-11-01 15:01:02 +05:30