| Index: app/l10n_util_dummy.cc
|
| ===================================================================
|
| --- app/l10n_util_dummy.cc (revision 0)
|
| +++ app/l10n_util_dummy.cc (revision 0)
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "app/l10n_util.h"
|
| +
|
| +#include "app/resource_bundle.h"
|
| +#include "base/command_line.h"
|
| +#include "base/string16.h"
|
| +#include "base/string_piece.h"
|
| +#include "base/string_util.h"
|
| +#include "base/sys_string_conversions.h"
|
| +#include "build/build_config.h"
|
| +#include "unicode/uscript.h"
|
| +
|
| +
|
| +namespace l10n_util {
|
| +
|
| +// Represents the locale-specific text direction.
|
| +static TextDirection g_text_direction = UNKNOWN_DIRECTION;
|
| +
|
| +std::wstring GetString(int message_id) {
|
| + ResourceBundle& rb = ResourceBundle::GetSharedInstance();
|
| + return UTF16ToWide(rb.GetLocalizedString(message_id));
|
| +}
|
| +
|
| +} // namespace l10n_util
|
|
|
| Property changes on: app\l10n_util_dummy.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|