Author Topic: Chinese  (Read 4605 times)

Offline Omar Hawk

  • Administrator
  • ****
  • Posts: 900
    • View Profile
Chinese
« on: 08 March 2011, 14:47:01 »
FF locale: zh-CN
Note: How to translate the Galaxytoolbar
Note:
  • galaxyplugin.dtd = UI ("Options Window")
  • galaxyplugin.properties = Status Information inside the status window
galaxyplugin.dtd
(click to show/hide)


galaxyplugin.properties
(click to show/hide)
« Last Edit: 07 December 2012, 08:49:20 by Omar Hawk »

Offline kamra

  • Translator
  • ****
  • Posts: 6
    • View Profile
Re: Chinese
« Reply #1 on: 06 December 2012, 07:42:48 »
galaxyplugin.dtd

Code: [Select]
<!-- Toolbar buttons and labels -->
<!ENTITY toolbar.name "Galaxytool Toolbar">
<!ENTITY toolbar.activate "激活GTP">
<!ENTITY toolbar.activate.t "激活Galaxytool插件">
<!ENTITY toolbar.options "GTP选项">
<!ENTITY toolbar.options.t "Galaxytool 插件选项">
<!ENTITY toolbar.reports "获取报告">
<!ENTITY toolbar.statusLabel "状态:">
<!ENTITY toolbar.statusInfo "无结果">

<!-- Options dialog labels -->
<!ENTITY dialog.tab1 "Galaxytools">
<!ENTITY dialog.tab2 "插件选项">
<!ENTITY dialog.title "Galaxyplugin 选项">
<!ENTITY dialog.ogameurl "OGame 服务器名称">
<!ENTITY dialog.ogameuni "宇宙">
<!ENTITY dialog.galaxytoolurl "Galaxytool URL">
<!ENTITY dialog.username "用户名">
<!ENTITY dialog.password "密码">

<!ENTITY dialog.autoreports "自动提交报告">
<!ENTITY dialog.debug "显示调试信息">
<!ENTITY dialog.show_statuswindow "显示状态 窗口">
<!ENTITY dialog.submib_galaxy "提交星图">
<!ENTITY dialog.submib_stats "提交玩家和联盟排名统计">
<!ENTITY dialog.submib_reports "提交间谍报告">
<!ENTITY dialog.submib_allypage "提交联盟成员页">
<!ENTITY dialog.submib_buildings "提交建筑情况">
<!ENTITY dialog.submib_research "提交科技情况">
<!ENTITY dialog.submib_fleet "提交舰队情况">
<!ENTITY dialog.submib_defense "提交防御情况">

<!ENTITY dialog.status_window "状态窗口">
<!ENTITY dialog.status_style "定义CSS Styles">
<!ENTITY dialog.status_style_window "窗口">
<!ENTITY dialog.status_style_header "标头">
<!ENTITY dialog.status_style_results "状态结果">

<!-- Version 2.3 changes -->
<!ENTITY dialog.general_data "一般数据">
<!ENTITY dialog.add_tool "添加新宇宙">
<!ENTITY dialog.delete "删除">
<!ENTITY dialog.name "名称">
<!ENTITY dialog.uni_data "宇宙数据">
<!ENTITY dialog.own_data "自身数据">

<!-- Version 2.4 changes -->
<!ENTITY dialog.galaxytool_version "Galaxytool版本">
<!ENTITY dialog.submib_empire "提交帝国视图">

<!-- Version 2.5 changes -->
<!ENTITY dialog.submib_shipyard "提交造船厂信息">
<!ENTITY dialog.espionage_action "提交被探测动作">
<!ENTITY dialog.submib_phalanx "提交感应阵报告">
<!ENTITY dialog.submib_fmovement "提交自己的舰队移动情况">
<!ENTITY dialog.submib_short_cr "提交短的战斗报告">
<!ENTITY dialog.submib_player_message "提交 玩家消息(活跃状况)">
<!ENTITY dialog.submib_message_content "同时提交玩家消息内容">
<!ENTITY dialog.check_btn "检测">
<!ENTITY dialog.own_player_id "Request own OGame player ID">
<!ENTITY dialog.own_player_id_title "Disable if you get logged out right after accessing OGame">

<!-- Version 2.6 changes -->
<!ENTITY dialog.token "登录密钥">


galaxyplugin.properties


Code: [Select]
# Use '.' (dot) to prevent trimming leading and trailing spaces.
# Use '..' (double dot) to get one dot at the end of string.
# File must be UTF-8 encoded for language special chars to work

# General Data
gt_toolbar_name=Galaxytool Toolbar
gt_submit_fmovments=已读取舰队移动情况
gt_submit_espionage_msg=已读取间谍报告

# Status window
gt_status_window=Galaxytool 状态 .

# Status messages
gt_galaxyfound.prefix=银河系 .
gt_galaxyfound.suffix=. 个
gt_statsfound=发现状态
gt_reportsfound=发现报告页

gt_statsupdated.playerprefix=玩家-
gt_statsupdated.allyprefix=联盟-
gt_statsupdated.scoreinfix=总分-统计 .
gt_statsupdated.fleetinfix=舰队-统计 .
gt_statsupdated.researchinfix=科技-统计 .
gt_statsupdated.suffix=. 已更新
gt_galaxyupdated.prefix=星图 .
gt_galaxyupdated.suffix=. 已更新
gt_reportsupdated=报告已传达
gt_allyhistoryupdated=联盟历史已传达

