From 094a820c0973c366e5639d2af6817178ced93278 Mon Sep 17 00:00:00 2001
From: Akshay Agarwal <agarwal.akshay.akshay8@gmail.com>
Date: Tue, 5 Sep 2017 20:48:39 +0530
Subject: [PATCH] docs/user: Update locale kit description.
---
docs/user/book.dox | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/user/book.dox b/docs/user/book.dox
index 7ad33fa..edc6e6f 100644
a
|
b
|
|
141 | 141 | complex tasks such as formatting numbers, dates, and times in a way |
142 | 142 | that match the locale preferences of the user. |
143 | 143 | |
144 | | The main way to access locale data is through the be_locale_roster. |
145 | | This is a global instance of the BLocaleRoster class, storing the data |
| 144 | The main way to access locale data is through BLocaleRoster::Default(). |
| 145 | This returns a global instance of the BLocaleRoster class, storing the data |
146 | 146 | for localizing an application according to the user's preferred settings. |
147 | 147 | The locale roster also acts as a factory to instantiate most of the other |
148 | 148 | classes. However, there are some cases where you will need to instantiate |
… |
… |
|
150 | 150 | may need to format a date with a fixed format in english for including in an |
151 | 151 | e-mail header, as it is the only format accepted there. |
152 | 152 | |
153 | | Unlike the other kits in Haiku, the Locale kit does not live in libbe. |
| 153 | Similar to the other kits in Haiku, the Locale kit also lives in libbe. |
154 | 154 | When building a localized application, you have to link it to |
155 | | liblocale.so. If you want to use the catalog macros, you also have to |
| 155 | libbe.so. If you want to use the catalog macros, you also have to |
156 | 156 | link each of your images (that is, applications, libraries and add-ons) |
157 | 157 | to liblocalestub.a. |
158 | 158 | |