google sitemap generator 中文翻译包

参与到Ubuntu的翻译中来
回复
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

google sitemap generator 中文翻译包

#1

帖子 TeliuTe » 2012-04-04 13:58

使用方法:

代码: 全选

下载附件中的中文翻译包,替换 /usr/local/google-sitemap-generator/admin-console/i18n/en-us/language.js
Windows 环境搜索相应的文件替换即可
替换前请先备份原文件
注:仅供参考

=================================我是分隔线==================================
英文原文内容:
[javascript]// Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This is the top level setting class. It contains all the setting values for
// this application. Besides site specific settings, this class also includes
// application level configuration, like back-up duration, remote admin port,
// admin account, and etc. Especially, there is global setting field, which
// contains default values for site settings. Please see the member fields
// doc for details.
// Besides the xml setting load/save/validate functions, it provides functions
// to load values from file, as well as save value to a file.
// This class is not thread-safe.


/**
* @fileoverview The message.js files contains const message values,
* which is related to language. This file is for en-us.
*
* @author chaiying@google.com (Ying Chai)
*/
var languageFlag = 'en-us';

// Save-setting messages
var CHANGE_UNSAVE_WARNING = 'You have not yet saved your changes.';
var SAVE_SUCCESS_MSG = 'Settings saved';
var SAVE_FAIL_MSG = 'Failed to save settings';
var SAVE_WARNING_MSG =
'Another user changed these settings and you have not ' +
'yet seen the new values. Do you still want to save settings, overwriting' +
' the other user\'s work?';
var REFRESH_MSG = 'Do you want to refresh the page to get the latest settings?';
var REFRESH_DONE_MSG = 'Current settings have been refreshed.';

// Password-change messages
var NEW_PASSWORDS_CONFLICT = 'The new passwords do not match.';
var NEW_PASSWORD_INVALID = 'The new password must have 5 or more characters.';
var OLD_PASSWORD_INVALID = 'The old password is invalid.';
var CHPSWD_SUCCESS_MSG = 'Your password has been changed.';
var CHPSWD_FAIL_MSG =
'Your password failed to changed due to some unknown reason.';
var CHPSWD_FAIL_MSG1 = 'The old password is not correct.';
var CHPSWD_FAIL_MSG2 =
'A server problem occurred and your password was not changed.';

// Login messages
var LOGIN_FAIL_MSG = 'Sign in failed.';

// Data fetch messages
var SETTING_FETCH_ERROR = 'Error: Cannot get the setting data from server.';
var RUNTIME_FETCH_ERROR =
'Warning: Cannot get runtime information from server.';

// Status page messages
var SITE_NOT_RUNNING = 'Service components for this site are not running';

// Special setting related messages
var NEWS_ENABLE_MSG =
'Your site must be authorized to submit content to Google News. ' +
'If necessary, submit your request at ' +
'http://www.google.com/support/news_pub/bin/request.py?';
var REMOTE_ENABLE_MSG =
'Remote access is supported only under HTTPS';
var ROBOTS_INCLUDE_CONFIRM_MSG =
'This function modifies your robots.txt ' +
' file.\nAre you sure you want to continue?';
var PRIVACY_WARNING =
'You have changed the default settings which were ' +
'designed to protect user privacy. Your changes could result ' +
'in sending user information to search engines. Make sure that any ' +
'information you send complies with the commitments made to your ' +
'users under your privacy policy.';
var ERROR_MSG_QUERY_FIELD_DUPLICATE =
'This query field has already been specified: ';
var REVERT_MSG = 'Changes to query fields have been reverted.';
var NO_URL_INCLUDE =
'Your Sitemap URL filter excludes all URLs from this Sitemap.';

// Revert-to-default messages
var CANCEL_CUSTOMIZE_SETTING_MSG =
'Are you sure you want to abandon your customized settings?';