gt_error.unknownuni=未知宇宙!
gt_error.badreadystate=准备时发生错误: .
gt_error.badstatuscode=发送时发生错误: .
gt_error.permissiondenied=没有权限!
gt_error.pagenotfound=页面未找到!
gt_error.gtserveronotfound=不能连接到服务器!
gt_error.wrongpage=连上了,但不是galaxyplugin!
gt_error.gvnotupdated=星图未更新!
gt_error.reporterror=至少一个报告失败了!
gt_error.statserror=状态没有更新!
gt_error.allyhistoryerror=联盟历史没有更新!
gt_error.foxgame=Foxgame设置有误 - 插入终止!
gt_error.unknown=服务器返回不可识别结果!
gt_error.wrong_universe=不是这个宇宙!
gt_error.toolbar_outdated=Toolbar凹凸了!
gt_error.statssort=状态排序错误!

# Toolbar buttons
gt_toolbar.activate=激活GTP
gt_toolbar.activate.t=激活Galaxytool Plugin
gt_toolbar.activate.status=Toolbar未激活!
gt_toolbar.deactivate=禁用GTP
gt_toolbar.deactivate.t=禁用Galaxytool Plugin
gt_toolbar.deactivate.status=Toolbar已激活.
gt_toolbar.status.nothing=无

# Other messages
gt_erroralert=发生了错误: .

# needed for v2.4
gt_error.missing_techs_prefix=至少一个未知项: "
gt_error.missing_techs_suffix=". 打开科技树可以更新翻译信息..
gt_error.missing_techs_confirmation=点击确认按钮,会在新窗口打开科技树. 然后刷新本页后重试..

# needed for v2.5
gt_noreportsfound=没有找到间谍报告!
gt_nounreadreportsfound=没有找到维度间谍报告!
gt_phalanxfound=发现感应阵报告
gt_espionagefound=发现间谍行动
gt_espionageupdated=间谍行动已更新
gt_pmessagefound=发现玩家信息
gt_pmessageupdated=玩家信息已更新
gt_shortcrfound=发现短战斗报告
gt_shortcrupdated=短战斗报告已更新
gt_fleetpagenofleet=次星球/月球没有发现舰队
gt_fleetpagefound=发现舰队页面
gt_shipyardfound=发现造船厂页面
gt_techpagefound=发现科技页面
gt_defensepagefound=发现防御页面
gt_buildingpagefound=发现建筑页面
gt_techtreefound=发现科技树
gt_techtreeparsed=科技树解析成功
gt_error.techtreenotparsed=科技树解析失败
gt_nodatafound=没有找到数据
gt_movementfound=发现舰队移动情况
gt_movementupdated=舰队移动情况已更新
gt_error.invalidxml=XML解析失败
gt_error.espionagenotupdated=间谍活动未更新!
gt_error.pmessagenotupdated=玩家信息未更新!
gt_error.shortcrnotupdated=短战斗报告未更新!
gt_error.movementnotupdated=舰队移动情况未更新!
gt_error.gtmaintenance_mode=Galaxytool服务不可用 - 服务器可能正在维护
gt_error.espionagetoolow=间谍技术太低!

#needed for 2.6
gt_allypagefound=找到联盟页
gt_addsettingstotoolbar=把设置添加到Galaxytool plugin!
gt_empirefound=发现帝国视图

# needed for v2.6.x
gt_statsupdated.economyinfix=经济-统计 .
gt_statsupdated.builtfleetinfix=军事建造分-统计 .
gt_statsupdated.destroyedfleetinfix=军事摧毁分-统计 .
gt_statsupdated.lostfleetinfix=军事损失分-统计 .
gt_statsupdated.honorinfix=荣誉分-统计 .

# needed for v2.6.10
gt_settings_changed=还有设置项尚未保存. 是否继续?
gt_error.tool_outdated=你的Galaxytool凹凸了!


contents.rdf

Code: [Select]
<?xml version="1.0"?>

<RDF:RDF xmlns:chrome="http://www.mozilla.org/rdf/chrome#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <RDF:Seq about="urn:mozilla:locale:root">
        <RDF:li resource="urn:mozilla:locale:zh-CN"/>
    </RDF:Seq>
<!--Should I put my name on this ? -->
    <RDF:Description about="urn:mozilla:locale:zh-CN"
                     chrome:author="Kamra Lint"
                     chrome:displayName="Simplified Chinese(CN)"
                     chrome:name="zh-CN">
        <chrome:packages>
            <RDF:Seq about="urn:mozilla:locale:zh-CN:packages">
                <RDF:li resource="urn:mozilla:locale:zh-CN:galaxyplugin"/>
            </RDF:Seq>
        </chrome:packages>
    </RDF:Description>
</RDF:RDF>



L10N in install.rdf
Code: [Select]
<em:localized>
<Description>
<em:locale>zh-CN</em:locale>
<em:description>用于OGame的星图工具.</em:description>
</Description>
</em:localized>

Offline Omar Hawk

  • Administrator
  • ****
  • Posts: 900
    • View Profile
Re: Chinese
« Reply #2 on: 07 December 2012, 08:47:47 »
Thank you very much. I've made the necessary changes to include your translation. This will be part of the next version (2.6.25), which will be released, as soon as all OGame servers have version 5.2.x on it. :)

Besides, I have added your name to the translators list, so you will find yourself in the About-Dialogue of the Galaxytoolbar. :)
« Last Edit: 07 December 2012, 08:56:45 by Omar Hawk »

Offline Omar Hawk

  • Administrator
  • ****
  • Posts: 900
    • View Profile
Re: Chinese
« Reply #3 on: 14 December 2012, 13:38:53 »
Ok, v2.6.25 is now available, including your translation:
https://addons.mozilla.org/en-US/firefox/addon/galaxytoolbar/versions/

The only thing you need to see it is a Chinese Firefox. ;)