all repos — fluxbox @ 603b784efd1db88ed1432bcd3b149b45d3b51e89

custom fork of the fluxbox windowmanager

moved i18n.hh and .cc files to I18n.hh .cc
fluxgen fluxgen
commit

603b784efd1db88ed1432bcd3b149b45d3b51e89

parent

7f78b30cbec528a640f92e40c947687f1a709152

2 files changed, 7 insertions(+), 6 deletions(-)

jump to
M src/i18n.ccsrc/I18n.cc

@@ -1,7 +1,7 @@

-// i18n.hh for Fluxbox Window Manager +// I18n.hh for Fluxbox Window Manager // Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) // -// i18n.cc for Blackbox - an X11 Window manager +// I18n.cc for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) // // Permission is hereby granted, free of charge, to any person obtaining a

@@ -22,14 +22,14 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: i18n.cc,v 1.10 2003/05/16 00:17:16 fluxgen Exp $ +// $Id: I18n.cc,v 1.1 2003/06/12 14:24:26 fluxgen Exp $ //usr GNU extensions #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif // _GNU_SOURCE -#include "i18n.hh" +#include "I18n.hh" #include <X11/Xlocale.h>

@@ -72,10 +72,11 @@ m_multibyte = true;

// truncate any encoding off the end of the locale + // remove everything after @ string::size_type index = m_locale.find('@'); if (index != string::npos) m_locale.erase(index); //erase all characters starting at index - + // remove everything after . index = m_locale.find('.'); if (index != string::npos) m_locale.erase(index); //erase all characters starting at index
M src/i18n.hhsrc/I18n.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: i18n.hh,v 1.11 2003/04/26 15:46:03 fluxgen Exp $ +// $Id: I18n.hh,v 1.1 2003/06/12 14:24:25 fluxgen Exp $ #ifndef I18N_HH #define I18N_HH