From 0cdfdce567f84d02ee881f6d6d76fa69e166de6f Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Tue, 14 Dec 2021 22:05:29 +0530 Subject: [PATCH] Updated Readme with new links. Also fixed some examples. --- README.md | 6 +++--- src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9379b36..79a8ba3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # KI18n Crate for Rust -[![Crates.io](https://img.shields.io/crates/v/ki18n-rs)](https://crates.io/crates/ki18n-rs) -[![Documentation](https://docs.rs/ki18n-rs/badge.svg)](https://docs.rs/ki18n-rs/) +[![Crates.io](https://img.shields.io/crates/v/ki18n)](https://crates.io/crates/ki18n) +[![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. @@ -29,7 +29,7 @@ searches at /usr/include /usr/library ```rust use cstr::cstr; use qmetaobject::prelude::*; -use ki18n_rs::KLocalizedContext; +use ki18n::KLocalizedContext; fn main() { let mut engine = QmlEngine::new(); diff --git a/src/lib.rs b/src/lib.rs index 46a5d3c..27f3a9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ //! ```ignore //! use cstr::cstr; //! use qmetaobject::prelude::*; -//! use ki18n_rs::KLocalizedContext; +//! use ki18n::KLocalizedContext; //! //! fn main() { //! let mut engine = QmlEngine::new();