*** empty log message ***

svn path=/trunk/boinc/; revision=6823
This commit is contained in:
Rom Walton 2005-07-27 00:27:34 +00:00
parent e98554319c
commit 9b42c9d034
7 changed files with 544 additions and 201 deletions

View File

@ -9600,3 +9600,14 @@ Jeff 26 July 2005
sched/
assimilator.C
file_deleter.C
Rom 26 July 2005
- Provide a mechinism for the localization team to be able to
localize the project defined buttons.
clientgui/
ViewProjects.cpp
Localization.cpp, .h (Added)
locale/en_US/
BOINC Manager.po, .mo

View File

@ -0,0 +1,65 @@
// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation;
// either version 2.1 of the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// To view the GNU Lesser General Public License visit
// http://www.gnu.org/copyleft/lesser.html
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "Localization.h"
#endif
#include "stdwx.h"
#include "BOINCGUIApp.h"
#include "Localization.h"
CLocalization::CLocalization() {
m_strMessageBoardsName =
_("Message boards");
m_strMessageBoardsDescription =
_("Correspond with other users on the SETI@home message boards");
m_strHelpName =
_("Help");
m_strHelpDescription =
_("Ask questions and report problems");
m_strYourAccuontName =
_("Your account");
m_strYourAccuontDescription =
_("View your account information and credit totals");
m_strYourPreferencesName =
_("Your preferences");
m_strYourPreferencesDescription =
_("View and modify your SETI@home account profile and preferences");
m_strYourResultsName =
_("Your results");
m_strYourResultsDescription =
_("View your last week (or more) of computational results and work");
m_strYourComputersName =
_("Your computers");
m_strYourComputersDescription =
_("View a listing of all the computers on which you are running SETI@Home");
m_strYourTeamName =
_("Your team");
m_strYourTeamDescription =
_("View information about your team: BOINC Synergy");
}

59
clientgui/Localization.h Normal file
View File

@ -0,0 +1,59 @@
// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation;
// either version 2.1 of the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// To view the GNU Lesser General Public License visit
// http://www.gnu.org/copyleft/lesser.html
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#ifndef _LOCALIZATION_H_
#define _LOCALIZATION_H_
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "Localization.cpp"
#endif
class CLocalization : public wxObject
{
DECLARE_NO_COPY_CLASS(CLocalization)
public:
CLocalization();
wxString m_strMessageBoardsName;
wxString m_strMessageBoardsDescription;
wxString m_strHelpName;
wxString m_strHelpDescription;
wxString m_strYourAccuontName;
wxString m_strYourAccuontDescription;
wxString m_strYourPreferencesName;
wxString m_strYourPreferencesDescription;
wxString m_strYourResultsName;
wxString m_strYourResultsDescription;
wxString m_strYourComputersName;
wxString m_strYourComputersDescription;
wxString m_strYourTeamName;
wxString m_strYourTeamDescription;
};
#endif

View File

@ -693,8 +693,8 @@ void CViewProjects::UpdateSelection() {
// Project defined urls
for (i=0;(i<project->gui_urls.size())&&(i<=ID_TASK_PROJECT_WEB_PROJDEF_MAX);i++) {
pItem = new CTaskItem(
project->gui_urls[i].name.c_str(),
project->gui_urls[i].description.c_str(),
_(project->gui_urls[i].name.c_str()),
_(project->gui_urls[i].description.c_str()),
project->gui_urls[i].url.c_str(),
ID_TASK_PROJECT_WEB_PROJDEF_MIN + 1 + i
);

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -227,6 +227,9 @@
<File
RelativePath="..\clientgui\hyperlink.cpp">
</File>
<File
RelativePath="..\clientgui\Localization.cpp">
</File>
<File
RelativePath="..\clientgui\LogBOINC.cpp">
</File>
@ -424,6 +427,9 @@
<File
RelativePath="..\clientgui\hyperlink.h">
</File>
<File
RelativePath="..\clientgui\Localization.h">
</File>
<File
RelativePath="..\clientgui\LogBOINC.h">
</File>