Ticket #13695: 0001-docs-user-Update-locale-kit-description.patch

File 0001-docs-user-Update-locale-kit-description.patch, 1.7 KB (added by akshay, 7 years ago)
  • docs/user/book.dox

    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  
    141141    complex tasks such as formatting numbers, dates, and times in a way
    142142    that match the locale preferences of the user.
    143143
    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
    146146    for localizing an application according to the user's preferred settings.
    147147    The locale roster also acts as a factory to instantiate most of the other
    148148    classes. However, there are some cases where you will need to instantiate
     
    150150    may need to format a date with a fixed format in english for including in an
    151151    e-mail header, as it is the only format accepted there.
    152152
    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.
    154154    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
    156156    link each of your images (that is, applications, libraries and add-ons)
    157157    to liblocalestub.a.
    158158