// Validating messages
var VALIDATING_ONSAVE_FAIL_MSG =
'Site settings are incomplete or incorrect\n' +
'Correct the highlighted fields and try again.'
var VALIDATING_FAIL_MSG = 'Input validation failed. Please correct the error.';

// Other messages
var SERVER_NOT_REACHABLE = 'Server is unreachable!';
var BROWSER_REQUIRE_MSG =
'This browser is not supported. ' +
'Please use one of the following browsers: ';
var INVALID_PAGE = 'Invalid page!';

// Here's some text strings in UI.
// setting labels
var GLOBAL_SETTING_NAME = 'Defaults for All Sites';
// The title of the browser window.
var WINDOW_TITLE =
'Administration Console - Google Sitemap Generator Beta';
// For dashboard page table.
var ENABLED_SITES = 'Registered Sites';
var NO_ENABLED_SITES =
'No site is enabled. To add or remove sites, ' +
'go to <a id=siteMngLink href=#>this page</a>';
// For status page
var STATE_SUCCESS = 'Success';
var STATE_FAILED = 'Failed';
var STATE_DISABLE = 'Disabled';
var STATE_RUNNING = 'Running';
var STATE_READY = 'Haven\'t run';
// This means no item is set in the setting, for url patterns and query fields
// settings.
var NO_ITEM = 'no items';
var SHOW = 'Show all';
var HIDE = 'Hide all';
var EDIT = 'Edit';
var SAVE = 'Save';
var ENABLE = 'Enable';
var DISABLE = 'Disable';
// For sitemap table in "site configuration" page.
var SITEMAP_CUSTOM = 'custom';
var SITEMAP_DEFAULT = 'default';

//////////////////////////////////////////////////////////////////////
var GSGLang = {};

/**
* The 'value' attributes of the buttons.
*/
GSGLang.values = {
login: 'Sign in',
submit: 'Save',
cancel: 'Cancel',
revert: 'Revert to default settings',
change: 'Change',
close: 'Close',
add: 'Add'
};

/**
* The tooltips for settings.
*/
GSGLang.tips = {
NotifyUrl: 'HTTP URL for submitting a Web Sitemap.',
hostName:
'Host name of the site. If the site has multiple names, choose ' +
'the most commonly used. Google Sitemap Generator sets all URLs ' +
'to this site name, to reduce duplication.',
InAndExUrlPattern:
'Start each pattern with a slash (/) and use asterisk (*) wildcards as ' +
'needed. A URL is included if it matches an inclusion pattern, or ' +
'excluded if it matches an exclusion pattern or if it matches both ' +
'types of patterns. If no patterns are defined, all URLs are excluded. ',
sitemapEnabled:
'Allow Google Sitemap Generator to generate this type of Sitemap.',
filename:
'The file name contains ASCII alphanumeric ' +
'characters and an .xml suffix.'
};

