~ubuntu-branches/ubuntu/lucid/sword/lucid

« back to all changes in this revision

Viewing changes to src/mgr/localemgr.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2010-01-21 00:10:17 UTC
  • mfrom: (1.1.4 upstream) (5.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100121001017-5ea19163rgisywbl
Tags: 1.6.1+dfsg-1
[ Jonathan Marsden ]
* debian/libsword8.examples: Add missing tcl eggdrop bot script.

[ Dmitrijs Ledkovs ]
* Drop shipping .la file in favour of pkg-config (Debian release goal)
  - More info http://lists.debian.org/debian-devel/2009/08/msg00783.html
* Drop backported patches, refreshed libver & compiler warnings.
* Compiling with -Werror enabled. 
* Bumped standards version to 3.8.3, no changes needed.
* Added debian/README.source documentation quilt usage
* Added configure option --without-internalregex

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *  localemgr.cpp - implementation of class LocaleMgr used to interact with
3
3
 *                              registered locales for a sword installation
4
4
 *
5
 
 * $Id: localemgr.cpp 2321 2009-04-13 01:17:00Z scribe $
 
5
 * $Id: localemgr.cpp 2499 2010-01-02 04:51:05Z scribe $
6
6
 *
7
7
 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
8
8
 *      CrossWire Bible Society
223
223
 
224
224
std::list <SWBuf> LocaleMgr::getAvailableLocales() {
225
225
        std::list <SWBuf> retVal;
226
 
        for (LocaleMap::iterator it = locales->begin(); it != locales->end(); it++) 
227
 
                retVal.push_back((*it).second->getName());
 
226
        for (LocaleMap::iterator it = locales->begin(); it != locales->end(); it++) {
 
227
                if (strcmp(it->second->getName(), "locales")) {
 
228
                        retVal.push_back((*it).second->getName());
 
229
                }
 
230
        }
228
231
 
229
232
        return retVal;
230
233
}