mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 09:14:21 +00:00
updated Chinese (Simplified) translation
This commit is contained in:
parent
81665adb66
commit
ec951508e8
@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-11-14 21:27+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2012-02-19 14:02+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-09-24 17:52+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-27 13:59+0800\n"
|
||||
"Last-Translator: MrKing <yideey@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
@ -790,7 +790,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"狼群早就嗅到了战争的气息,和它们的相遇,只是人鱼磨难的开始。这些狼受着一伙哥"
|
||||
"布林的控制。提瑞格斯的兽人们在与凯·劳迪斯的战争中受到了教训,应该暂时还不会来"
|
||||
"骚扰人鱼;但是这些哥布林就难说了,他们甚至抢劫自己的同类并被其族人所抛弃。"
|
||||
"骚扰人鱼;但是这些地精就难说了,他们甚至抢劫自己的同类并被其族人所抛弃。"
|
||||
|
||||
#. [side]: id=Gashnok, type=Goblin Knight, type=Goblin Knight, type=Direwolf Rider, type=Direwolf Rider
|
||||
#: data/campaigns/Dead_Water/scenarios/03_Wolf_Coast.cfg:88
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-14 21:17+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-20 20:20+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -12,8 +12,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"PO-Revision-Date: 2012-02-19 14:06+0800\n"
|
||||
"POT-Creation-Date: 2012-01-22 15:00+0100\n"
|
||||
"PO-Revision-Date: 2012-03-29 20:12+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
"translation-cn>\n"
|
||||
@ -5579,3 +5579,13 @@ msgstr "韦诺之战帮助"
|
||||
#: src/help.cpp:3216
|
||||
msgid "Parse error when parsing help text: "
|
||||
msgstr "分析帮助文本时出现语法错误:"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "These commands can either be issued via the command line by prefixing "
|
||||
#~ "them with ':' (as shown here) or via the chat by prefixing them with "
|
||||
#~ "'/' (press 'm' first to open the chat line).\n"
|
||||
#~ "\n"
|
||||
#~ msgstr ""
|
||||
#~ "这些命令有两种输入方法:一是通过命令行输入,请在命令前加上“:”(如此处所"
|
||||
#~ "示);二是通过聊天窗口输入,请在命令前加上“/”(请先按“m”键来打开聊天窗"
|
||||
#~ "口)。\n"
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2012-02-19 14:07+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,8 +8,8 @@ msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-01-22 15:00+0100\n"
|
||||
"PO-Revision-Date: 2012-01-17 15:29+0800\n"
|
||||
"Last-Translator: wind <everywherewind@gmail.com>\n"
|
||||
"PO-Revision-Date: 2012-03-29 20:13+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
"translation-cn>\n"
|
||||
"Language: zh_CN\n"
|
||||
@ -5231,3 +5231,6 @@ msgstr "噢,不!我们太迟了……"
|
||||
#: data/campaigns/Legend_of_Wesmere/utils/low-macros.cfg:43
|
||||
msgid "You retrieve $amount_gold pieces of gold."
|
||||
msgstr "你取回了$amount_gold金币。"
|
||||
|
||||
#~ msgid " Kalenz is able to recruit dwarves from now on."
|
||||
#~ msgstr " 从现在开始,卡伦茨可以征募矮人了。"
|
||||
|
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2010-08-31 21:53+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-30 21:42+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-07-23 01:40+0800\n"
|
||||
"Last-Translator: wind <everywherewind@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2010-05-03 22:13+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-14 19:52+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-12-23 19:30+0800\n"
|
||||
"Last-Translator: MrKing <yideey@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-11-22 21:46+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
@ -10,7 +10,7 @@ msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-01-22 15:00+0100\n"
|
||||
"PO-Revision-Date: 2012-02-19 14:27+0800\n"
|
||||
"PO-Revision-Date: 2012-03-29 20:09+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
"translation-cn>\n"
|
||||
@ -1887,3 +1887,11 @@ msgstr "刺靶是用来进行剑术和枪术练习的。被一个刺靶攻击是
|
||||
#: data/campaigns/tutorial/units/Quintain.cfg:24
|
||||
msgid "flail"
|
||||
msgstr "连枷"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "female^No other units can reach that orc. I hope my $unit.language_name "
|
||||
#~ "survives its counter-attack! I’d better grab more villages and move "
|
||||
#~ "everyone closer for next turn."
|
||||
#~ msgstr ""
|
||||
#~ "其他单位无法接近那个兽人了。但愿我的$unit.language_name能撑过它的反击!看"
|
||||
#~ "来在下回合我最好占领更多的村庄,让大家再互相靠近一点。"
|
||||
|
@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wesnoth-1.10\n"
|
||||
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
|
||||
"POT-Creation-Date: 2012-02-18 14:42+0100\n"
|
||||
"POT-Creation-Date: 2012-03-25 14:42+0200\n"
|
||||
"PO-Revision-Date: 2011-11-14 22:06+0800\n"
|
||||
"Last-Translator: CloudiDust <cloudidust@gmail.com>\n"
|
||||
"Language-Team: Chinese Simplified <http://code.google.com/p/wesnoth-"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,9 @@
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#ifdef PANDORA
|
||||
#include "neon.hpp"
|
||||
#endif
|
||||
|
||||
surface_lock::surface_lock(surface &surf) : surface_(surf), locked_(false)
|
||||
{
|
||||
@ -1479,25 +1482,54 @@ surface blend_surface(const surface &surf, double amount, Uint32 color, bool opt
|
||||
Uint32* beg = lock.pixels();
|
||||
Uint32* end = beg + nsurf->w*surf->h;
|
||||
|
||||
Uint8 red, green, blue, alpha;
|
||||
SDL_GetRGBA(color,nsurf->format,&red,&green,&blue,&alpha);
|
||||
Uint8 ratio = amount * 255;
|
||||
const Uint16 red = ratio * static_cast<Uint8>(color >> 16);
|
||||
const Uint16 green = ratio * static_cast<Uint8>(color >> 8);
|
||||
const Uint16 blue = ratio * static_cast<Uint8>(color);
|
||||
|
||||
red = Uint8(red * amount);
|
||||
green = Uint8(green * amount);
|
||||
blue = Uint8(blue * amount);
|
||||
ratio = 255 - ratio;
|
||||
|
||||
amount = 1.0 - amount;
|
||||
#ifdef PANDORA
|
||||
/*
|
||||
* Use an optimised version of the generic algorithm. The optimised
|
||||
* version processes 8 pixels a time. If the number of pixels is not an
|
||||
* exact multiple of 8 it falls back to the generic algorithm to handle
|
||||
* the last pixels.
|
||||
*/
|
||||
uint16x8_t vred = vdupq_n_u16(red);
|
||||
uint16x8_t vgreen = vdupq_n_u16(green);
|
||||
uint16x8_t vblue = vdupq_n_u16(blue);
|
||||
|
||||
uint8x8_t vratio = vdup_n_u8(ratio);
|
||||
|
||||
const int div = (nsurf->w * surf->h) / 8;
|
||||
for(int i = 0; i < div; ++i, beg += 8) {
|
||||
uint8x8x4_t rgba = vld4_u8(reinterpret_cast<Uint8*>(beg));
|
||||
|
||||
uint16x8_t b = vmull_u8(rgba.val[0], vratio);
|
||||
uint16x8_t g = vmull_u8(rgba.val[1], vratio);
|
||||
uint16x8_t r = vmull_u8(rgba.val[2], vratio);
|
||||
|
||||
b = vaddq_u16(b, vblue);
|
||||
g = vaddq_u16(g, vgreen);
|
||||
r = vaddq_u16(r, vred);
|
||||
|
||||
rgba.val[0] = vshrn_n_u16(b, 8);
|
||||
rgba.val[1] = vshrn_n_u16(g, 8);
|
||||
rgba.val[2] = vshrn_n_u16(r, 8);
|
||||
|
||||
vst4_u8(reinterpret_cast<Uint8*>(beg), rgba);
|
||||
}
|
||||
#endif
|
||||
while(beg != end) {
|
||||
Uint8 r, g, b, a;
|
||||
a = (*beg) >> 24;
|
||||
r = (*beg) >> 16;
|
||||
g = (*beg) >> 8;
|
||||
b = (*beg);
|
||||
Uint8 a = (*beg) >> 24;
|
||||
Uint8 r = (*beg) >> 16;
|
||||
Uint8 g = (*beg) >> 8;
|
||||
Uint8 b = (*beg);
|
||||
|
||||
r = Uint8(r * amount) + red;
|
||||
g = Uint8(g * amount) + green;
|
||||
b = Uint8(b * amount) + blue;
|
||||
r = (r * ratio + red) >> 8;
|
||||
g = (g * ratio + green) >> 8;
|
||||
b = (b * ratio + blue) >> 8;
|
||||
|
||||
*beg = (a << 24) | (r << 16) | (g << 8) | b;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user