/**
* The text labels' display contents.
*/
GSGLang.texts = {
// Message on top of the "login" page.
welcome: 'Welcome to Google Sitemap Generator',
// Text message on the loading page.
loading: 'Loading...',
// Links texts to different setting pages.
pref: 'Preferences',
projHomeLink: 'Online Home',
logoutLink: 'Sign out',
dashboard: 'Dashboard',
siteMng: 'Manage sites',
defaultSetting: 'Default site settings',
defaultSitemap: 'Default Sitemap settings',
// Labels for password-change on "preferences" page.
pswd: 'Password:',
chpswd: 'Change password',
// Labels on "dashboard" page.
applicationInfoTitle: 'Application Runtime Information',
appStart: 'Application start time',
allMem: 'Memory used for internal database',
allDisk: 'Disk used for internal database',
siteMngSubTitle: 'Manage Site Activation',
// Labels on "preferences" page.
addGeneratorInfo: 'Include Google Sitemap Generator version in Sitemap file',
remoteAccess: 'Allow remote access to the Administration Console',
inputOldPassword: 'Current password:',
inputNewPassword: 'New password:',
inputPasswordAgain: 'Confirm new password:',
// Labels on "site manage" page.
select: 'Select: ',
all: 'All',
none: 'None',
// Left navigation bar.
siteStat: 'Site status',
siteConf: 'Site configuration',
sm: 'Sitemap types',
web: 'Web',
mobile: 'Mobile',
csrch: 'Code Search',
bsrch: 'Blog Search',
news: 'News',
// Labels on "site status" page.
runtimeInfoTitle: 'Runtime Info for Site',
sMem: 'Memory used',
sDisk: 'Disk used',
urlInDatabase: 'URLs in database',
urlInTempfile: 'URLs in temporary file',
urlInMemory: 'URLs in memory',
hostName: 'Host name',
sc: 'Sitemap creators',
statTitle: 'Status',
urlInSitemap: 'URLs in Sitemap',
setting: 'Settings',
wf: 'Webserver filter',
fs: 'File scanner',
lp: 'Log parser',
smInfoTime: 'Time of most recent Sitemap file generation',
fsInfoTime: 'Time of most recent file system scan',
lpInfoTime: 'Time of most recent log process',
smInfoUrls: 'Number of URLs in most recent generated Sitemap file',
srcInfoUrls: 'Number of collected URLs',
pingTime: 'Last ping time',
pingUrl: 'Last ping url',
// Labels on "site configuration" page.
host: 'Host name',
logPath: 'Pathname for log file(s)',
ex: 'Example:',
rsLim: 'Resource limits',
maxUrlLife: 'Maximum age of URLs included in Sitemap file',
muMem: 'Maximum number of URLs in memory',
muDisk: 'Maximum number of URLs on disk',
spaceEst: 'Approximate space required:',
collector: 'URL collectors',
duration: 'Execution interval',
qField: 'URL query fields',
qFieldGuide:
'Specify the URL query fields to include in ' +
'generated Sitemaps. Use a comma to separate multiple entries.',
exQueryField: 'name1, name2, name3',
privacyNote:
'<b>Notice:</b> By default, Google Sitemap Generator excludes all query' +
' fields from URLs in generated Sitemaps, to prevent the transmission ' +
'of user-identifiable data. To override this policy, you can specify ' +
'any query field that you want Google Sitemap Generator to include. ' +
'However, be careful to add a query field here only if it is required ' +
'by search engines and does not violate user privacy. You must ensure ' +
'that all information sent to search engines using Google Sitemap ' +
'Generator complies with your commitments to your users, as stated in ' +
'your privacy policy.',
smTypes: 'Sitemap types',
smType: 'Sitemap type',
enable: ENABLE,
settingStat: 'Setting status',
edit: EDIT,
// Warning messages.
sCustomWarn: 'This site configuration is customized.',
smDisable: 'This Sitemap type is disabled.',
smCustom: 'This Sitemap type has been customized.',
smNoUrl: NO_URL_INCLUDE,
// Labels on "sitemap types" pages.
update: 'Sitemap generation schedule',
startTime: 'Start date and time',
interval: 'Interval',
custom: 'custom value: ',
smFile: 'Sitemap file settings',
smFileCompress: 'Compress Sitemap file',
filename: 'Sitemap file name',
maxFileUrl: 'Maximum number of URLs',
maxFileSize: 'Maximum file size',
smSubmit: 'Sitemap file submission',
robotsIncluded: 'Include Sitemap URL in robots.txt',
notifyUrl: 'Search engine notification URLs',
smUrlFilter: 'Sitemap URL filter',
inUrlPattern: 'Included URL patterns',
exUrlPattern: 'Excluded URL patterns',
// Blogsearch sitemap page.
ping: 'Ping schedule',
// News sitemap page.
newsExpireDuration: 'Time-to-live for URLs',
// Time Units.
mmUnit: 'minutes',
hUnit: 'hour',
hhUnit: 'hours',
dUnit: 'day',
ddUnit: 'days',
wUnit: 'week',
monUnit: 'month',
// Space Units.
byteUnit: ' bytes',
kiloByteUnit: ' KB',
megaByteUnit: ' MB',
gigaByteUnit: ' GB',
teraByteUnit: ' TB'
};[/javascript]
中文翻内容:
[javascript]// Copyright 2009 Google Inc.
//
//Copyright 2012 TeliuTe <teliute@163.com>.
//License under GFDL, Version 1.2
//http://teliute.org/GFDL-1.2
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This is the top level setting class. It contains all the setting values for
// this application. Besides site specific settings, this class also includes
// application level configuration, like back-up duration, remote admin port,
// admin account, and etc. Especially, there is global setting field, which
// contains default values for site settings. Please see the member fields
// doc for details.
// Besides the xml setting load/save/validate functions, it provides functions
// to load values from file, as well as save value to a file.
// This class is not thread-safe.


