Updated Readme with new links.

Also fixed some examples.
This commit is contained in:
Ayush Singh 2021-12-14 22:05:29 +05:30
parent 3bf93509a3
commit 0cdfdce567
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# KI18n Crate for Rust # KI18n Crate for Rust
[![Crates.io](https://img.shields.io/crates/v/ki18n-rs)](https://crates.io/crates/ki18n-rs) [![Crates.io](https://img.shields.io/crates/v/ki18n)](https://crates.io/crates/ki18n)
[![Documentation](https://docs.rs/ki18n-rs/badge.svg)](https://docs.rs/ki18n-rs/) [![Documentation](https://docs.rs/ki18n/badge.svg)](https://docs.rs/ki18n/)
KI18n is a cross-platform internationalization framework used by KDE applications. This crate is meant to allow using KI18n with Rust and [qmetaobject-rs](https://github.com/woboq/qmetaobject-rs) crate. KI18n is a cross-platform internationalization framework used by KDE applications. This crate is meant to allow using KI18n with Rust and [qmetaobject-rs](https://github.com/woboq/qmetaobject-rs) crate.
@ -29,7 +29,7 @@ searches at /usr/include /usr/library
```rust ```rust
use cstr::cstr; use cstr::cstr;
use qmetaobject::prelude::*; use qmetaobject::prelude::*;
use ki18n_rs::KLocalizedContext; use ki18n::KLocalizedContext;
fn main() { fn main() {
let mut engine = QmlEngine::new(); let mut engine = QmlEngine::new();

View file

@ -10,7 +10,7 @@
//! ```ignore //! ```ignore
//! use cstr::cstr; //! use cstr::cstr;
//! use qmetaobject::prelude::*; //! use qmetaobject::prelude::*;
//! use ki18n_rs::KLocalizedContext; //! use ki18n::KLocalizedContext;
//! //!
//! fn main() { //! fn main() {
//! let mut engine = QmlEngine::new(); //! let mut engine = QmlEngine::new();