/**
* @fileoverview The message.js files contains const message values,
* which is related to language. This file is for en-us.
*
* @author chaiying@google.com (Ying Chai)
*/
/**
*使用方法:将此文件替换 /usr/local/google-sitemap-generator/admin-console/i18n/en-us/language.js
*使用此文件属于您个人自愿,译者不提供任何明示或暗示的保证
*/
var languageFlag = 'en-us';

// Save-setting messages
var CHANGE_UNSAVE_WARNING = '您还没有保存更改。';
var SAVE_SUCCESS_MSG = '设置已保存。';
var SAVE_FAIL_MSG = '设置保存失败';
var SAVE_WARNING_MSG =
'其他用户更改了一些设置,当前您没有更新看不到。 ' +
'您确定要继续保存,覆盖其他用户的设置吗?';
var REFRESH_MSG = '您要刷新本页面,显示最新的设置吗?';
var REFRESH_DONE_MSG = '当前设置已更新。';

// Password-change messages
var NEW_PASSWORDS_CONFLICT = '两次新密码不相同。';
var NEW_PASSWORD_INVALID = '新密码必须要5个以上字符。';
var OLD_PASSWORD_INVALID = '原密码无效。';
var CHPSWD_SUCCESS_MSG = '密码已更改。';
var CHPSWD_FAIL_MSG =
'密码更改失败,原因未知。';
var CHPSWD_FAIL_MSG1 = '原密码不正确。';
var CHPSWD_FAIL_MSG2 =
'服务器发生错误,密码未更改。';

// Login messages
var LOGIN_FAIL_MSG = '登录失败。';

// Data fetch messages
var SETTING_FETCH_ERROR = '错误:不能从服务器端获取设置参数。';
var RUNTIME_FETCH_ERROR =
'警告:不能从服务器端获取即时信息。';

// Status page messages
var SITE_NOT_RUNNING = '这个站点的服务器组件未运行。';

// Special setting related messages
var NEWS_ENABLE_MSG =
'您的站点必须在谷歌新闻(Google News)上提交注册。' +
'如果需要,请到此链接提交:' +
'http://www.google.com/support/news_pub/bin/request.py?';
var REMOTE_ENABLE_MSG =
'远程访问仅支持在 HTTPS 下访问。';
var ROBOTS_INCLUDE_CONFIRM_MSG =
'这项功能将会更改您的 robots.txt 文件。\n' +
' 您确定要继续吗?';
var PRIVACY_WARNING =
'您更改了用于保护使用者隐私的默认设置。' +
'这将会发送使用者信息给搜索引擎。' +
'请确保您发送的信息符合隐私保护策略。' ;
var ERROR_MSG_QUERY_FIELD_DUPLICATE =
'该项设置已指定:';
var REVERT_MSG = '该项已恢复为原来的值。';
var NO_URL_INCLUDE =
'您的站点地图(Sitemap)地址过滤器排除了所有链接地址。';

// Revert-to-default messages
var CANCEL_CUSTOMIZE_SETTING_MSG =
'您确定要放弃所有的更改吗?';

// Validating messages
var VALIDATING_ONSAVE_FAIL_MSG =
'站点设置不完整或不正确\n' +
'完成高亮显示域,然后再重试。'
var VALIDATING_FAIL_MSG = '输入值错误,请重新输入。';

// Other messages
var SERVER_NOT_REACHABLE = '无法访问服务器!';
var BROWSER_REQUIRE_MSG =
'不支持当前使用的浏览器。' +
'请您使用下列之一的浏览器:';
var INVALID_PAGE = '页面错误!';

// Here's some text strings in UI.
// setting labels
var GLOBAL_SETTING_NAME = '默认站点设置';
// The title of the browser window.
var WINDOW_TITLE =
'管理员控制台-谷歌网站地图生成器测试版';
// For dashboard page table.
var ENABLED_SITES = '注册站点';
var NO_ENABLED_SITES =
'没有可用的站点。要添加或删除站点,请转到' +
' <a id=siteMngLink href=#>此处</a>';
// For status page
var STATE_SUCCESS = '成功';
var STATE_FAILED = '失败';
var STATE_DISABLE = '禁用';
var STATE_RUNNING = '运行中';
var STATE_READY = '尚未运行';
// This means no item is set in the setting, for url patterns and query fields
// settings.
var NO_ITEM = '无';
var SHOW = '显示全部';
var HIDE = '隐藏全部';
var EDIT = '编辑';
var SAVE = '保存';
var ENABLE = '启用';
var DISABLE = '禁用';
// For sitemap table in "site configuration" page.
var SITEMAP_CUSTOM = '自定义';
var SITEMAP_DEFAULT = '默认值';

//////////////////////////////////////////////////////////////////////
var GSGLang = {};

/**
* The 'value' attributes of the buttons.
*/
GSGLang.values = {
login: '登录',
submit: '保存',
cancel: '取消',
revert: '恢复到默认值',
change: '更改',
close: '关闭',
add: '添加'
};

/**
* The tooltips for settings.
*/
GSGLang.tips = {
NotifyUrl: '向这些搜索引擎网址提交站点地图。',
hostName:
'站点域名或主机名,如果有多个名称,' +
'请选择最常用的。 ' +
'站点地图生成器将使用这个名称,以减少重复。',
InAndExUrlPattern:
'以斜杠开始(/),如果需要可以使用星号(*)通配符。' +
'如果链接地址与此相匹配就会被收录,' +
'如果与排除规则相匹配,就不会被收录。 ' +
'如果没有定义规则,所有的链接地址都会收录进来。',
sitemapEnabled:
'允许谷歌站点地图生成器生成此类型的站点地图。',
filename:
'文件名包含英文字符、数字,以 .xml 为扩展名。'
};

/**
* The text labels' display contents.
*/
GSGLang.texts = {
// Message on top of the "login" page.
welcome: '欢迎使用谷歌站点地图生成器',
// Text message on the loading page.
loading: '加载中...',
// Links texts to different setting pages.
pref: '首选项',
projHomeLink: '在线帮助',
logoutLink: '退出',
dashboard: '控制台',
siteMng: '管理站点',
defaultSetting: '默认站点设置',
defaultSitemap: '默认站点地图设置',
// Labels for password-change on "preferences" page.
pswd: '密码:',
chpswd: '更改密码',
// Labels on "dashboard" page.
applicationInfoTitle: '程序运行状态信息',
appStart: '启动时间',
allMem: '内置数据库占用内存数',
allDisk: '内置数据库磁盘使用量',
siteMngSubTitle: '管理活动站点',
// Labels on "preferences" page.
addGeneratorInfo: '在站点地图文件中包含生成器版本',
remoteAccess: '允许远程访问管理控制台',
inputOldPassword: '原密码:',
inputNewPassword: '新密码:',
inputPasswordAgain: '确认密码:',
// Labels on "site manage" page.
select: '选择:',
all: '全部',
none: '无',
// Left navigation bar.
siteStat: '站点状态',
siteConf: '配置站点',
sm: '站点地图类型',
web: '网站',
mobile: '手机',
csrch: '代码搜索',
bsrch: '博客搜索',
news: '新闻',
// Labels on "site status" page.
runtimeInfoTitle: '站点运行状态',
sMem: '内存使用',
sDisk: '磁盘使用',
urlInDatabase: '数据库中的链接地址',
urlInTempfile: '内存文件中的链接地址',
urlInMemory: '内在中的链接地址',
hostName: '域名(主机名)',
sc: '站点地图创建者',
statTitle: '状态',
urlInSitemap: '站点地图中的链接地址',
setting: '设置',
wf: '站点服务器过滤器',
fs: '文件扫描器',
lp: '日志分析器',
smInfoTime: '最近生成站点地图文件的时间',
fsInfoTime: '系统最近扫描文件的时间',
lpInfoTime: '最近记录日志的时间',
smInfoUrls: '站点地图最近生成的链接地址数',
srcInfoUrls: '收集的链接地址数',
pingTime: '最后 ping 的时间',
pingUrl: '最后 ping 的链接地址',
// Labels on "site configuration" page.
host: '网站域名',
logPath: '日志文件的路径位置',
ex: '例如:',
rsLim: '最大数量',
maxUrlLife: '包含在站点地图中的链接地址不早于',
muMem: '缓存在内存中链接地址的最大数量',
muDisk: '存储在磁盘中链接地址的最大数量',
spaceEst: '所需磁盘空间:',
collector: '链接地址收集器',
duration: '运行时间间隔',
qField: '搜索查询域',
qFieldGuide:
'指定包含在站点地图中的链接网址。' +
'使用英文逗号来分隔多个项。',
exQueryField: '名称1, 名称2, 名称3',
privacyNote:
'<b>注意:</b>默认情况下,谷歌地图生成器排除所有搜索查询地址,以防止传输用户身份信息,' +
'要覆盖此策略,您可以指定想要包含的搜索查询地址。' +
'但是,请特别小心,只添加搜索引擎必须的,不会违反用户隐私策略的信息。' +
'您必须确保使用谷歌地图生成器发送给搜索引擎的信息,符合当地的用户隐私保护权益。',
smTypes: '站点地图类型',
smType: '站点地图类型',
enable: ENABLE,
settingStat: '设置状态',
edit: EDIT,
// Warning messages.
sCustomWarn: '此站点配置是自定义的。',
smDisable: '站点地图类型被禁用。',
smCustom: '此站点地图类型已经设为自定义。',
smNoUrl: NO_URL_INCLUDE,
// Labels on "sitemap types" pages.
update: '站点地图生成器时间表',
startTime: '开始时间',
interval: '时间间隔',
custom: '自定义:',
smFile: '设置站点地图文件',
smFileCompress: '压缩站点地图文件',
filename: '站点地图文件名',
maxFileUrl: '链接地址最大数',
maxFileSize: '文件最大尺寸',
smSubmit: '提交站点地图文件',
robotsIncluded: '在 robots.txt 中包含站点地图文件',
notifyUrl: '向各个搜索引擎提交链接地址',
smUrlFilter: '站点地图链接地址过滤器',
inUrlPattern: '包含的链接类型',
exUrlPattern: '不包含的链接类型',
// Blogsearch sitemap page.
ping: 'Ping 进度',
// News sitemap page.
newsExpireDuration: '链接地址的生存时间(Time-to-live)',
// Time Units.
mmUnit: '分钟',
hUnit: '小时',
hhUnit: '小时',
dUnit: '天',
ddUnit: '天',
wUnit: '周',
monUnit: '月',
// Space Units.
byteUnit: ' B',
kiloByteUnit: ' KB',
megaByteUnit: ' MB',
gigaByteUnit: ' GB',
teraByteUnit: ' TB'
};[/javascript]
附件
language.js.bz2
(4.62 KiB) 已下载 120 次
回复