diff options
42 files changed, 4239 insertions, 3847 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index 1aee6d9aa2..6910b368d3 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -548,6 +548,7 @@ OS::OS() { _render_thread_mode=RENDER_THREAD_SAFE; _time_scale=1.0; _pixel_snap=false; + _allow_hidpi=true; Math::seed(1234567); } diff --git a/core/os/os.h b/core/os/os.h index 5fd2bd6c25..76dd235d24 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -60,6 +60,7 @@ class OS { int _target_fps; float _time_scale; bool _pixel_snap; + bool _allow_hidpi; char *last_error; @@ -418,6 +419,7 @@ public: virtual void set_context(int p_context); + bool is_hidpi_allowed() const { return _allow_hidpi; } OS(); virtual ~OS(); diff --git a/main/main.cpp b/main/main.cpp index 0a92971bae..fba7a781bf 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -101,12 +101,13 @@ static bool init_fullscreen=false; static bool init_use_custom_pos=false; static bool debug_collisions=false; static bool debug_navigation=false; +static bool allow_hidpi=true; static Vector2 init_custom_pos; static int video_driver_idx=-1; static int audio_driver_idx=-1; static String locale; static bool use_debug_profiler=false; - +static bool force_lowdpi=false; static int init_screen=-1; static String unescape_cmdline(const String& p_str) { @@ -157,6 +158,8 @@ void Main::print_help(const char* p_binary) { OS::get_singleton()->print("%s",OS::get_singleton()->get_video_driver_name(i)); } OS::get_singleton()->print(")\n"); + OS::get_singleton()->print("\t-ldpi\t : Force low-dpi mode (OSX Only)"); + OS::get_singleton()->print("\t-ad DRIVER\t : Audio Driver ("); for (int i=0;i<OS::get_singleton()->get_audio_driver_count();i++) { @@ -386,6 +389,9 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas goto error; } + } else if (I->get()=="-ldpi") { // language + + force_lowdpi=true; } else if (I->get()=="-rfs") { // language if (I->next()) { @@ -691,6 +697,9 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas video_mode.width=globals->get("display/width"); if (!force_res &&use_custom_res && globals->has("display/height")) video_mode.height=globals->get("display/height"); + if (!editor && (!bool(globals->get("display/allow_hidpi")) || force_lowdpi)) { + OS::get_singleton()->_allow_hidpi=false; + } if (use_custom_res && globals->has("display/fullscreen")) video_mode.fullscreen=globals->get("display/fullscreen"); if (use_custom_res && globals->has("display/resizable")) @@ -710,6 +719,7 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas GLOBAL_DEF("display/width",video_mode.width); GLOBAL_DEF("display/height",video_mode.height); + GLOBAL_DEF("display/allow_hidpi",false); GLOBAL_DEF("display/fullscreen",video_mode.fullscreen); GLOBAL_DEF("display/resizable",video_mode.resizable); GLOBAL_DEF("display/borderless_window", video_mode.borderless_window); diff --git a/platform/android/java/res/drawable/icon.png b/platform/android/java/res/drawable/icon.png Binary files differindex 013632ddf1..e334f5fa78 100644 --- a/platform/android/java/res/drawable/icon.png +++ b/platform/android/java/res/drawable/icon.png diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h index d88dd89002..8d64686335 100644 --- a/platform/osx/os_osx.h +++ b/platform/osx/os_osx.h @@ -59,7 +59,7 @@ public: bool force_quit; Rasterizer *rasterizer; VisualServer *visual_server; - VideoMode current_videomode; + List<String> args; MainLoop *main_loop; unsigned int event_id; @@ -104,9 +104,22 @@ public: bool minimized; bool maximized; bool zoomed; + Vector<Rect2> screens; + Vector<int> screen_dpi; + + Size2 window_size; int current_screen; Rect2 restore_rect; + + float _mouse_scale(float p_scale) { + if (display_scale>1.0) + return p_scale; + else + return 1.0; + } + + float display_scale; protected: virtual int get_video_driver_count() const; @@ -173,6 +186,9 @@ public: virtual int get_current_screen() const; virtual void set_current_screen(int p_screen); virtual Point2 get_screen_position(int p_screen=0) const; + virtual Size2 get_screen_size(int p_screen=0) const; + virtual int get_screen_dpi(int p_screen=0) const; + virtual Point2 get_window_position() const; virtual void set_window_position(const Point2& p_position); virtual void set_window_size(const Size2 p_size); @@ -184,7 +200,6 @@ public: virtual bool is_window_minimized() const; virtual void set_window_maximized(bool p_enabled); virtual bool is_window_maximized() const; - Size2 get_screen_size(int p_screen=0) const; void run(); diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index c443fc2d0e..b614dd57aa 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -202,10 +202,10 @@ static int button_mask=0; [OS_OSX::singleton->context update]; const NSRect contentRect = [OS_OSX::singleton->window_view frame]; - const NSRect fbRect = convertRectToBacking(contentRect); + const NSRect fbRect = contentRect;//convertRectToBacking(contentRect); - OS_OSX::singleton->current_videomode.width=fbRect.size.width; - OS_OSX::singleton->current_videomode.height=fbRect.size.height; + OS_OSX::singleton->window_size.width=fbRect.size.width*OS_OSX::singleton->display_scale; + OS_OSX::singleton->window_size.height=fbRect.size.height*OS_OSX::singleton->display_scale; // _GodotInputFramebufferSize(window, fbRect.size.width, fbRect.size.height); @@ -324,7 +324,7 @@ static int button_mask=0; - (void)mouseDown:(NSEvent *)event { - print_line("mouse down:"); + //print_line("mouse down:"); button_mask|=BUTTON_MASK_LEFT; InputEvent ev; ev.type=InputEvent::MOUSE_BUTTON; @@ -383,14 +383,14 @@ static int button_mask=0; prev_mouse_y=mouse_y; const NSRect contentRect = [OS_OSX::singleton->window_view frame]; const NSPoint p = [event locationInWindow]; - mouse_x = p.x * [[event window] backingScaleFactor]; - mouse_y = (contentRect.size.height - p.y) * [[event window] backingScaleFactor]; + mouse_x = p.x * OS_OSX::singleton->_mouse_scale([[event window] backingScaleFactor]); + mouse_y = (contentRect.size.height - p.y) * OS_OSX::singleton->_mouse_scale([[event window] backingScaleFactor]); ev.mouse_motion.x=mouse_x; ev.mouse_motion.y=mouse_y; ev.mouse_motion.global_x=mouse_x; ev.mouse_motion.global_y=mouse_y; - ev.mouse_motion.relative_x=[event deltaX] * [[event window] backingScaleFactor]; - ev.mouse_motion.relative_y=[event deltaY] * [[event window] backingScaleFactor]; + ev.mouse_motion.relative_x=[event deltaX] * OS_OSX::singleton->_mouse_scale([[event window] backingScaleFactor]); + ev.mouse_motion.relative_y=[event deltaY] * OS_OSX::singleton->_mouse_scale([[event window] backingScaleFactor]); ev.mouse_motion.mod = translateFlags([event modifierFlags]); OS_OSX::singleton->input->set_mouse_pos(Point2(mouse_x,mouse_y)); @@ -893,6 +893,15 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi kTISNotifySelectedKeyboardInputSourceChanged, NULL, CFNotificationSuspensionBehaviorDeliverImmediately); + if (is_hidpi_allowed() && [[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)]) { + for (NSScreen *screen in [NSScreen screens]) { + float s = [screen backingScaleFactor]; + if (s > display_scale) { + display_scale=s; + } + } + } + window_delegate = [[GodotWindowDelegate alloc] init]; // Don't use accumulation buffer support; it's not accelerated @@ -902,7 +911,7 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi window_object = [[GodotWindow alloc] - initWithContentRect:NSMakeRect(0, 0, p_desired.width, p_desired.height) + initWithContentRect:NSMakeRect(0, 0, p_desired.width/display_scale, p_desired.height/display_scale) styleMask:styleMask backing:NSBackingStoreBuffered defer:NO]; @@ -911,15 +920,11 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi window_view = [[GodotContentView alloc] init]; - current_videomode = p_desired; - - // Adjust for display density - const NSRect fbRect = convertRectToBacking(NSMakeRect(0, 0, p_desired.width, p_desired.height)); - current_videomode.width = fbRect.size.width; - current_videomode.height = fbRect.size.height; + window_size.width = p_desired.width; + window_size.height = p_desired.height; #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) { + if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6 && display_scale>1) { [window_view setWantsBestResolutionOpenGLSurface:YES]; //if (current_videomode.resizable) [window_object setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; @@ -1062,9 +1067,28 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi printf("nscreen count %i\n", (int)[screenArray count]); for (int i=0; i<[screenArray count]; i++) { + float displayScale = 1.0; + + if (display_scale>1.0 && [[screenArray objectAtIndex: i] respondsToSelector:@selector(backingScaleFactor)]) { + displayScale = [[screenArray objectAtIndex: i] backingScaleFactor]; + } + NSRect nsrect = [[screenArray objectAtIndex: i] visibleFrame]; - screens.push_back(Rect2(nsrect.origin.x, nsrect.origin.y, nsrect.size.width, nsrect.size.height)); - printf("added screen %i\n", screens.size()); + Rect2 rect = Rect2(nsrect.origin.x, nsrect.origin.y, nsrect.size.width, nsrect.size.height); + rect.pos*=displayScale; + rect.size*=displayScale; + screens.push_back(rect); + + NSDictionary *description = [[screenArray objectAtIndex: i] deviceDescription]; + NSSize displayPixelSize = [[description objectForKey:NSDeviceSize] sizeValue]; + CGSize displayPhysicalSize = CGDisplayScreenSize( + [[description objectForKey:@"NSScreenNumber"] unsignedIntValue]); + + //printf("width: %i pwidth %i rect width %i\n",int(displayPixelSize.width*displayScale),int(displayPhysicalSize.width*displayScale),int(nsrect.size.width)); + int dpi = (displayPixelSize.width * 25.4f / displayPhysicalSize.width)*displayScale; + + screen_dpi.push_back(dpi); + }; restore_rect = Rect2(get_window_position(), get_window_size()); } @@ -1326,7 +1350,11 @@ void OS_OSX::set_video_mode(const VideoMode& p_video_mode,int p_screen) { OS::VideoMode OS_OSX::get_video_mode(int p_screen) const { - return current_videomode; + VideoMode vm; + vm.width=window_size.width; + vm.height=window_size.height; + + return vm; } void OS_OSX::get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen) const { @@ -1354,6 +1382,12 @@ Point2 OS_OSX::get_screen_position(int p_screen) const { return screens[p_screen].pos; }; +int OS_OSX::get_screen_dpi(int p_screen) const { + + ERR_FAIL_INDEX_V(p_screen, screens.size(), 72); + return screen_dpi[p_screen]; +} + Size2 OS_OSX::get_screen_size(int p_screen) const { ERR_FAIL_INDEX_V(p_screen, screens.size(), Point2()); @@ -1362,24 +1396,29 @@ Size2 OS_OSX::get_screen_size(int p_screen) const { Point2 OS_OSX::get_window_position() const { - return Size2([window_object frame].origin.x, [window_object frame].origin.y); + Size2 wp([window_object frame].origin.x, [window_object frame].origin.y); + wp*=display_scale; }; void OS_OSX::set_window_position(const Point2& p_position) { - [window_object setFrame:NSMakeRect(p_position.x, p_position.y, [window_object frame].size.width, [window_object frame].size.height) display:YES]; + Point2 size=p_position; + size/=display_scale; + [window_object setFrame:NSMakeRect(size.x, size.y, [window_object frame].size.width, [window_object frame].size.height) display:YES]; }; Size2 OS_OSX::get_window_size() const { - return Size2([window_object frame].size.width, [window_object frame].size.height); + return window_size; + }; void OS_OSX::set_window_size(const Size2 p_size) { + Size2 size=p_size; NSRect frame = [window_object frame]; - [window_object setFrame:NSMakeRect(frame.origin.x, frame.origin.y, p_size.x, p_size.y) display:YES]; + [window_object setFrame:NSMakeRect(frame.origin.x, frame.origin.y, size.x, size.y) display:YES]; }; void OS_OSX::set_window_fullscreen(bool p_enabled) { @@ -1690,5 +1729,7 @@ OS_OSX::OS_OSX() { maximized = false; minimized = false; + window_size=Vector2(1024,600); zoomed = false; + display_scale=1.0; } diff --git a/platform/windows/godot.ico b/platform/windows/godot.ico Binary files differindex e57ce36529..3e52f2e52f 100644 --- a/platform/windows/godot.ico +++ b/platform/windows/godot.ico diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 51242d89bd..e7a84d1146 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -118,6 +118,16 @@ void WindowDialog::set_title(const String& p_title) { update(); } +Size2 WindowDialog::get_minimum_size() const { + + Ref<Font> font = get_font("title_font","WindowDialog"); + int msx=close_button->get_combined_minimum_size().x; + msx+=font->get_string_size(title).x; + + return Size2(msx,1); +} + + String WindowDialog::get_title() const { return title; @@ -192,11 +202,9 @@ void AcceptDialog::_notification(int p_what) { if (p_what==NOTIFICATION_MODAL_CLOSE) { cancel_pressed(); - } if (p_what==NOTIFICATION_DRAW) { - - - + } if (p_what==NOTIFICATION_RESIZED) { + _update_child_rect(); } } @@ -244,12 +252,69 @@ void AcceptDialog::register_text_enter(Node *p_line_edit) { p_line_edit->connect("text_entered", this,"_builtin_text_entered"); } +void AcceptDialog::_update_child_rect() { + + int margin = get_constant("margin","Dialogs"); + Size2 size = get_size(); + Size2 hminsize = hbc->get_combined_minimum_size(); + + Vector2 cpos(margin,margin); + Vector2 csize(size.x-margin*2,size.y-margin*3-hminsize.y); + label->set_pos(cpos); + label->set_size(csize); + + if (child) { + + child->set_pos(cpos); + child->set_size(csize); + } + + cpos.y+=csize.y+margin; + csize.y=hminsize.y; + + hbc->set_pos(cpos); + hbc->set_size(csize); + +} + +Size2 AcceptDialog::get_minimum_size() const { + + int margin = get_constant("margin","Dialogs"); + Size2 minsize = label->get_combined_minimum_size(); + if (child) { + + Size2 cminsize = child->get_combined_minimum_size(); + minsize.x=MAX(cminsize.x,minsize.x); + minsize.y=MAX(cminsize.y,minsize.y); + } + + Size2 hminsize = hbc->get_combined_minimum_size(); + minsize.x = MAX(hminsize.x,minsize.x); + minsize.y+=hminsize.y; + minsize.x+=margin*2; + minsize.y+=margin*3; //one as separation between hbc and child + + Size2 wmsize = WindowDialog::get_minimum_size(); + minsize.x=MAX(wmsize.x,minsize.x); + return minsize; +} + + void AcceptDialog::set_child_rect(Control *p_child) { ERR_FAIL_COND(p_child->get_parent()!=this); - p_child->set_area_as_parent_rect(get_constant("margin","Dialogs")); - p_child->set_margin(MARGIN_BOTTOM, get_constant("button_margin","Dialogs")+10); + //p_child->set_area_as_parent_rect(get_constant("margin","Dialogs")); + child=p_child; + minimum_size_changed(); + _update_child_rect(); +} + +void AcceptDialog::remove_child_notify(Node *p_child) { + + if (p_child==child) { + child=NULL; + } } void AcceptDialog::_custom_action(const String& p_action) { @@ -352,6 +417,8 @@ AcceptDialog::AcceptDialog() { hide_on_ok=true; set_title("Alert!"); + + child=NULL; } diff --git a/scene/gui/dialogs.h b/scene/gui/dialogs.h index f256c49aee..d00bb41ff6 100644 --- a/scene/gui/dialogs.h +++ b/scene/gui/dialogs.h @@ -64,6 +64,8 @@ public: void set_title(const String& p_title); String get_title() const; + Size2 get_minimum_size() const; + WindowDialog(); ~WindowDialog(); @@ -89,6 +91,7 @@ class AcceptDialog : public WindowDialog { OBJ_TYPE(AcceptDialog,WindowDialog); + Control *child; HBoxContainer *hbc; Label *label; Button *ok; @@ -100,10 +103,12 @@ class AcceptDialog : public WindowDialog { void _ok_pressed(); void _close_pressed(); void _builtin_text_entered(const String& p_text); + void _update_child_rect(); static bool swap_ok_cancel; + virtual void remove_child_notify(Node *p_child); protected: @@ -116,6 +121,8 @@ protected: virtual void custom_action(const String&) {} public: + Size2 get_minimum_size() const; + Label *get_label() { return label; } static void set_swap_ok_cancel(bool p_swap); diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 1c6a97bab8..c8bd1cb5a1 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -411,6 +411,11 @@ void TabContainer::_notification(int p_what) { panel->draw(ci, Rect2( 0, top_size.height, size.width, size.height-top_size.height)); } break; + case NOTIFICATION_READY: + case NOTIFICATION_THEME_CHANGED: { + + call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme + } break; } } diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index cd90bf52b6..9ebb7e7561 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -28,6 +28,7 @@ typedef Map<const void*,Ref<ImageTexture> > TexCacheMap; static TexCacheMap *tex_cache; +static int scale=1; template<class T> static Ref<StyleBoxTexture> make_stylebox(T p_src,float p_left, float p_top, float p_right, float p_botton,float p_margin_left=-1, float p_margin_top=-1, float p_margin_right=-1, float p_margin_botton=-1, bool p_draw_center=true) { @@ -40,21 +41,24 @@ static Ref<StyleBoxTexture> make_stylebox(T p_src,float p_left, float p_top, flo } else { texture = Ref<ImageTexture>( memnew( ImageTexture ) ); - texture->create_from_image( Image(p_src),ImageTexture::FLAG_FILTER ); + Image img(p_src); + if (scale>1) + img.expand_x2_hq2x(); + texture->create_from_image( img,ImageTexture::FLAG_FILTER ); (*tex_cache)[p_src]=texture; } Ref<StyleBoxTexture> style( memnew( StyleBoxTexture ) ); style->set_texture(texture); - style->set_margin_size( MARGIN_LEFT, p_left ); - style->set_margin_size( MARGIN_RIGHT, p_right ); - style->set_margin_size( MARGIN_BOTTOM, p_botton ); - style->set_margin_size( MARGIN_TOP, p_top ); - style->set_default_margin( MARGIN_LEFT, p_margin_left ); - style->set_default_margin( MARGIN_RIGHT, p_margin_right ); - style->set_default_margin( MARGIN_BOTTOM, p_margin_botton ); - style->set_default_margin( MARGIN_TOP, p_margin_top ); + style->set_margin_size( MARGIN_LEFT, p_left * scale); + style->set_margin_size( MARGIN_RIGHT, p_right * scale); + style->set_margin_size( MARGIN_BOTTOM, p_botton * scale); + style->set_margin_size( MARGIN_TOP, p_top * scale); + style->set_default_margin( MARGIN_LEFT, p_margin_left * scale); + style->set_default_margin( MARGIN_RIGHT, p_margin_right * scale); + style->set_default_margin( MARGIN_BOTTOM, p_margin_botton * scale); + style->set_default_margin( MARGIN_TOP, p_margin_top * scale); style->set_draw_center(p_draw_center); return style; @@ -63,10 +67,10 @@ static Ref<StyleBoxTexture> make_stylebox(T p_src,float p_left, float p_top, flo static Ref<StyleBoxTexture> sb_expand(Ref<StyleBoxTexture> p_sbox,float p_left, float p_top, float p_right, float p_botton) { - p_sbox->set_expand_margin_size(MARGIN_LEFT,p_left); - p_sbox->set_expand_margin_size(MARGIN_TOP,p_top); - p_sbox->set_expand_margin_size(MARGIN_RIGHT,p_right); - p_sbox->set_expand_margin_size(MARGIN_BOTTOM,p_botton); + p_sbox->set_expand_margin_size(MARGIN_LEFT,p_left * scale); + p_sbox->set_expand_margin_size(MARGIN_TOP,p_top * scale); + p_sbox->set_expand_margin_size(MARGIN_RIGHT,p_right * scale); + p_sbox->set_expand_margin_size(MARGIN_BOTTOM,p_botton * scale); return p_sbox; } @@ -75,7 +79,10 @@ static Ref<Texture> make_icon(T p_src) { Ref<ImageTexture> texture( memnew( ImageTexture ) ); - texture->create_from_image( Image(p_src),ImageTexture::FLAG_FILTER ); + Image img = Image(p_src); + if (scale>1) + img.expand_x2_hq2x(); + texture->create_from_image( img,ImageTexture::FLAG_FILTER ); return texture; } @@ -170,27 +177,24 @@ static Ref<StyleBox> make_empty_stylebox(float p_margin_left=-1, float p_margin_ Ref<StyleBox> style( memnew( StyleBoxEmpty) ); - style->set_default_margin( MARGIN_LEFT, p_margin_left ); - style->set_default_margin( MARGIN_RIGHT, p_margin_right ); - style->set_default_margin( MARGIN_BOTTOM, p_margin_botton ); - style->set_default_margin( MARGIN_TOP, p_margin_top ); + style->set_default_margin( MARGIN_LEFT, p_margin_left * scale); + style->set_default_margin( MARGIN_RIGHT, p_margin_right * scale); + style->set_default_margin( MARGIN_BOTTOM, p_margin_botton * scale); + style->set_default_margin( MARGIN_TOP, p_margin_top * scale); return style; } -#ifndef DEFAULT_THEME_DISABLED - -void make_default_theme() { +void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<Font> & large_font,Ref<Texture>& default_icon, Ref<StyleBox>& default_style,bool p_hidpi) { + if (p_hidpi) + scale=2; + else + scale=1; tex_cache = memnew( TexCacheMap ); - Ref<Theme> t( memnew( Theme ) ); - //Ref<BitmapFont> default_font = make_font(_bi_font_normal_height,_bi_font_normal_ascent,_bi_font_normal_valign,_bi_font_normal_charcount,_bi_font_normal_characters,make_icon(font_normal_png)); - Ref<BitmapFont> default_font=make_font2(_builtin_normal_font_height,_builtin_normal_font_ascent,_builtin_normal_font_charcount,&_builtin_normal_font_charrects[0][0],_builtin_normal_font_kerning_pair_count,&_builtin_normal_font_kerning_pairs[0][0],_builtin_normal_font_img_width,_builtin_normal_font_img_height,_builtin_normal_font_img_data); - Ref<BitmapFont> source_font=make_font2(_builtin_source_font_height,_builtin_source_font_ascent,_builtin_source_font_charcount,&_builtin_source_font_charrects[0][0],_builtin_source_font_kerning_pair_count,&_builtin_source_font_kerning_pairs[0][0],_builtin_source_font_img_width,_builtin_source_font_img_height,_builtin_source_font_img_data); - Ref<BitmapFont> large_font=make_font2(_builtin_large_font_height,_builtin_large_font_ascent,_builtin_large_font_charcount,&_builtin_large_font_charrects[0][0],_builtin_large_font_kerning_pair_count,&_builtin_large_font_kerning_pairs[0][0],_builtin_large_font_img_width,_builtin_large_font_img_height,_builtin_large_font_img_data); // Font Colors @@ -213,7 +217,7 @@ void make_default_theme() { Ref<StyleBoxTexture> focus = make_stylebox( focus_png,5,5,5,5); for(int i=0;i<4;i++) { - focus->set_expand_margin_size(Margin(i),1); + focus->set_expand_margin_size(Margin(i),1 *scale); } @@ -239,7 +243,7 @@ void make_default_theme() { t->set_color("font_color_hover","Button", control_font_color_hover ); t->set_color("font_color_disabled","Button", control_font_color_disabled ); - t->set_constant("hseparation","Button", 2); + t->set_constant("hseparation","Button", 2 *scale); // LinkButton @@ -249,7 +253,7 @@ void make_default_theme() { t->set_color("font_color_pressed","LinkButton", control_font_color_pressed ); t->set_color("font_color_hover","LinkButton", control_font_color_hover ); - t->set_constant("underline_spacing","LinkButton", 2 ); + t->set_constant("underline_spacing","LinkButton", 2 *scale); // ColorPickerButton @@ -266,16 +270,16 @@ void make_default_theme() { t->set_color("font_color_hover","ColorPickerButton", Color(1,1,1,1) ); t->set_color("font_color_disabled","ColorPickerButton", Color(0.9,0.9,0.9,0.3) ); - t->set_constant("hseparation","ColorPickerButton", 2 ); + t->set_constant("hseparation","ColorPickerButton", 2 *scale); // ToolButton Ref<StyleBox> tb_empty = memnew( StyleBoxEmpty ); - tb_empty->set_default_margin(MARGIN_LEFT,6); - tb_empty->set_default_margin(MARGIN_RIGHT,6); - tb_empty->set_default_margin(MARGIN_TOP,4); - tb_empty->set_default_margin(MARGIN_BOTTOM,4); + tb_empty->set_default_margin(MARGIN_LEFT,6 *scale); + tb_empty->set_default_margin(MARGIN_RIGHT,6 *scale); + tb_empty->set_default_margin(MARGIN_TOP,4 *scale); + tb_empty->set_default_margin(MARGIN_BOTTOM,4 *scale); t->set_stylebox("normal","ToolButton", tb_empty); t->set_stylebox("pressed","ToolButton", make_stylebox( button_pressed_png,4,4,4,4) ); @@ -316,8 +320,8 @@ void make_default_theme() { t->set_color("font_color_hover","OptionButton", control_font_color_hover ); t->set_color("font_color_disabled","OptionButton", control_font_color_disabled ); - t->set_constant("hseparation","OptionButton", 2 ); - t->set_constant("arrow_margin","OptionButton", 2 ); + t->set_constant("hseparation","OptionButton", 2 *scale); + t->set_constant("arrow_margin","OptionButton", 2 *scale); @@ -336,7 +340,7 @@ void make_default_theme() { t->set_color("font_color_hover","MenuButton", control_font_color_hover ); t->set_color("font_color_disabled","MenuButton", Color(1,1,1,0.3) ); - t->set_constant("hseparation","MenuButton", 3 ); + t->set_constant("hseparation","MenuButton", 3 *scale); // ButtonGroup @@ -345,15 +349,15 @@ void make_default_theme() { // CheckBox Ref<StyleBox> cbx_empty = memnew( StyleBoxEmpty ); - cbx_empty->set_default_margin(MARGIN_LEFT,22); - cbx_empty->set_default_margin(MARGIN_RIGHT,4); - cbx_empty->set_default_margin(MARGIN_TOP,4); - cbx_empty->set_default_margin(MARGIN_BOTTOM,5); + cbx_empty->set_default_margin(MARGIN_LEFT,22 *scale); + cbx_empty->set_default_margin(MARGIN_RIGHT,4 *scale); + cbx_empty->set_default_margin(MARGIN_TOP,4 *scale); + cbx_empty->set_default_margin(MARGIN_BOTTOM,5 *scale); Ref<StyleBox> cbx_focus = focus; - cbx_focus->set_default_margin(MARGIN_LEFT,4); - cbx_focus->set_default_margin(MARGIN_RIGHT,22); - cbx_focus->set_default_margin(MARGIN_TOP,4); - cbx_focus->set_default_margin(MARGIN_BOTTOM,5); + cbx_focus->set_default_margin(MARGIN_LEFT,4 *scale); + cbx_focus->set_default_margin(MARGIN_RIGHT,22 *scale); + cbx_focus->set_default_margin(MARGIN_TOP,4 *scale); + cbx_focus->set_default_margin(MARGIN_BOTTOM,5 *scale); t->set_stylebox("normal","CheckBox", cbx_empty ); t->set_stylebox("pressed","CheckBox", cbx_empty ); @@ -373,18 +377,18 @@ void make_default_theme() { t->set_color("font_color_hover","CheckBox", control_font_color_hover ); t->set_color("font_color_disabled","CheckBox", control_font_color_disabled ); - t->set_constant("hseparation","CheckBox",4); - t->set_constant("check_vadjust","CheckBox",0); + t->set_constant("hseparation","CheckBox",4 *scale); + t->set_constant("check_vadjust","CheckBox",0 *scale); // CheckButton Ref<StyleBox> cb_empty = memnew( StyleBoxEmpty ); - cb_empty->set_default_margin(MARGIN_LEFT,6); - cb_empty->set_default_margin(MARGIN_RIGHT,70); - cb_empty->set_default_margin(MARGIN_TOP,4); - cb_empty->set_default_margin(MARGIN_BOTTOM,4); + cb_empty->set_default_margin(MARGIN_LEFT,6 *scale); + cb_empty->set_default_margin(MARGIN_RIGHT,70 *scale); + cb_empty->set_default_margin(MARGIN_TOP,4 *scale); + cb_empty->set_default_margin(MARGIN_BOTTOM,4 *scale); t->set_stylebox("normal","CheckButton", cb_empty ); t->set_stylebox("pressed","CheckButton", cb_empty ); @@ -402,8 +406,8 @@ void make_default_theme() { t->set_color("font_color_hover","CheckButton", control_font_color_hover ); t->set_color("font_color_disabled","CheckButton", control_font_color_disabled ); - t->set_constant("hseparation","CheckButton",4); - t->set_constant("check_vadjust","CheckButton",0); + t->set_constant("hseparation","CheckButton",4 *scale); + t->set_constant("check_vadjust","CheckButton",0 *scale); @@ -414,10 +418,10 @@ void make_default_theme() { t->set_color("font_color","Label", Color(1,1,1) ); t->set_color("font_color_shadow","Label", Color(0,0,0,0) ); - t->set_constant("shadow_offset_x","Label", 1 ); - t->set_constant("shadow_offset_y","Label", 1 ); - t->set_constant("shadow_as_outline","Label", 0 ); - t->set_constant("line_spacing","Label", 3 ); + t->set_constant("shadow_offset_x","Label", 1 *scale); + t->set_constant("shadow_offset_y","Label", 1 *scale); + t->set_constant("shadow_as_outline","Label", 0 *scale); + t->set_constant("line_spacing","Label", 3 *scale); @@ -434,7 +438,7 @@ void make_default_theme() { t->set_color("cursor_color","LineEdit", control_font_color_hover ); t->set_color("selection_color","LineEdit", font_color_selection ); - t->set_constant("minimum_spaces","LineEdit", 12 ); + t->set_constant("minimum_spaces","LineEdit", 12 *scale); @@ -475,7 +479,7 @@ void make_default_theme() { t->set_constant("completion_lines","TextEdit", 7 ); t->set_constant("completion_max_width","TextEdit", 50 ); t->set_constant("completion_scroll_width","TextEdit", 3 ); - t->set_constant("line_spacing","TextEdit",4 ); + t->set_constant("line_spacing","TextEdit",4 *scale); Ref<Texture> empty_icon = memnew( ImageTexture ); @@ -555,10 +559,10 @@ void make_default_theme() { t->set_color("title_color","WindowDialog", Color(0,0,0) ); - t->set_constant("close_h_ofs","WindowDialog", 22 ); - t->set_constant("close_v_ofs","WindowDialog", 20 ); - t->set_constant("titlebar_height","WindowDialog", 18 ); - t->set_constant("title_height","WindowDialog", 20 ); + t->set_constant("close_h_ofs","WindowDialog", 22 *scale); + t->set_constant("close_v_ofs","WindowDialog", 20 *scale); + t->set_constant("titlebar_height","WindowDialog", 18 *scale); + t->set_constant("title_height","WindowDialog", 20 *scale); // File Dialog @@ -572,7 +576,7 @@ void make_default_theme() { Ref<StyleBoxTexture> selected = make_stylebox( selection_png,6,6,6,6); for(int i=0;i<4;i++) { - selected->set_expand_margin_size(Margin(i),2); + selected->set_expand_margin_size(Margin(i),2 *scale); } t->set_stylebox("panel","PopupPanel", style_pp ); @@ -598,8 +602,8 @@ void make_default_theme() { t->set_color("font_color_disabled","PopupMenu", Color(0.4,0.4,0.4,0.8) ); t->set_color("font_color_hover","PopupMenu", control_font_color ); - t->set_constant("hseparation","PopupMenu",4); - t->set_constant("vseparation","PopupMenu",4); + t->set_constant("hseparation","PopupMenu",4 *scale); + t->set_constant("vseparation","PopupMenu",4 *scale); // GraphNode @@ -614,14 +618,14 @@ void make_default_theme() { t->set_stylebox("selectedframe","GraphNode", graphsbselected ); t->set_stylebox("defaultframe", "GraphNode", graphsbdefault ); t->set_stylebox("defaultfocus", "GraphNode", graphsbdeffocus ); - t->set_constant("separation","GraphNode", 1 ); + t->set_constant("separation","GraphNode", 1 *scale); t->set_icon("port","GraphNode", make_icon( graph_port_png ) ); t->set_icon("close","GraphNode", make_icon( graph_node_close_png ) ); t->set_font("title_font","GraphNode", default_font ); t->set_color("title_color","GraphNode", Color(0,0,0,1)); - t->set_constant("title_offset","GraphNode", 18); - t->set_constant("close_offset","GraphNode", 18); - t->set_constant("port_offset","GraphNode", 3); + t->set_constant("title_offset","GraphNode", 18 *scale); + t->set_constant("close_offset","GraphNode", 18 *scale); + t->set_constant("port_offset","GraphNode", 3 *scale); // Tree @@ -658,11 +662,11 @@ void make_default_theme() { t->set_color("guide_color","Tree", Color(0,0,0,0.1) ); t->set_color("drop_position_color","Tree", Color(1,0.3,0.2) ); - t->set_constant("hseparation","Tree",4); - t->set_constant("vseparation","Tree",4); - t->set_constant("guide_width","Tree",2); - t->set_constant("item_margin","Tree",12); - t->set_constant("button_margin","Tree",4); + t->set_constant("hseparation","Tree",4 *scale); + t->set_constant("vseparation","Tree",4 *scale); + t->set_constant("guide_width","Tree",2 *scale); + t->set_constant("item_margin","Tree",12 *scale); + t->set_constant("button_margin","Tree",4 *scale); // ItemList @@ -674,7 +678,7 @@ void make_default_theme() { t->set_constant("hseparation","ItemList",4); t->set_constant("vseparation","ItemList",2); t->set_constant("icon_margin","ItemList",4); - t->set_constant("line_separation","ItemList",2); + t->set_constant("line_separation","ItemList",2 *scale); t->set_font("font","ItemList", default_font ); t->set_color("font_color","ItemList", control_font_color_lower ); t->set_color("font_color_selected","ItemList", control_font_color_pressed ); @@ -695,8 +699,8 @@ void make_default_theme() { Ref<StyleBoxTexture> tc_sb = sb_expand( make_stylebox( tab_container_bg_png,4,4,4,4,4,4,4,4),3,3,3,3); - tc_sb->set_expand_margin_size(MARGIN_TOP,2); - tc_sb->set_default_margin(MARGIN_TOP,8); + tc_sb->set_expand_margin_size(MARGIN_TOP,2 *scale); + tc_sb->set_default_margin(MARGIN_TOP,8 *scale); t->set_stylebox("tab_fg","TabContainer", sb_expand( make_stylebox( tab_current_png,4,4,4,1,16,4,16,4),2,2,2,2) ); t->set_stylebox("tab_bg","TabContainer", sb_expand( make_stylebox( tab_behind_png,5,5,5,1,16,6,16,4),3,0,3,3) ); @@ -714,11 +718,11 @@ void make_default_theme() { t->set_color("font_color_fg","TabContainer", control_font_color_hover ); t->set_color("font_color_bg","TabContainer", control_font_color_low ); - t->set_constant("side_margin","TabContainer", 8 ); - t->set_constant("top_margin","TabContainer", 24); - t->set_constant("label_valign_fg","TabContainer", 0); - t->set_constant("label_valign_bg","TabContainer", 2); - t->set_constant("hseparation","TabContainer", 4); + t->set_constant("side_margin","TabContainer", 8 *scale); + t->set_constant("top_margin","TabContainer", 24 *scale); + t->set_constant("label_valign_fg","TabContainer", 0 *scale); + t->set_constant("label_valign_bg","TabContainer", 2 *scale); + t->set_constant("hseparation","TabContainer", 4 *scale); @@ -741,10 +745,10 @@ void make_default_theme() { t->set_color("font_color_fg","Tabs", control_font_color_hover ); t->set_color("font_color_bg","Tabs", control_font_color_low ); - t->set_constant("top_margin","Tabs", 24); - t->set_constant("label_valign_fg","Tabs", 0); - t->set_constant("label_valign_bg","Tabs", 2); - t->set_constant("hseparation","Tabs", 4); + t->set_constant("top_margin","Tabs", 24 *scale); + t->set_constant("label_valign_fg","Tabs", 0 *scale); + t->set_constant("label_valign_bg","Tabs", 2 *scale); + t->set_constant("hseparation","Tabs", 4 *scale); @@ -754,18 +758,17 @@ void make_default_theme() { t->set_stylebox("separator","VSeparator", make_stylebox( hseparator_png,3,3,3,3) ); t->set_icon("close","Icons", make_icon(icon_close_png)); - t->set_font("source","Fonts", source_font); t->set_font("normal","Fonts", default_font ); t->set_font("large","Fonts", large_font ); - t->set_constant("separation","HSeparator", 4); - t->set_constant("separation","VSeparator", 4); + t->set_constant("separation","HSeparator", 4 *scale); + t->set_constant("separation","VSeparator", 4 *scale); // Dialogs - t->set_constant("margin","Dialogs",8); - t->set_constant("button_margin","Dialogs",32); + t->set_constant("margin","Dialogs",8 *scale); + t->set_constant("button_margin","Dialogs",32 *scale); @@ -778,11 +781,11 @@ void make_default_theme() { // colorPicker - t->set_constant("value_height","ColorPicker", 23 ); - t->set_constant("value_width","ColorPicker", 50); - t->set_constant("color_width","ColorPicker", 100); - t->set_constant("label_width","ColorPicker", 20); - t->set_constant("hseparator","ColorPicker", 4); + t->set_constant("value_height","ColorPicker", 23 *scale); + t->set_constant("value_width","ColorPicker", 50 *scale); + t->set_constant("color_width","ColorPicker", 100 *scale); + t->set_constant("label_width","ColorPicker", 20 *scale); + t->set_constant("hseparator","ColorPicker", 4 *scale); t->set_icon("screen_picker","ColorPicker", make_icon( icon_color_pick_png ) ); t->set_icon("add_preset","ColorPicker", make_icon( icon_add_png ) ); @@ -794,7 +797,7 @@ void make_default_theme() { Ref<StyleBoxTexture> style_tt = make_stylebox( tooltip_bg_png,4,4,4,4); for(int i=0;i<4;i++) - style_tt->set_expand_margin_size((Margin)i,4); + style_tt->set_expand_margin_size((Margin)i,4 *scale); t->set_stylebox("panel","TooltipPanel", style_tt ); @@ -822,9 +825,9 @@ void make_default_theme() { t->set_color("font_color_selected","RichTextLabel", font_color_selection ); t->set_color("selection_color","RichTextLabel", Color(0.1,0.1,1,0.8) ); - t->set_constant("line_separation","RichTextLabel", 1 ); - t->set_constant("table_hseparation","RichTextLabel", 3 ); - t->set_constant("table_vseparation","RichTextLabel", 3 ); + t->set_constant("line_separation","RichTextLabel", 1 *scale); + t->set_constant("table_hseparation","RichTextLabel", 3 *scale); + t->set_constant("table_vseparation","RichTextLabel", 3 *scale); @@ -836,18 +839,18 @@ void make_default_theme() { t->set_icon("grabber","VSplitContainer",make_icon(vsplitter_png)); t->set_icon("grabber","HSplitContainer",make_icon(hsplitter_png)); - t->set_constant("separation","HBoxContainer",4); - t->set_constant("separation","VBoxContainer",4); - t->set_constant("margin_left","MarginContainer",8); - t->set_constant("margin_top","MarginContainer",0); - t->set_constant("margin_right","MarginContainer",0); - t->set_constant("margin_bottom","MarginContainer",0); - t->set_constant("hseparation","GridContainer",4); - t->set_constant("vseparation","GridContainer",4); - t->set_constant("separation","HSplitContainer",12); - t->set_constant("separation","VSplitContainer",12); - t->set_constant("autohide","HSplitContainer",1); - t->set_constant("autohide","VSplitContainer",1); + t->set_constant("separation","HBoxContainer",4 *scale); + t->set_constant("separation","VBoxContainer",4 *scale); + t->set_constant("margin_left","MarginContainer",8 *scale); + t->set_constant("margin_top","MarginContainer",0 *scale); + t->set_constant("margin_right","MarginContainer",0 *scale); + t->set_constant("margin_bottom","MarginContainer",0 *scale); + t->set_constant("hseparation","GridContainer",4 *scale); + t->set_constant("vseparation","GridContainer",4 *scale); + t->set_constant("separation","HSplitContainer",12 *scale); + t->set_constant("separation","VSplitContainer",12 *scale); + t->set_constant("autohide","HSplitContainer",1 *scale); + t->set_constant("autohide","VSplitContainer",1 *scale); @@ -863,8 +866,8 @@ void make_default_theme() { t->set_color("font_color","HButtonArray", control_font_color_low ); t->set_color("font_color_selected","HButtonArray", control_font_color_hover ); - t->set_constant("icon_separator","HButtonArray", 4 ); - t->set_constant("button_separator","HButtonArray", 8 ); + t->set_constant("icon_separator","HButtonArray", 4 *scale ); + t->set_constant("button_separator","HButtonArray", 8 *scale ); t->set_stylebox("focus","HButtonArray", focus ); @@ -881,8 +884,8 @@ void make_default_theme() { t->set_color("font_color","VButtonArray", control_font_color_low ); t->set_color("font_color_selected","VButtonArray", control_font_color_hover ); - t->set_constant("icon_separator","VButtonArray", 4); - t->set_constant("button_separator","VButtonArray", 8); + t->set_constant("icon_separator","VButtonArray", 4 *scale); + t->set_constant("button_separator","VButtonArray", 8 *scale); t->set_stylebox("focus","VButtonArray", focus ); @@ -914,45 +917,31 @@ void make_default_theme() { // Theme - Theme::set_default( t ); - Theme::set_default_icon( make_icon(error_icon_png) ); - Theme::set_default_style( make_stylebox( error_icon_png,2,2,2,2) ); - Theme::set_default_font( default_font ); + default_icon= make_icon(error_icon_png) ; + default_style = make_stylebox( error_icon_png,2,2,2,2) ; memdelete( tex_cache ); } -#else - -#include "error_icon.xpm" - void make_default_theme() { - Ref<Theme> t( memnew( Theme ) ); - + Ref<Theme> t; + t.instance(); - Image error_img(error_icon_xpm); - Ref<Texture> texture( memnew( Texture ) ); - texture->create_from_image( error_img ); - - Ref<StyleBoxTexture> style( memnew( StyleBoxTexture ) ); - style->set_texture(texture); - - for(int i=0;i<4;i++) { - style->set_margin_size( Margin(),8); - style->set_default_margin( Margin(),8); - } + Ref<StyleBox> default_style; + Ref<Texture> default_icon; + Ref<BitmapFont> default_font=make_font2(_builtin_normal_font_height,_builtin_normal_font_ascent,_builtin_normal_font_charcount,&_builtin_normal_font_charrects[0][0],_builtin_normal_font_kerning_pair_count,&_builtin_normal_font_kerning_pairs[0][0],_builtin_normal_font_img_width,_builtin_normal_font_img_height,_builtin_normal_font_img_data); + Ref<BitmapFont> large_font=make_font2(_builtin_large_font_height,_builtin_large_font_ascent,_builtin_large_font_charcount,&_builtin_large_font_charrects[0][0],_builtin_large_font_kerning_pair_count,&_builtin_large_font_kerning_pairs[0][0],_builtin_large_font_img_width,_builtin_large_font_img_height,_builtin_large_font_img_data); + fill_default_theme(t,default_font,large_font,default_icon,default_style,false); - Ref<BitmapFont> f = make_default_font(); Theme::set_default( t ); - Theme::set_default_icon( texture ); - Theme::set_default_style( style ); - Theme::set_default_font( f ); + Theme::set_default_icon( default_icon ); + Theme::set_default_style( default_style ); + Theme::set_default_font( default_font ); } -#endif void clear_default_theme() { Theme::set_default( Ref<Theme>() ); diff --git a/scene/resources/default_theme/default_theme.h b/scene/resources/default_theme/default_theme.h index 44569ba192..1e3b4b4081 100644 --- a/scene/resources/default_theme/default_theme.h +++ b/scene/resources/default_theme/default_theme.h @@ -12,10 +12,12 @@ #ifndef DEFAULT_THEME_H #define DEFAULT_THEME_H +#include "scene/resources/theme.h" /** @author Juan Linietsky <reduzio@gmail.com> */ +void fill_default_theme(Ref<Theme>& theme,const Ref<Font> & default_font,const Ref<Font> & large_font,Ref<Texture>& default_icon, Ref<StyleBox>& default_style,bool p_hidpi); void make_default_theme(); void clear_default_theme(); diff --git a/tools/Godot.app/Contents/Resources/Godot.icns b/tools/Godot.app/Contents/Resources/Godot.icns Binary files differindex 4a3dc0415a..375f61437d 100644 --- a/tools/Godot.app/Contents/Resources/Godot.icns +++ b/tools/Godot.app/Contents/Resources/Godot.icns diff --git a/tools/editor/editor_file_dialog.cpp b/tools/editor/editor_file_dialog.cpp index b9d4949018..185ec17459 100644 --- a/tools/editor/editor_file_dialog.cpp +++ b/tools/editor/editor_file_dialog.cpp @@ -7,7 +7,7 @@ #include "editor_settings.h" #include "scene/gui/margin_container.h" #include "os/file_access.h" - +#include "editor_scale.h" EditorFileDialog::GetIconFunc EditorFileDialog::get_icon_func=NULL; EditorFileDialog::GetIconFunc EditorFileDialog::get_large_icon_func=NULL; @@ -347,7 +347,7 @@ void EditorFileDialog::_action_pressed() { if (!valid) { - exterr->popup_centered_minsize(Size2(250,80)); + exterr->popup_centered_minsize(Size2(250,80)*EDSCALE); return; } @@ -431,6 +431,7 @@ void EditorFileDialog::update_file_list() { int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; Ref<Texture> folder_thumbnail; Ref<Texture> file_thumbnail; @@ -840,7 +841,7 @@ void EditorFileDialog::_make_dir_confirm() { _push_history(); } else { - mkdirerr->popup_centered_minsize(Size2(250,50)); + mkdirerr->popup_centered_minsize(Size2(250,50)*EDSCALE); } makedirname->set_text(""); // reset label } @@ -848,7 +849,7 @@ void EditorFileDialog::_make_dir_confirm() { void EditorFileDialog::_make_dir() { - makedialog->popup_centered_minsize(Size2(250,80)); + makedialog->popup_centered_minsize(Size2(250,80)*EDSCALE); makedirname->grab_focus(); } diff --git a/tools/editor/editor_fonts.cpp b/tools/editor/editor_fonts.cpp index e04dce294a..da947748a4 100644 --- a/tools/editor/editor_fonts.cpp +++ b/tools/editor/editor_fonts.cpp @@ -33,6 +33,8 @@ #include "builtin_fonts.h" #include "editor_settings.h" #include "scene/resources/dynamic_font.h" +#include "editor_scale.h" +#include "scene/resources/default_theme/default_theme.h" static Ref<BitmapFont> make_font(int p_height,int p_ascent, int p_valign, int p_charcount, const int *p_chars,const Ref<Texture> &p_texture) { @@ -67,6 +69,7 @@ static Ref<BitmapFont> make_font(int p_height,int p_ascent, int p_valign, int p_ void editor_register_fonts(Ref<Theme> p_theme) { + Ref<DynamicFontData> dfd; dfd.instance(); dfd->set_font_ptr(_font_droid_sans,_font_droid_sans_size); @@ -79,7 +82,7 @@ void editor_register_fonts(Ref<Theme> p_theme) { Ref<DynamicFont> df; df.instance(); - df->set_size(int(EditorSettings::get_singleton()->get("global/font_size"))); + df->set_size(int(EditorSettings::get_singleton()->get("global/font_size"))*EDSCALE); df->set_font_data(dfd); @@ -91,12 +94,12 @@ void editor_register_fonts(Ref<Theme> p_theme) { Ref<DynamicFont> df_title; df_title.instance(); - df_title->set_size(int(EDITOR_DEF("help/help_title_font_size",18))); + df_title->set_size(int(EDITOR_DEF("help/help_title_font_size",18))*EDSCALE); df_title->set_font_data(dfd); Ref<DynamicFont> df_doc; df_doc.instance(); - df_doc->set_size(int(EDITOR_DEF("help/help_font_size",16))); + df_doc->set_size(int(EDITOR_DEF("help/help_font_size",16))*EDSCALE); df_doc->set_font_data(dfd); p_theme->set_font("doc","EditorFonts",df_doc); @@ -105,16 +108,25 @@ void editor_register_fonts(Ref<Theme> p_theme) { Ref<DynamicFont> df_code; df_code.instance(); - df_code->set_size(int(EditorSettings::get_singleton()->get("global/source_font_size"))); + df_code->set_size(int(EditorSettings::get_singleton()->get("global/source_font_size"))*EDSCALE); df_code->set_font_data(dfmono); p_theme->set_font("source","EditorFonts",df_code); Ref<DynamicFont> df_doc_code; df_doc_code.instance(); - df_doc_code->set_size(int(EDITOR_DEF("help/help_source_font_size",14))); + df_doc_code->set_size(int(EDITOR_DEF("help/help_source_font_size",14))*EDSCALE); df_doc_code->set_font_data(dfmono); + p_theme->set_font("doc_source","EditorFonts",df_doc_code); + if (editor_is_hidpi()) { + //replace default theme + Ref<Texture> di; + Ref<StyleBox> ds; + fill_default_theme(p_theme,df,df_doc,di,ds,true); + + } + } diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 8313e38f02..1a050e5981 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -984,6 +984,7 @@ void EditorNode::_save_scene_with_preview(String p_file) { save.step(TTR("Creating Thumbnail"),3); Image img = VS::get_singleton()->viewport_get_screen_capture(viewport); int preview_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size");; + preview_size*=EDSCALE; int width,height; if (img.get_width() > preview_size && img.get_width() >= img.get_height()) { @@ -2389,7 +2390,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { confirmation->get_ok()->set_text(TTR("Quit")); //confirmation->get_cancel()->show(); confirmation->set_text(TTR("Exit the editor?")); - confirmation->popup_centered(Size2(180,70)); + confirmation->popup_centered(Size2(180,70)*EDSCALE); break; } @@ -2826,7 +2827,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } break; case SETTINGS_ABOUT: { - about->popup_centered(Size2(500,130)); + about->popup_centered(Size2(500,130)*EDSCALE); } break; case SOURCES_REIMPORT: { @@ -5381,7 +5382,7 @@ EditorNode::EditorNode() { dock_vb->add_child(dock_hb); dock_select = memnew( Control ); - dock_select->set_custom_minimum_size(Size2(128,64)); + dock_select->set_custom_minimum_size(Size2(128,64)*EDSCALE); dock_select->connect("input_event",this,"_dock_select_input"); dock_select->connect("draw",this,"_dock_select_draw"); dock_select->connect("mouse_exit",this,"_dock_popup_exit"); @@ -5396,7 +5397,7 @@ EditorNode::EditorNode() { //dock_select_popoup->set_(Size2(20,20)); for(int i=0;i<DOCK_SLOT_MAX;i++) { - dock_slot[i]->set_custom_minimum_size(Size2(230,220)); + dock_slot[i]->set_custom_minimum_size(Size2(230,220)*EDSCALE); dock_slot[i]->set_v_size_flags(Control::SIZE_EXPAND_FILL); dock_slot[i]->set_popup(dock_select_popoup); dock_slot[i]->connect("pre_popup_pressed",this,"_dock_pre_popup",varray(i)); @@ -5436,7 +5437,7 @@ EditorNode::EditorNode() { srt->add_child(scene_tabs); scene_root_parent = memnew( PanelContainer ); - scene_root_parent->set_custom_minimum_size(Size2(0,80)); + scene_root_parent->set_custom_minimum_size(Size2(0,80)*EDSCALE); //Ref<StyleBox> sp = scene_root_parent->get_stylebox("panel","TabContainer"); @@ -5553,7 +5554,7 @@ EditorNode::EditorNode() { { Control *sp = memnew( Control ); - sp->set_custom_minimum_size(Size2(30,0)); + sp->set_custom_minimum_size(Size2(30,0)*EDSCALE); menu_hb->add_child(sp); } @@ -5742,7 +5743,7 @@ EditorNode::EditorNode() { { Control *sp = memnew( Control ); - sp->set_custom_minimum_size(Size2(30,0)); + sp->set_custom_minimum_size(Size2(30,0)*EDSCALE); menu_hb->add_child(sp); } @@ -5764,7 +5765,7 @@ EditorNode::EditorNode() { { Control *sp = memnew( Control ); - sp->set_custom_minimum_size(Size2(30,0)); + sp->set_custom_minimum_size(Size2(30,0)*EDSCALE); menu_hb->add_child(sp); } @@ -5800,7 +5801,7 @@ EditorNode::EditorNode() { layout_dialog = memnew( EditorNameDialog ); gui_base->add_child(layout_dialog); layout_dialog->set_hide_on_ok(false); - layout_dialog->set_size(Size2(175, 70)); + layout_dialog->set_size(Size2(175, 70)*EDSCALE); layout_dialog->connect("name_confirmed", this,"_dialog_action"); sources_button = memnew( ToolButton ); diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index db589bb1c3..e580931df3 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -85,6 +85,7 @@ #include "progress_dialog.h" +#include "editor_scale.h" /** @author Juan Linietsky <reduzio@gmail.com> */ diff --git a/tools/editor/editor_resource_preview.cpp b/tools/editor/editor_resource_preview.cpp index d31cf9e0fd..13b424c231 100644 --- a/tools/editor/editor_resource_preview.cpp +++ b/tools/editor/editor_resource_preview.cpp @@ -4,7 +4,7 @@ #include "io/resource_loader.h" #include "io/resource_saver.h" #include "globals.h" - +#include "editor_scale.h" Ref<Texture> EditorResourcePreviewGenerator::generate_from_path(const String& p_path) { @@ -91,6 +91,7 @@ Ref<Texture> EditorResourcePreview::_generate_preview(const QueueItem& p_item,co if (generated.is_valid()) { //print_line("was generated"); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; //wow it generated a preview... save cache ResourceSaver::save(cache_base+".png",generated); FileAccess *f=FileAccess::open(cache_base+".txt",FileAccess::WRITE); @@ -132,6 +133,7 @@ void EditorResourcePreview::_thread() { uint64_t modtime = FileAccess::get_modified_time(item.path); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; if (cache.has(item.path)) { //already has it because someone loaded it, just let it know it's ready diff --git a/tools/editor/editor_scale.cpp b/tools/editor/editor_scale.cpp new file mode 100644 index 0000000000..ecb1e1816f --- /dev/null +++ b/tools/editor/editor_scale.cpp @@ -0,0 +1,7 @@ +#include "editor_scale.h" +#include "os/os.h" + +bool editor_is_hidpi() { + + return OS::get_singleton()->get_screen_dpi(0) > 150; +} diff --git a/tools/editor/editor_scale.h b/tools/editor/editor_scale.h new file mode 100644 index 0000000000..0f0e90595c --- /dev/null +++ b/tools/editor/editor_scale.h @@ -0,0 +1,8 @@ +#ifndef EDITOR_SCALE_H +#define EDITOR_SCALE_H + + +bool editor_is_hidpi(); + +#define EDSCALE (editor_is_hidpi() ? 2 : 1) +#endif // EDITOR_SCALE_H diff --git a/tools/editor/icons/SCsub b/tools/editor/icons/SCsub index 14d2be66f6..f3216b092d 100644 --- a/tools/editor/icons/SCsub +++ b/tools/editor/icons/SCsub @@ -11,6 +11,7 @@ def make_editor_icons_action(target, source, env): s = cStringIO.StringIO() s.write("#include \"editor_icons.h\"\n\n") + s.write("#include \"editor_scale.h\"\n\n") s.write("#include \"scene/resources/theme.h\"\n\n") for x in pixmaps: @@ -36,7 +37,7 @@ def make_editor_icons_action(target, source, env): s.write("static Ref<ImageTexture> make_icon(const uint8_t* p_png) {\n") s.write("\tRef<ImageTexture> texture( memnew( ImageTexture ) );\n") s.write("\tImage img(p_png);\n") - #s.write("\timg.expand_x2_hq2x();\n") + s.write("\tif (editor_is_hidpi()) img.expand_x2_hq2x();\n") s.write("\ttexture->create_from_image( img,ImageTexture::FLAG_FILTER );\n") s.write("\treturn texture;\n") s.write("}\n\n") diff --git a/tools/editor/icons/icon_godot.png b/tools/editor/icons/icon_godot.png Binary files differindex e80820fc10..ff1370ee0f 100644 --- a/tools/editor/icons/icon_godot.png +++ b/tools/editor/icons/icon_godot.png diff --git a/tools/editor/io_plugins/editor_font_import_plugin.cpp b/tools/editor/io_plugins/editor_font_import_plugin.cpp index f4d6af7e10..d5e6e3077e 100644 --- a/tools/editor/io_plugins/editor_font_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_font_import_plugin.cpp @@ -510,13 +510,13 @@ class EditorFontImportDialog : public ConfirmationDialog { if (source->get_line_edit()->get_text()=="") { error_dialog->set_text(TTR("No source font file!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } if (dest->get_line_edit()->get_text()=="") { error_dialog->set_text(TTR("No target font resource!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -528,7 +528,7 @@ class EditorFontImportDialog : public ConfirmationDialog { if (rimd.is_null()) { error_dialog->set_text(TTR("Can't load/process source font.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -536,7 +536,7 @@ class EditorFontImportDialog : public ConfirmationDialog { if (err!=OK) { error_dialog->set_text(TTR("Couldn't save font.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -573,7 +573,7 @@ public: void popup_import(const String& p_path) { - popup_centered(Size2(600,500)); + popup_centered(Size2(600,500)*EDSCALE); if (p_path!="") { diff --git a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp index 45da42969c..c20515f0f3 100644 --- a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp @@ -173,7 +173,7 @@ public: void popup_import(const String& p_path) { - popup_centered(Size2(400,400)); + popup_centered(Size2(400,400)*EDSCALE); if (p_path!="") { diff --git a/tools/editor/io_plugins/editor_sample_import_plugin.cpp b/tools/editor/io_plugins/editor_sample_import_plugin.cpp index 120bdc6f44..ac0795f522 100644 --- a/tools/editor/io_plugins/editor_sample_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_sample_import_plugin.cpp @@ -221,7 +221,7 @@ public: void popup_import(const String& p_path) { - popup_centered(Size2(400,400)); + popup_centered(Size2(400,400)*EDSCALE); if (p_path!="") { Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(p_path); @@ -252,7 +252,7 @@ public: if (samples.size()==0) { error_dialog->set_text(TTR("No samples to import!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); } if (save_path->get_text().strip_edges()=="") { @@ -293,7 +293,7 @@ public: String dst = save_path->get_text(); if (dst=="") { error_dialog->set_text(TTR("Save path is empty!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); } dst = dst.plus_file(samples[i].get_file().basename()+".smp"); diff --git a/tools/editor/io_plugins/editor_scene_import_plugin.cpp b/tools/editor/io_plugins/editor_scene_import_plugin.cpp index 3effb1d0aa..a461633dcc 100644 --- a/tools/editor/io_plugins/editor_scene_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -674,7 +674,7 @@ void EditorSceneImportDialog::_open_and_import() { if (unsaved) { - confirm_open->popup_centered_minsize(Size2(300,80)); + confirm_open->popup_centered_minsize(Size2(300,80)*EDSCALE); } else { _import(true); } @@ -735,7 +735,7 @@ void EditorSceneImportDialog::_import(bool p_and_open) { Ref<Script> scr = ResourceLoader::load(script_path->get_text()); if (!scr.is_valid()) { error_dialog->set_text(TTR("Couldn't load post-import script.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -744,7 +744,7 @@ void EditorSceneImportDialog::_import(bool p_and_open) { if (!pi->get_script_instance()) { error_dialog->set_text(TTR("Invalid/broken script for post-import.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -788,7 +788,7 @@ void EditorSceneImportDialog::_import(bool p_and_open) { if (err || !scene) { error_dialog->set_text(TTR("Error importing scene.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -813,7 +813,7 @@ void EditorSceneImportDialog::_import(bool p_and_open) { if (err) { error_dialog->set_text(TTR("Error importing scene.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } if (wip_open) @@ -857,7 +857,7 @@ void EditorSceneImportDialog::_import_confirm() { wip_save_file=""; error_dialog->set_text(TTR("Error importing scene.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -892,7 +892,7 @@ void EditorSceneImportDialog::_browse_script() { void EditorSceneImportDialog::popup_import(const String &p_from) { - popup_centered(Size2(750,550)); + popup_centered(Size2(750,550)*EDSCALE); if (p_from!="") { Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(p_from); if (rimd.is_null()) @@ -1235,18 +1235,18 @@ EditorSceneImportDialog::EditorSceneImportDialog(EditorNode *p_editor, EditorSce /* this_import = memnew( OptionButton ); - this_import->add_item(TTR("Overwrite Existing Scene")); - this_import->add_item(TTR("Overwrite Existing, Keep Materials")); - this_import->add_item(TTR("Keep Existing, Merge with New")); - this_import->add_item(TTR("Keep Existing, Ignore New")); - vbc->add_margin_child(TTR("This Time:"),this_import); + this_import->add_item("Overwrite Existing Scene"); + this_import->add_item("Overwrite Existing, Keep Materials"); + this_import->add_item("Keep Existing, Merge with New"); + this_import->add_item("Keep Existing, Ignore New"); + vbc->add_margin_child("This Time:",this_import); next_import = memnew( OptionButton ); - next_import->add_item(TTR("Overwrite Existing Scene")); - next_import->add_item(TTR("Overwrite Existing, Keep Materials")); - next_import->add_item(TTR("Keep Existing, Merge with New")); - next_import->add_item(TTR("Keep Existing, Ignore New")); - vbc->add_margin_child(TTR("Next Time:"),next_import); + next_import->add_item("Overwrite Existing Scene"); + next_import->add_item("Overwrite Existing, Keep Materials"); + next_import->add_item("Keep Existing, Merge with New"); + next_import->add_item("Keep Existing, Ignore New"); + vbc->add_margin_child("Next Time:",next_import); */ set_hide_on_ok(false); diff --git a/tools/editor/io_plugins/editor_texture_import_plugin.cpp b/tools/editor/io_plugins/editor_texture_import_plugin.cpp index 2376f3a395..21e7ee36bb 100644 --- a/tools/editor/io_plugins/editor_texture_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_texture_import_plugin.cpp @@ -352,7 +352,7 @@ void EditorTextureImportDialog::_import() { if (!files.size()) { error_dialog->set_text(TTR("Please specify some files!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -382,7 +382,7 @@ void EditorTextureImportDialog::_import() { if (files.size()==0) { error_dialog->set_text(TTR("At least one file needed for Atlas.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -406,7 +406,7 @@ void EditorTextureImportDialog::_import() { if (err) { error_dialog->set_text(TTR("Error importing:")+" "+dst_file.get_file()); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -415,7 +415,7 @@ void EditorTextureImportDialog::_import() { if (files.size()!=1) { error_dialog->set_text(TTR("Only one file is required for large texture.")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -439,7 +439,7 @@ void EditorTextureImportDialog::_import() { if (err) { error_dialog->set_text(TTR("Error importing:")+" "+dst_file.get_file()); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -464,7 +464,7 @@ void EditorTextureImportDialog::_import() { if (err) { error_dialog->set_text(TTR("Error importing:")+" "+dst_file.get_file()); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -492,7 +492,7 @@ void EditorTextureImportDialog::_browse_target() { void EditorTextureImportDialog::popup_import(const String& p_from) { - popup_centered(Size2(600,500)); + popup_centered(Size2(600,500)*EDSCALE); if (p_from!="") { Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(p_from); ERR_FAIL_COND(!rimd.is_valid()); diff --git a/tools/editor/io_plugins/editor_translation_import_plugin.cpp b/tools/editor/io_plugins/editor_translation_import_plugin.cpp index 2b5bd29ac8..aa36fefdb7 100644 --- a/tools/editor/io_plugins/editor_translation_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_translation_import_plugin.cpp @@ -65,7 +65,7 @@ public: if (!f) { error_dialog->set_text(TTR("Invalid source!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -76,7 +76,7 @@ public: if (csvh.size()<2) { error_dialog->set_text(TTR("Invalid translation source!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); return; } @@ -171,7 +171,7 @@ public: void popup_import(const String& p_from) { - popup_centered(Size2(400,400)); + popup_centered(Size2(400,400)*EDSCALE); if (p_from!="") { @@ -232,12 +232,12 @@ public: if (items.size()==0) { error_dialog->set_text(TTR("No items to import!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); } if (!save_path->get_text().begins_with("res://")) { error_dialog->set_text(TTR("No target path!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); } EditorProgress progress("import_xl",TTR("Import Translations"),items.size()); @@ -259,7 +259,7 @@ public: Error err = plugin->import(savefile,imd); if (err!=OK) { error_dialog->set_text(TTR("Couldn't import!")); - error_dialog->popup_centered(Size2(200,100)); + error_dialog->popup_centered(Size2(200,100)*EDSCALE); } else if (add_to_project->is_pressed()) { ProjectSettings::get_singleton()->add_translation(savefile); diff --git a/tools/editor/plugins/editor_preview_plugins.cpp b/tools/editor/plugins/editor_preview_plugins.cpp index 12d50cd4b8..300e35f94d 100644 --- a/tools/editor/plugins/editor_preview_plugins.cpp +++ b/tools/editor/plugins/editor_preview_plugins.cpp @@ -7,7 +7,7 @@ #include "scene/resources/sample.h" #include "scene/resources/mesh.h" #include "scene/resources/bit_mask.h" - +#include "tools/editor/editor_scale.h" bool EditorTexturePreviewPlugin::handles(const String& p_type) const { return (ObjectTypeDB::is_type(p_type,"ImageTexture") || ObjectTypeDB::is_type(p_type, "AtlasTexture")); @@ -36,6 +36,7 @@ Ref<Texture> EditorTexturePreviewPlugin::generate(const RES& p_from) { img.clear_mipmaps(); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; if (img.is_compressed()) { if (img.decompress()!=OK) return Ref<Texture>(); @@ -111,6 +112,7 @@ Ref<Texture> EditorBitmapPreviewPlugin::generate(const RES& p_from) { Image img(bm->get_size().width,bm->get_size().height,0,Image::FORMAT_GRAYSCALE,data); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; if (img.is_compressed()) { if (img.decompress()!=OK) return Ref<Texture>(); @@ -233,6 +235,7 @@ Ref<Texture> EditorMaterialPreviewPlugin::generate(const RES& p_from) { VS::get_singleton()->mesh_surface_set_material(sphere,0,RID()); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; img.resize(thumbnail_size,thumbnail_size); Ref<ImageTexture> ptex = Ref<ImageTexture>( memnew( ImageTexture )); @@ -401,6 +404,7 @@ Ref<Texture> EditorScriptPreviewPlugin::generate(const RES& p_from) { int line = 0; int col=0; int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; Image img(thumbnail_size,thumbnail_size,0,Image::FORMAT_RGBA); @@ -501,7 +505,7 @@ Ref<Texture> EditorSamplePreviewPlugin::generate(const RES& p_from) { int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); - + thumbnail_size*=EDSCALE; DVector<uint8_t> img; int w = thumbnail_size; int h = thumbnail_size; @@ -815,6 +819,7 @@ Ref<Texture> EditorMeshPreviewPlugin::generate(const RES& p_from) { VS::get_singleton()->instance_set_base(mesh_instance,RID()); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; img.resize(thumbnail_size,thumbnail_size); Ref<ImageTexture> ptex = Ref<ImageTexture>( memnew( ImageTexture )); diff --git a/tools/editor/plugins/material_editor_plugin.cpp b/tools/editor/plugins/material_editor_plugin.cpp index 4ef2815a32..f4258836e5 100644 --- a/tools/editor/plugins/material_editor_plugin.cpp +++ b/tools/editor/plugins/material_editor_plugin.cpp @@ -294,7 +294,7 @@ MaterialEditor::MaterialEditor() { } - set_custom_minimum_size(Size2(1,150)); + set_custom_minimum_size(Size2(1,150)*EDSCALE); HBoxContainer *hb = memnew( HBoxContainer ); add_child(hb); diff --git a/tools/editor/plugins/mesh_editor_plugin.cpp b/tools/editor/plugins/mesh_editor_plugin.cpp index ecf17fec19..51a436e58d 100644 --- a/tools/editor/plugins/mesh_editor_plugin.cpp +++ b/tools/editor/plugins/mesh_editor_plugin.cpp @@ -141,7 +141,7 @@ MeshEditor::MeshEditor() { - set_custom_minimum_size(Size2(1,150)); + set_custom_minimum_size(Size2(1,150)*EDSCALE); HBoxContainer *hb = memnew( HBoxContainer ); add_child(hb); diff --git a/tools/editor/plugins/sample_editor_plugin.cpp b/tools/editor/plugins/sample_editor_plugin.cpp index f9217e47fa..a3891a648b 100644 --- a/tools/editor/plugins/sample_editor_plugin.cpp +++ b/tools/editor/plugins/sample_editor_plugin.cpp @@ -404,7 +404,7 @@ SampleEditor::SampleEditor() { play->connect("pressed", this,"_play_pressed"); stop->connect("pressed", this,"_stop_pressed"); - set_custom_minimum_size(Size2(1,150)); + set_custom_minimum_size(Size2(1,150)*EDSCALE); } diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 6d87777a79..2453ff3190 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -978,7 +978,7 @@ void ScriptEditor::_menu_option(int p_option) { switch(p_option) { case FILE_NEW: { script_create_dialog->config("Node", ".gd"); - script_create_dialog->popup_centered(Size2(300, 300)); + script_create_dialog->popup_centered(Size2(300, 300)*EDSCALE); } break; case FILE_OPEN: { @@ -1100,7 +1100,7 @@ void ScriptEditor::_menu_option(int p_option) { switch(p_option) { case FILE_NEW: { script_create_dialog->config("Node", ".gd"); - script_create_dialog->popup_centered(Size2(300, 300)); + script_create_dialog->popup_centered(Size2(300, 300)*EDSCALE); } break; case FILE_SAVE: { diff --git a/tools/editor/progress_dialog.cpp b/tools/editor/progress_dialog.cpp index 2814101a27..a950f7acfc 100644 --- a/tools/editor/progress_dialog.cpp +++ b/tools/editor/progress_dialog.cpp @@ -30,7 +30,7 @@ #include "main/main.h" #include "message_queue.h" #include "os/os.h" - +#include "editor_scale.h" void BackgroundProgress::_add_task(const String& p_task,const String& p_label, int p_steps) { _THREAD_SAFE_METHOD_ @@ -48,7 +48,7 @@ void BackgroundProgress::_add_task(const String& p_task,const String& p_label, i ec->set_v_size_flags(SIZE_EXPAND_FILL); t.progress->set_area_as_parent_rect(); ec->add_child(t.progress); - ec->set_custom_minimum_size(Size2(80,5)); + ec->set_custom_minimum_size(Size2(80,5)*EDSCALE); t.hb->add_child(ec); add_child(t.hb); @@ -160,7 +160,7 @@ void ProgressDialog::_notification(int p_what) { void ProgressDialog::_popup() { Size2 ms = main->get_combined_minimum_size(); - ms.width = MAX(500,ms.width); + ms.width = MAX(500*EDSCALE,ms.width); Ref<StyleBox> style = get_stylebox("panel","PopupMenu"); diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index ddbaad5ea1..3258bc6d74 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -306,14 +306,14 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty slider->set_step((type==Variant::REAL) ? step : 1); slider->set_val(v); slider->show(); - set_size(Size2(110,30)); + set_size(Size2(110,30)*EDSCALE); } else { spinbox->set_min(min); spinbox->set_max(max); spinbox->set_step((type==Variant::REAL) ? step : 1); spinbox->set_val(v); spinbox->show(); - set_size(Size2(70,35)); + set_size(Size2(70,35)*EDSCALE); } @@ -339,7 +339,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty } - set_size(checks20[19]->get_pos()+Size2(20,25)); + set_size(checks20[19]->get_pos()+Size2(20,25)*EDSCALE); } else if (hint==PROPERTY_HINT_EXP_EASING) { @@ -365,7 +365,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty type_button->show(); easing_draw->show(); - set_size(Size2(200,150)); + set_size(Size2(200,150)*EDSCALE); } else if (hint==PROPERTY_HINT_FLAGS) { menu->clear(); Vector<String> flags = hint_text.split(","); @@ -600,7 +600,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty color_picker->show(); color_picker->set_edit_alpha(hint!=PROPERTY_HINT_COLOR_NO_ALPHA); color_picker->set_color(v); - set_size( Size2(300, color_picker->get_combined_minimum_size().height+10)); + set_size( Size2(300*EDSCALE, color_picker->get_combined_minimum_size().height+10*EDSCALE)); /* int ofs=80; int m=10; @@ -4286,7 +4286,7 @@ PropertyEditor *SectionedPropertyEditor::get_property_editor() { SectionedPropertyEditor::SectionedPropertyEditor() { VBoxContainer *left_vb = memnew( VBoxContainer); - left_vb->set_custom_minimum_size(Size2(160,0)); + left_vb->set_custom_minimum_size(Size2(160,0)*EDSCALE); add_child(left_vb); sections = memnew( ItemList ); diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index a814dc2d9a..2ac439491d 100644 --- a/tools/editor/scenes_dock.cpp +++ b/tools/editor/scenes_dock.cpp @@ -441,6 +441,7 @@ void ScenesDock::_update_files(bool p_keep_selection) { return; int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; Ref<Texture> folder_thumbnail; Ref<Texture> file_thumbnail; @@ -454,6 +455,7 @@ void ScenesDock::_update_files(bool p_keep_selection) { files->set_fixed_column_width(thumbnail_size*3/2); files->set_max_text_lines(2); files->set_min_icon_size(Size2(thumbnail_size,thumbnail_size)); + files->set_max_icon_size(Size2(thumbnail_size,thumbnail_size)); if (!has_icon("ResizedFolder","EditorIcons")) { Ref<ImageTexture> folder = get_icon("FolderBig","EditorIcons"); @@ -1693,7 +1695,7 @@ ScenesDock::ScenesDock(EditorNode *p_editor) { tree->set_hide_root(true); split_box->add_child(tree); - tree->set_custom_minimum_size(Size2(0,200)); + tree->set_custom_minimum_size(Size2(0,200)*EDSCALE); tree->set_drag_forwarding(this); diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index bd01e62158..cbc5b44542 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -1892,7 +1892,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){ vmem_hb->add_child( memnew(Label(TTR("Total:")+" ")) ); vmem_total = memnew( LineEdit ); vmem_total->set_editable(false); - vmem_total->set_custom_minimum_size(Size2(100,1)); + vmem_total->set_custom_minimum_size(Size2(100,1)*EDSCALE); vmem_hb->add_child(vmem_total); vmem_refresh = memnew( Button ); vmem_hb->add_child(vmem_refresh); diff --git a/tools/osx_template.app/Contents/Resources/icon.icns b/tools/osx_template.app/Contents/Resources/icon.icns Binary files differindex 4a3dc0415a..375f61437d 100644 --- a/tools/osx_template.app/Contents/Resources/icon.icns +++ b/tools/osx_template.app/Contents/Resources/icon.icns diff --git a/tools/translations/extract.py b/tools/translations/extract.py index ef3ad4da65..237664ab6a 100755 --- a/tools/translations/extract.py +++ b/tools/translations/extract.py @@ -83,7 +83,9 @@ for fname in matches: unique_loc[msg] = [location] elif (not location in unique_loc[msg]): # Add additional location to previous occurence too - msg_pos = main_po.find('\nmsgid "' + msg) + msg_pos = main_po.find('\nmsgid "' + msg + '"') + if (msg_pos == -1): + print("Someone apparently thought writing Python was as easy as GDScript. Ping Akien.") main_po = main_po[:msg_pos] + ' ' + location + main_po[msg_pos:] unique_loc[msg].append(location) diff --git a/tools/translations/fr.po b/tools/translations/fr.po index d7678f0c48..ac83dbb1f5 100644 --- a/tools/translations/fr.po +++ b/tools/translations/fr.po @@ -80,6 +80,26 @@ msgid "" "only provides navigation data." msgstr "" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error initializing FreeType." +msgstr "Erreur d'initialisation de Freetype." + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Unknown font format." +msgstr "Format de police inconnu." + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error loading font." +msgstr "Erreur lors du chargement de la police." + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font size." +msgstr "Taille de police invalide." + #: scene/2d/particles_2d.cpp msgid "Path property must point to a valid Particles2D node to work." msgstr "" @@ -265,10 +285,6 @@ msgid "" msgstr "" #: tools/editor/project_export.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp msgid "Edit Script Options" msgstr "Modifier les options du script" @@ -277,7 +293,6 @@ msgid "Please export outside the project folder!" msgstr "Veuillez exporter en dehors du dossier du projet !" #: tools/editor/project_export.cpp -#: tools/editor/plugins/tile_set_editor_plugin.cpp msgid "Error exporting project!" msgstr "Erreur d'exportation du projet !" @@ -297,7 +312,7 @@ msgstr "Inclure" msgid "Change Image Group" msgstr "Changer le groupe d'images" -#: tools/editor/project_export.cpp tools/editor/groups_editor.cpp +#: tools/editor/project_export.cpp msgid "Group name can't be empty!" msgstr "Le nom du groupe ne peut pas être vide !" @@ -309,14 +324,11 @@ msgstr "Caractère invalide dans le nom du groupe !" msgid "Group name already exists!" msgstr "Le nom du groupe existe déjà !" -#: tools/editor/project_export.cpp tools/editor/project_settings.cpp -#: tools/editor/groups_editor.cpp tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Add Image Group" msgstr "Ajouter un groupe d'images" -#: tools/editor/project_export.cpp tools/editor/scenes_dock.cpp -#: tools/editor/editor_node.cpp tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Delete Image Group" msgstr "Supprimer le groupe d'images" @@ -336,7 +348,7 @@ msgstr "Paramètres d'exportation du projet" msgid "Target" msgstr "Cible" -#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +#: tools/editor/project_export.cpp msgid "Export to Platform" msgstr "Exporter vers la plate-forme" @@ -461,7 +473,7 @@ msgstr "Atlas :" msgid "Shrink By:" msgstr "Réduire de :" -#: tools/editor/project_export.cpp tools/editor/plugins/camera_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Preview Atlas" msgstr "Aperçu de l'atlas" @@ -477,7 +489,7 @@ msgstr "Images :" msgid "Select None" msgstr "Ne rien sélectionner" -#: tools/editor/project_export.cpp +#: tools/editor/project_export.cpp tools/editor/groups_editor.cpp msgid "Group" msgstr "Groupe" @@ -510,6 +522,11 @@ msgid "Trailing Silence:" msgstr "Silence de fin :" #: tools/editor/project_export.cpp +#, fuzzy +msgid "Script" +msgstr "Lancer le script" + +#: tools/editor/project_export.cpp msgid "Script Export Mode:" msgstr "Mode d'exportation des scripts :" @@ -557,7 +574,7 @@ msgstr "Exportation de projet" msgid "Export Preset:" msgstr "Pré-réglage d'exportation :" -#: tools/editor/project_export.cpp +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp msgid "Export" msgstr "Exporter" @@ -569,6 +586,38 @@ msgstr "Aller à la ligne" msgid "Line Number:" msgstr "Numéro de ligne :" +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "No Matches" +msgstr "Correspondances :" + +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "Replaced %d Ocurrence(s)." +msgstr "%d occurrence(s) remplacée(s)." + +#: tools/editor/code_editor.cpp +msgid "Replace" +msgstr "Remplacer" + +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "Replace All" +msgstr "Remplacer" + +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "Match Case" +msgstr "Correspondances :" + +#: tools/editor/code_editor.cpp +msgid "Whole Words" +msgstr "Mots entiers" + +#: tools/editor/code_editor.cpp +msgid "Selection Only" +msgstr "Sélection uniquement" + #: tools/editor/code_editor.cpp tools/editor/project_settings.cpp #: tools/editor/addon_editor_plugin.cpp tools/editor/editor_help.cpp #: tools/editor/plugins/shader_editor_plugin.cpp @@ -581,10 +630,6 @@ msgid "Find" msgstr "Trouver" #: tools/editor/code_editor.cpp -msgid "Replace" -msgstr "Remplacer" - -#: tools/editor/code_editor.cpp msgid "Next" msgstr "Suivant" @@ -601,10 +646,6 @@ msgid "Replace By" msgstr "Remplacer par" #: tools/editor/code_editor.cpp -msgid "Whole Words" -msgstr "Mots entiers" - -#: tools/editor/code_editor.cpp msgid "Case Sensitive" msgstr "Sensible à la casse" @@ -617,10 +658,6 @@ msgid "Prompt On Replace" msgstr "Avertir lors du remplacement" #: tools/editor/code_editor.cpp -msgid "Selection Only" -msgstr "Sélection uniquement" - -#: tools/editor/code_editor.cpp msgid "Skip" msgstr "Passer" @@ -644,7 +681,9 @@ msgstr "Connecter au nœud :" msgid "Binds (Extra Params):" msgstr "" -#: tools/editor/connections_dialog.cpp +#: tools/editor/connections_dialog.cpp tools/editor/project_settings.cpp +#: tools/editor/groups_editor.cpp tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp msgid "Add" msgstr "Ajouter" @@ -697,12 +736,7 @@ msgstr "Connecter" msgid "Connect '%s' to '%s'" msgstr "Connecter « %s » à « %s »" -#: tools/editor/connections_dialog.cpp tools/editor/animation_editor.cpp -#: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/particles_editor_plugin.cpp +#: tools/editor/connections_dialog.cpp msgid "Create Subscription" msgstr "" @@ -731,14 +765,7 @@ msgstr "Sélectionner les nœuds à importer" msgid "Scene Path:" msgstr "Chemin de la scène :" -#: tools/editor/editor_sub_scene.cpp tools/editor/editor_node.cpp -#: tools/editor/project_manager.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/editor_sub_scene.cpp msgid "Import From Node:" msgstr "Importer à partir d'un nœud :" @@ -775,10 +802,8 @@ msgid "Create Folder" msgstr "Créer un dossier" #: tools/editor/editor_dir_dialog.cpp tools/editor/editor_plugin_settings.cpp -#: tools/editor/editor_file_dialog.cpp tools/editor/project_manager.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/editor_file_dialog.cpp #: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Name:" msgstr "Nom :" @@ -827,6 +852,17 @@ msgid "Dependencies" msgstr "Dépendances" #: tools/editor/dependency_editor.cpp +#, fuzzy +msgid "Resource" +msgstr "Ressources" + +#: tools/editor/dependency_editor.cpp tools/editor/project_settings.cpp +#: tools/editor/project_manager.cpp +#, fuzzy +msgid "Path" +msgstr "Chemin :" + +#: tools/editor/dependency_editor.cpp msgid "Dependencies:" msgstr "Dépendances :" @@ -847,6 +883,13 @@ msgid "Owners Of:" msgstr "Propriétaires de :" #: tools/editor/dependency_editor.cpp +msgid "" +"The files being removed are required by other resources in order for them to " +"work.\n" +"Remove them anyway? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp msgid "Remove selected files from the project? (no undo)" msgstr "" @@ -858,9 +901,7 @@ msgstr "" msgid "Scene failed to load due to missing dependencies:" msgstr "" -#: tools/editor/dependency_editor.cpp tools/editor/scenes_dock.cpp -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/dependency_editor.cpp msgid "Open Anyway" msgstr "Ouvrir quand même" @@ -898,7 +939,8 @@ msgstr "Explorateur de ressources orphelines" msgid "Delete selected files?" msgstr "Supprimer les fichiers sélectionnés ?" -#: tools/editor/dependency_editor.cpp +#: tools/editor/dependency_editor.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_node.cpp tools/editor/plugins/item_list_editor_plugin.cpp msgid "Delete" msgstr "Supprimer" @@ -1034,7 +1076,12 @@ msgstr "Chemin :" msgid "Create Node Script" msgstr "Créer le script de nœud" -#: tools/editor/script_create_dialog.cpp +#: tools/editor/script_create_dialog.cpp tools/editor/animation_editor.cpp +#: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/particles_editor_plugin.cpp msgid "Create" msgstr "Créer" @@ -1347,6 +1394,7 @@ msgid "Warning" msgstr "Avertissement" #: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp msgid "Error" msgstr "Erreur" @@ -1655,7 +1703,6 @@ msgid "Error saving settings." msgstr "Erreur d'enregistrement des paramètres." #: tools/editor/project_settings.cpp -#: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Settings saved OK." msgstr "Paramètres enregistrés avec succès." @@ -1813,7 +1860,9 @@ msgstr "Nom de nœud :" msgid "List:" msgstr "Liste :" -#: tools/editor/project_settings.cpp +#: tools/editor/project_settings.cpp tools/editor/project_manager.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Name" msgstr "Nom" @@ -1929,7 +1978,9 @@ msgstr "" msgid "Matches:" msgstr "Correspondances :" -#: tools/editor/quick_open.cpp +#: tools/editor/quick_open.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp msgid "Open" msgstr "Ouvrir" @@ -1941,9 +1992,7 @@ msgstr "Veuillez attendre la fin du scan." msgid "Current scene must be saved to re-import." msgstr "La scène actuelle doit être enregistrée afin de pouvoir ré-importer." -#: tools/editor/editor_reimport_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/editor_reimport_dialog.cpp msgid "Save & Re-Import" msgstr "Enregistrer et ré-importer" @@ -2037,14 +2086,31 @@ msgstr "Localisation pour le re-parentage (sélectionnez le nouveau parent) :" msgid "Keep Global Transform" msgstr "Conserver la transformation globale" -#: tools/editor/reparent_dialog.cpp +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp msgid "Reparent" msgstr "Re-parenter" +#: tools/editor/editor_plugin_settings.cpp +msgid "Installed Plugins:" +msgstr "" + #: tools/editor/editor_plugin_settings.cpp tools/editor/editor_node.cpp msgid "Update" msgstr "Mettre à jour" +#: tools/editor/editor_plugin_settings.cpp +#, fuzzy +msgid "Version:" +msgstr "Description :" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Author:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Status:" +msgstr "" + #: tools/editor/scenes_dock.cpp tools/editor/editor_file_dialog.cpp msgid "Favorites:" msgstr "Favoris :" @@ -2081,7 +2147,7 @@ msgstr "Instance" msgid "Edit Dependencies.." msgstr "Modifier les dépendances..." -#: tools/editor/scenes_dock.cpp tools/editor/plugins/spatial_editor_plugin.cpp +#: tools/editor/scenes_dock.cpp msgid "View Owners.." msgstr "Voir les propriétaires..." @@ -2173,7 +2239,9 @@ msgstr "Tous les fichiers reconnus" msgid "All Files (*)" msgstr "Tous les fichiers (*)" -#: tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Save" msgstr "Enregistrer" @@ -2298,7 +2366,14 @@ msgstr "Global" msgid "Sections:" msgstr "Sections :" -#: tools/editor/addon_editor_plugin.cpp +#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_node.cpp +#: tools/editor/project_manager.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "Import" msgstr "Importer" @@ -2712,7 +2787,7 @@ msgstr "Formes de collision visibles" msgid "Visible Navigation" msgstr "Navigation visible" -#: tools/editor/editor_node.cpp +#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp msgid "Settings" msgstr "Paramètres" @@ -2980,6 +3055,10 @@ msgid "Recent Projects:" msgstr "Projets récents :" #: tools/editor/project_manager.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp msgid "Edit" msgstr "Modifier" @@ -3144,6 +3223,7 @@ msgid "Move Down" msgstr "Déplacer vers le bas" #: tools/editor/scene_tree_dock.cpp +#: tools/editor/plugins/tile_map_editor_plugin.cpp msgid "Duplicate" msgstr "Dupliquer" @@ -3225,6 +3305,7 @@ msgid "Mono" msgstr "Mono" #: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/camera_editor_plugin.cpp msgid "Preview" msgstr "Aperçu" @@ -3233,9 +3314,6 @@ msgid "Pitch" msgstr "Hauteur" #: tools/editor/plugins/collision_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp msgid "Create Poly3D" msgstr "Créer un Poly3D" @@ -3412,7 +3490,15 @@ msgstr "" msgid "Cross-Animation Blend Times" msgstr "" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#, fuzzy +msgid "Animation" +msgstr "Animations" + #: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp msgid "Create Poly" msgstr "Créer un polygone" @@ -3574,7 +3660,6 @@ msgid "Use Rotation Snap" msgstr "Rotation alignée" #: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Snap Relative" msgstr "Alignement relatif" @@ -3612,6 +3697,7 @@ msgid "Clear IK Chain" msgstr "Effacer la chaîne IK" #: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp msgid "View" msgstr "Affichage" @@ -3977,6 +4063,11 @@ msgstr "Trouver le suivant" #: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp +msgid "Find Previous" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Replace.." msgstr "Remplacer..." @@ -4089,6 +4180,7 @@ msgid "Style" msgstr "Style" #: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Font" msgstr "Police" @@ -4530,6 +4622,21 @@ msgid "Toggle Breakpoint" msgstr "Placer un point d'arrêt" #: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Remove All Breakpoints" +msgstr "Placer un point d'arrêt" + +#: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Goto Next Breakpoint" +msgstr "Placer un point d'arrêt" + +#: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Goto Previous Breakpoint" +msgstr "Placer un point d'arrêt" + +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Keep Debugger Open" msgstr "Garder le débogueur ouvert" @@ -4863,6 +4970,7 @@ msgid "Clear UV" msgstr "Effacer l'UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Snap" msgstr "Aligner" @@ -4872,6 +4980,7 @@ msgid "Enable Snap" msgstr "Activer l'alignement" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Grid" msgstr "Grille" @@ -5375,6 +5484,11 @@ msgid "Accept" msgstr "Accepter" #: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#, fuzzy +msgid "Texture" +msgstr "Grande texture" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp msgid "Import Large Texture" msgstr "Importer une grande texture" @@ -5482,6 +5596,11 @@ msgstr "Ajouter au projet (engine.cfg)" msgid "Import Languages:" msgstr "Importer les langues :" +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#, fuzzy +msgid "Translation" +msgstr "Traductions" + #: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "New Clip" msgstr "Nouvelle séquence" @@ -5582,30 +5701,6 @@ msgid "Custom Root Node Type:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing Scene" -msgstr "Écraser la scène existante" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing, Keep Materials" -msgstr "Écraser l'existant, conserver les matériaux" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Merge with New" -msgstr "Conserver l'existant, fusionner avec les nouveautés" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Ignore New" -msgstr "Conserver l'existant, ignorer les nouveautés" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "This Time:" -msgstr "Cette fois :" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Next Time:" -msgstr "Les prochaines fois :" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "The Following Files are Missing:" msgstr "Les fichiers suivants sont manquants :" @@ -5663,6 +5758,11 @@ msgstr "Impossible de rendre le chemin local : %s (déjà local)" msgid "Saving.." msgstr "Enregistrement..." +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#, fuzzy +msgid "3D Scene Animation" +msgstr "Renommer l'animation" + #: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "No source font file!" msgstr "Pas de fichier de police source !" @@ -5716,22 +5816,6 @@ msgid "Failed opening as BMFont file." msgstr "Impossible d'ouvrir le fichier en tant que fichier BMFont." #: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error initializing FreeType." -msgstr "Erreur d'initialisation de Freetype." - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Unknown font format." -msgstr "Format de police inconnu." - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error loading font." -msgstr "Erreur lors du chargement de la police." - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Invalid font size." -msgstr "Taille de police invalide." - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Invalid font custom source." msgstr "Source personnalisée de police invalide." @@ -5752,6 +5836,11 @@ msgstr "Importer des échantillons audio" msgid "Source Sample(s):" msgstr "Échantillon(s) source :" +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#, fuzzy +msgid "Audio Sample" +msgstr "Ajouter un échantillon" + #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "No meshes to import!" msgstr "Pas de maillages à importer !" @@ -5765,9 +5854,31 @@ msgid "Source Mesh(es):" msgstr "Maillage(s) source :" #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Mesh" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "Surface %d" msgstr "Surface %d" +#~ msgid "Overwrite Existing Scene" +#~ msgstr "Écraser la scène existante" + +#~ msgid "Overwrite Existing, Keep Materials" +#~ msgstr "Écraser l'existant, conserver les matériaux" + +#~ msgid "Keep Existing, Merge with New" +#~ msgstr "Conserver l'existant, fusionner avec les nouveautés" + +#~ msgid "Keep Existing, Ignore New" +#~ msgstr "Conserver l'existant, ignorer les nouveautés" + +#~ msgid "This Time:" +#~ msgstr "Cette fois :" + +#~ msgid "Next Time:" +#~ msgstr "Les prochaines fois :" + #~ msgid "Scene Tree:" #~ msgstr "Arbre des scènes :" diff --git a/tools/translations/tools.pot b/tools/translations/tools.pot index d4fca74677..52ec6b5791 100644 --- a/tools/translations/tools.pot +++ b/tools/translations/tools.pot @@ -61,6 +61,26 @@ msgid "" "only provides navigation data." msgstr "" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error initializing FreeType." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Unknown font format." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error loading font." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font size." +msgstr "" + #: scene/2d/particles_2d.cpp msgid "Path property must point to a valid Particles2D node to work." msgstr "" @@ -217,10 +237,6 @@ msgid "" msgstr "" #: tools/editor/project_export.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp msgid "Edit Script Options" msgstr "" @@ -229,7 +245,6 @@ msgid "Please export outside the project folder!" msgstr "" #: tools/editor/project_export.cpp -#: tools/editor/plugins/tile_set_editor_plugin.cpp msgid "Error exporting project!" msgstr "" @@ -249,7 +264,7 @@ msgstr "" msgid "Change Image Group" msgstr "" -#: tools/editor/project_export.cpp tools/editor/groups_editor.cpp +#: tools/editor/project_export.cpp msgid "Group name can't be empty!" msgstr "" @@ -261,14 +276,11 @@ msgstr "" msgid "Group name already exists!" msgstr "" -#: tools/editor/project_export.cpp tools/editor/project_settings.cpp -#: tools/editor/groups_editor.cpp tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Add Image Group" msgstr "" -#: tools/editor/project_export.cpp tools/editor/scenes_dock.cpp -#: tools/editor/editor_node.cpp tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Delete Image Group" msgstr "" @@ -288,7 +300,7 @@ msgstr "" msgid "Target" msgstr "" -#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +#: tools/editor/project_export.cpp msgid "Export to Platform" msgstr "" @@ -409,7 +421,7 @@ msgstr "" msgid "Shrink By:" msgstr "" -#: tools/editor/project_export.cpp tools/editor/plugins/camera_editor_plugin.cpp +#: tools/editor/project_export.cpp msgid "Preview Atlas" msgstr "" @@ -425,7 +437,7 @@ msgstr "" msgid "Select None" msgstr "" -#: tools/editor/project_export.cpp +#: tools/editor/project_export.cpp tools/editor/groups_editor.cpp msgid "Group" msgstr "" @@ -458,6 +470,10 @@ msgid "Trailing Silence:" msgstr "" #: tools/editor/project_export.cpp +msgid "Script" +msgstr "" + +#: tools/editor/project_export.cpp msgid "Script Export Mode:" msgstr "" @@ -505,7 +521,7 @@ msgstr "" msgid "Export Preset:" msgstr "" -#: tools/editor/project_export.cpp +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp msgid "Export" msgstr "" @@ -517,6 +533,34 @@ msgstr "" msgid "Line Number:" msgstr "" +#: tools/editor/code_editor.cpp +msgid "No Matches" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replaced %d Ocurrence(s)." +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace All" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Match Case" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Whole Words" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Selection Only" +msgstr "" + #: tools/editor/code_editor.cpp tools/editor/project_settings.cpp #: tools/editor/addon_editor_plugin.cpp tools/editor/editor_help.cpp #: tools/editor/plugins/shader_editor_plugin.cpp @@ -529,10 +573,6 @@ msgid "Find" msgstr "" #: tools/editor/code_editor.cpp -msgid "Replace" -msgstr "" - -#: tools/editor/code_editor.cpp msgid "Next" msgstr "" @@ -549,10 +589,6 @@ msgid "Replace By" msgstr "" #: tools/editor/code_editor.cpp -msgid "Whole Words" -msgstr "" - -#: tools/editor/code_editor.cpp msgid "Case Sensitive" msgstr "" @@ -565,10 +601,6 @@ msgid "Prompt On Replace" msgstr "" #: tools/editor/code_editor.cpp -msgid "Selection Only" -msgstr "" - -#: tools/editor/code_editor.cpp msgid "Skip" msgstr "" @@ -592,7 +624,9 @@ msgstr "" msgid "Binds (Extra Params):" msgstr "" -#: tools/editor/connections_dialog.cpp +#: tools/editor/connections_dialog.cpp tools/editor/project_settings.cpp +#: tools/editor/groups_editor.cpp tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp msgid "Add" msgstr "" @@ -645,12 +679,7 @@ msgstr "" msgid "Connect '%s' to '%s'" msgstr "" -#: tools/editor/connections_dialog.cpp tools/editor/animation_editor.cpp -#: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/particles_editor_plugin.cpp +#: tools/editor/connections_dialog.cpp msgid "Create Subscription" msgstr "" @@ -679,14 +708,7 @@ msgstr "" msgid "Scene Path:" msgstr "" -#: tools/editor/editor_sub_scene.cpp tools/editor/editor_node.cpp -#: tools/editor/project_manager.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/editor_sub_scene.cpp msgid "Import From Node:" msgstr "" @@ -723,10 +745,8 @@ msgid "Create Folder" msgstr "" #: tools/editor/editor_dir_dialog.cpp tools/editor/editor_plugin_settings.cpp -#: tools/editor/editor_file_dialog.cpp tools/editor/project_manager.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/editor_file_dialog.cpp #: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Name:" msgstr "" @@ -771,6 +791,15 @@ msgid "Dependencies" msgstr "" #: tools/editor/dependency_editor.cpp +msgid "Resource" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/project_settings.cpp +#: tools/editor/project_manager.cpp +msgid "Path" +msgstr "" + +#: tools/editor/dependency_editor.cpp msgid "Dependencies:" msgstr "" @@ -791,6 +820,13 @@ msgid "Owners Of:" msgstr "" #: tools/editor/dependency_editor.cpp +msgid "" +"The files being removed are required by other resources in order for them to " +"work.\n" +"Remove them anyway? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp msgid "Remove selected files from the project? (no undo)" msgstr "" @@ -802,9 +838,7 @@ msgstr "" msgid "Scene failed to load due to missing dependencies:" msgstr "" -#: tools/editor/dependency_editor.cpp tools/editor/scenes_dock.cpp -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/dependency_editor.cpp msgid "Open Anyway" msgstr "" @@ -840,7 +874,8 @@ msgstr "" msgid "Delete selected files?" msgstr "" -#: tools/editor/dependency_editor.cpp +#: tools/editor/dependency_editor.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_node.cpp tools/editor/plugins/item_list_editor_plugin.cpp msgid "Delete" msgstr "" @@ -976,7 +1011,12 @@ msgstr "" msgid "Create Node Script" msgstr "" -#: tools/editor/script_create_dialog.cpp +#: tools/editor/script_create_dialog.cpp tools/editor/animation_editor.cpp +#: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/particles_editor_plugin.cpp msgid "Create" msgstr "" @@ -1289,6 +1329,7 @@ msgid "Warning" msgstr "" #: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp msgid "Error" msgstr "" @@ -1596,7 +1637,6 @@ msgid "Error saving settings." msgstr "" #: tools/editor/project_settings.cpp -#: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Settings saved OK." msgstr "" @@ -1748,7 +1788,9 @@ msgstr "" msgid "List:" msgstr "" -#: tools/editor/project_settings.cpp +#: tools/editor/project_settings.cpp tools/editor/project_manager.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Name" msgstr "" @@ -1859,7 +1901,9 @@ msgstr "" msgid "Matches:" msgstr "" -#: tools/editor/quick_open.cpp +#: tools/editor/quick_open.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp msgid "Open" msgstr "" @@ -1871,9 +1915,7 @@ msgstr "" msgid "Current scene must be saved to re-import." msgstr "" -#: tools/editor/editor_reimport_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/editor_reimport_dialog.cpp msgid "Save & Re-Import" msgstr "" @@ -1967,14 +2009,30 @@ msgstr "" msgid "Keep Global Transform" msgstr "" -#: tools/editor/reparent_dialog.cpp +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp msgid "Reparent" msgstr "" +#: tools/editor/editor_plugin_settings.cpp +msgid "Installed Plugins:" +msgstr "" + #: tools/editor/editor_plugin_settings.cpp tools/editor/editor_node.cpp msgid "Update" msgstr "" +#: tools/editor/editor_plugin_settings.cpp +msgid "Version:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Author:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Status:" +msgstr "" + #: tools/editor/scenes_dock.cpp tools/editor/editor_file_dialog.cpp msgid "Favorites:" msgstr "" @@ -2011,7 +2069,7 @@ msgstr "" msgid "Edit Dependencies.." msgstr "" -#: tools/editor/scenes_dock.cpp tools/editor/plugins/spatial_editor_plugin.cpp +#: tools/editor/scenes_dock.cpp msgid "View Owners.." msgstr "" @@ -2103,7 +2161,9 @@ msgstr "" msgid "All Files (*)" msgstr "" -#: tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Save" msgstr "" @@ -2228,7 +2288,14 @@ msgstr "" msgid "Sections:" msgstr "" -#: tools/editor/addon_editor_plugin.cpp +#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_node.cpp +#: tools/editor/project_manager.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "Import" msgstr "" @@ -2633,7 +2700,7 @@ msgstr "" msgid "Visible Navigation" msgstr "" -#: tools/editor/editor_node.cpp +#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp msgid "Settings" msgstr "" @@ -2900,6 +2967,10 @@ msgid "Recent Projects:" msgstr "" #: tools/editor/project_manager.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp msgid "Edit" msgstr "" @@ -3062,6 +3133,7 @@ msgid "Move Down" msgstr "" #: tools/editor/scene_tree_dock.cpp +#: tools/editor/plugins/tile_map_editor_plugin.cpp msgid "Duplicate" msgstr "" @@ -3140,6 +3212,7 @@ msgid "Mono" msgstr "" #: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/camera_editor_plugin.cpp msgid "Preview" msgstr "" @@ -3148,9 +3221,6 @@ msgid "Pitch" msgstr "" #: tools/editor/plugins/collision_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp msgid "Create Poly3D" msgstr "" @@ -3327,7 +3397,14 @@ msgstr "" msgid "Cross-Animation Blend Times" msgstr "" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation" +msgstr "" + #: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp msgid "Create Poly" msgstr "" @@ -3489,7 +3566,6 @@ msgid "Use Rotation Snap" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Snap Relative" msgstr "" @@ -3527,6 +3603,7 @@ msgid "Clear IK Chain" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp msgid "View" msgstr "" @@ -3892,6 +3969,11 @@ msgstr "" #: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp +msgid "Find Previous" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Replace.." msgstr "" @@ -4004,6 +4086,7 @@ msgid "Style" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Font" msgstr "" @@ -4436,6 +4519,18 @@ msgid "Toggle Breakpoint" msgstr "" #: tools/editor/plugins/script_editor_plugin.cpp +msgid "Remove All Breakpoints" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Next Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Previous Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp msgid "Keep Debugger Open" msgstr "" @@ -4767,6 +4862,7 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Snap" msgstr "" @@ -4776,6 +4872,7 @@ msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -5273,6 +5370,10 @@ msgid "Accept" msgstr "" #: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp msgid "Import Large Texture" msgstr "" @@ -5380,6 +5481,10 @@ msgstr "" msgid "Import Languages:" msgstr "" +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Translation" +msgstr "" + #: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "New Clip" msgstr "" @@ -5480,30 +5585,6 @@ msgid "Custom Root Node Type:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing Scene" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing, Keep Materials" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Merge with New" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Ignore New" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "This Time:" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Next Time:" -msgstr "" - -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "The Following Files are Missing:" msgstr "" @@ -5559,6 +5640,10 @@ msgstr "" msgid "Saving.." msgstr "" +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "3D Scene Animation" +msgstr "" + #: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "No source font file!" msgstr "" @@ -5610,22 +5695,6 @@ msgid "Failed opening as BMFont file." msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error initializing FreeType." -msgstr "" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Unknown font format." -msgstr "" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error loading font." -msgstr "" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Invalid font size." -msgstr "" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Invalid font custom source." msgstr "" @@ -5646,6 +5715,10 @@ msgstr "" msgid "Source Sample(s):" msgstr "" +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Audio Sample" +msgstr "" + #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "No meshes to import!" msgstr "" @@ -5659,5 +5732,9 @@ msgid "Source Mesh(es):" msgstr "" #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Mesh" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "Surface %d" msgstr "" diff --git a/tools/translations/zh_CN.po b/tools/translations/zh_CN.po index 3e3f8444cf..8c3874315a 100644 --- a/tools/translations/zh_CN.po +++ b/tools/translations/zh_CN.po @@ -18,21 +18,30 @@ msgstr "" "X-Generator: Gtranslator 2.91.7\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: scene/3d/navigation_mesh.cpp -msgid "A NavigationMesh resource must be set or created for this node to work." -msgstr "此节点需要设置NavigationMesh资源才能工作。" +#: scene/audio/sample_player.cpp scene/2d/sample_player_2d.cpp +msgid "" +"A SampleLibrary resource must be created or set in the 'samples' property in " +"order for SamplePlayer to play sound." +msgstr "" +"SampleLibrary类型的资源必须是通过SamplePlayer类型节点的samples属性创建的,这样" +"的资源才能用于播放声音。" -#: scene/3d/navigation_mesh.cpp +#: scene/3d/body_shape.cpp msgid "" -"NavigationMeshInstance must be a child or grandchild to a Navigation node. " -"It only provides navigation data." +"CollisionShape only serves to provide a collision shape to a CollisionObject " +"derived node. Please only use it as a child of Area, StaticBody, RigidBody, " +"KinematicBody, etc. to give them a shape." msgstr "" -"NavigationMeshInstance类型节点必须作为Navigation节点的子孙才能提供导航数据。" +"CollisionShape类型节点只能为CollisionObject的派生类提供碰撞形状数据,请将其放" +"在Area、StaticBody、RigidBody或KinematicBody节点下。" -#: scene/3d/scenario_fx.cpp +#: scene/3d/body_shape.cpp msgid "" -"Only one WorldEnvironment is allowed per scene (or set of instanced scenes)." -msgstr "每个场景中只允许有一个WorldEnvironment类型的节点。" +"A shape must be provided for CollisionShape to function. Please create a " +"shape resource for it!" +msgstr "" +"CollisionShape节点必须拥有一个形状才能进行碰撞检测工作,请为它创建一个形状资" +"源!" #: scene/3d/collision_polygon.cpp msgid "" @@ -47,6 +56,11 @@ msgstr "" msgid "An empty CollisionPolygon has no effect on collision." msgstr "空CollisionPolygon节点不起碰撞检测作用。" +#: scene/3d/scenario_fx.cpp +msgid "" +"Only one WorldEnvironment is allowed per scene (or set of instanced scenes)." +msgstr "每个场景中只允许有一个WorldEnvironment类型的节点。" + #: scene/3d/spatial_sample_player.cpp msgid "" "A SampleLibrary resource must be created or set in the 'samples' property in " @@ -55,106 +69,45 @@ msgstr "" "SampleLibrary类型的资源必须通过SpatialSamplePlayer节点的'samples'属性创建才能" "正常播放声音。" -#: scene/3d/body_shape.cpp -msgid "" -"CollisionShape only serves to provide a collision shape to a CollisionObject " -"derived node. Please only use it as a child of Area, StaticBody, RigidBody, " -"KinematicBody, etc. to give them a shape." -msgstr "" -"CollisionShape类型节点只能为CollisionObject的派生类提供碰撞形状数据,请将其放" -"在Area、StaticBody、RigidBody或KinematicBody节点下。" - -#: scene/3d/body_shape.cpp -msgid "" -"A shape must be provided for CollisionShape to function. Please create a " -"shape resource for it!" -msgstr "" -"CollisionShape节点必须拥有一个形状才能进行碰撞检测工作,请为它创建一个形状资" -"源!" +#: scene/3d/navigation_mesh.cpp +msgid "A NavigationMesh resource must be set or created for this node to work." +msgstr "此节点需要设置NavigationMesh资源才能工作。" -#: scene/main/viewport.cpp +#: scene/3d/navigation_mesh.cpp msgid "" -"This viewport is not set as render target. If you intend for it to display " -"its contents directly to the screen, make it a child of a Control so it can " -"obtain a size. Otherwise, make it a RenderTarget and assign its internal " -"texture to some node for display." +"NavigationMeshInstance must be a child or grandchild to a Navigation node. It " +"only provides navigation data." msgstr "" +"NavigationMeshInstance类型节点必须作为Navigation节点的子孙才能提供导航数据。" -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Cut" -msgstr "剪切" - -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp -#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Copy" -msgstr "复制" - -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp -#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Paste" -msgstr "粘贴" - -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp -#: tools/editor/project_export.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Select All" -msgstr "全选" - -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp -#: tools/editor/script_editor_debugger.cpp tools/editor/property_editor.cpp -#: tools/editor/editor_log.cpp -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -#: tools/editor/plugins/rich_text_editor_plugin.cpp -msgid "Clear" -msgstr "清除" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error initializing FreeType." +msgstr "初始化FreeType出错。" -#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp tools/editor/editor_node.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Undo" -msgstr "撤销" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Unknown font format." +msgstr "未知的字体格式。" -#: scene/gui/popup.cpp -msgid "" -"Popups will hide by default unless you call popup() or any of the popup*() " -"functions. Making them visible for editing is fine though, but they will " -"hide upon running." -msgstr "" -"Popup对象在你调用popup()方法之前将保持隐藏,这里设置为可见并不代表执行场景时" -"它会出现。" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error loading font." +msgstr "加载字体出错。" -#: scene/audio/sample_player.cpp scene/2d/sample_player_2d.cpp -msgid "" -"A SampleLibrary resource must be created or set in the 'samples' property in " -"order for SamplePlayer to play sound." -msgstr "" -"SampleLibrary类型的资源必须是通过SamplePlayer类型节点的samples属性创建的,这" -"样的资源才能用于播放声音。" +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font size." +msgstr "字体大小非法。" -#: scene/2d/sprite.cpp tools/editor/project_settings.cpp -#: tools/editor/dependency_editor.cpp -msgid "" -"Path property must point to a valid Viewport node to work. Such Viewport " -"must be set to 'render target' mode." -msgstr "" -"Path属性必须指向一个合法的Viewport节点才能工作,同时此Viewport还需要启" -"用'render target'。" +#: scene/2d/particles_2d.cpp +msgid "Path property must point to a valid Particles2D node to work." +msgstr "path属性必须指向一个合法的Particles2D节点才能正常工作。" -#: scene/2d/sprite.cpp +#: scene/2d/parallax_layer.cpp msgid "" -"The Viewport set in the path property must be set as 'render target' in " -"order for this sprite to work." -msgstr "" -"为了让此精灵正常工作,它的path属性所指向的Viewport需要开启'render target'。" +"ParallaxLayer node only works when set as child of a ParallaxBackground node." +msgstr "ParallaxLayer类型的节点必须作为ParallaxBackground的子节点才能正常工作。" #: scene/2d/visibility_notifier_2d.cpp msgid "" @@ -162,27 +115,14 @@ msgid "" "as parent." msgstr "VisibilityEnable2D类型的节点用于场景的根节点才能获得最好的效果。" -#: scene/2d/animated_sprite.cpp -msgid "" -"A SpriteFrames resource must be created or set in the 'Frames' property in " -"order for AnimatedSprite to display frames." -msgstr "" -"SpriteFrames资源必须是通过AnimatedSprite节点的frames属性创建的,否则无法显示" -"动画帧。" - -#: scene/2d/canvas_modulate.cpp +#: scene/2d/light_occluder_2d.cpp msgid "" -"Only one visible CanvasModulate is allowed per scene (or set of instanced " -"scenes). The first created one will work, while the rest will be ignored." -msgstr "" -"每个场景中只允许有一个CanvasModulate类型的节点,场景中的第一个CanvasModulate" -"节点能正常工作,其余的将被忽略。" +"An occluder polygon must be set (or drawn) for this occluder to take effect." +msgstr "此遮光体必须设置遮光形状才能起到遮光作用。" -#: scene/2d/parallax_layer.cpp -msgid "" -"ParallaxLayer node only works when set as child of a ParallaxBackground node." -msgstr "" -"ParallaxLayer类型的节点必须作为ParallaxBackground的子节点才能正常工作。" +#: scene/2d/light_occluder_2d.cpp +msgid "The occluder polygon for this occluder is empty. Please draw a polygon!" +msgstr "此遮光体的遮光形状为空,请为其绘制一个遮光形状!" #: scene/2d/navigation_polygon.cpp msgid "" @@ -199,20 +139,20 @@ msgstr "" "NavigationPolygonInstance类型的节点必须作为Navigation2D的子孙才能为其提供导航" "数据。" -#: scene/2d/light_occluder_2d.cpp +#: scene/2d/sprite.cpp msgid "" -"An occluder polygon must be set (or drawn) for this occluder to take effect." -msgstr "此遮光体必须设置遮光形状才能起到遮光作用。" - -#: scene/2d/light_occluder_2d.cpp -msgid "The occluder polygon for this occluder is empty. Please draw a polygon!" -msgstr "此遮光体的遮光形状为空,请为其绘制一个遮光形状!" +"Path property must point to a valid Viewport node to work. Such Viewport must " +"be set to 'render target' mode." +msgstr "" +"Path属性必须指向一个合法的Viewport节点才能工作,同时此Viewport还需要启" +"用'render target'。" -#: scene/2d/light_2d.cpp +#: scene/2d/sprite.cpp msgid "" -"A texture with the shape of the light must be supplied to the 'texture' " -"property." +"The Viewport set in the path property must be set as 'render target' in order " +"for this sprite to work." msgstr "" +"为了让此精灵正常工作,它的path属性所指向的Viewport需要开启'render target'。" #: scene/2d/collision_polygon_2d.cpp msgid "" @@ -227,9 +167,29 @@ msgstr "" msgid "An empty CollisionPolygon2D has no effect on collision." msgstr "空的CollisionPolygon2D不起任何碰撞检测作用。" -#: scene/2d/particles_2d.cpp -msgid "Path property must point to a valid Particles2D node to work." -msgstr "path属性必须指向一个合法的Particles2D节点才能正常工作。" +#: scene/2d/path_2d.cpp +msgid "PathFollow2D only works when set as a child of a Path2D node." +msgstr "PathFollow2D类型的节点只有放在Path2D节点下才能正常工作。" + +#: scene/2d/canvas_modulate.cpp +msgid "" +"Only one visible CanvasModulate is allowed per scene (or set of instanced " +"scenes). The first created one will work, while the rest will be ignored." +msgstr "" +"每个场景中只允许有一个CanvasModulate类型的节点,场景中的第一个CanvasModulate节" +"点能正常工作,其余的将被忽略。" + +#: scene/2d/animated_sprite.cpp +msgid "" +"A SpriteFrames resource must be created or set in the 'Frames' property in " +"order for AnimatedSprite to display frames." +msgstr "" +"SpriteFrames资源必须是通过AnimatedSprite节点的frames属性创建的,否则无法显示动" +"画帧。" + +#: scene/2d/remote_transform_2d.cpp +msgid "Path property must point to a valid Node2D node to work." +msgstr "path属性必须指向一个合法的Node2D节点才能正常工作。" #: scene/2d/collision_shape_2d.cpp msgid "" @@ -246,1539 +206,716 @@ msgid "" "shape resource for it!" msgstr "形状资源必须是通过CollisionShape2D节点的shape属性创建的!" -#: scene/2d/path_2d.cpp -msgid "PathFollow2D only works when set as a child of a Path2D node." -msgstr "PathFollow2D类型的节点只有放在Path2D节点下才能正常工作。" - -#: scene/2d/remote_transform_2d.cpp -msgid "Path property must point to a valid Node2D node to work." -msgstr "path属性必须指向一个合法的Node2D节点才能正常工作。" - -#: tools/editor/editor_data.cpp -msgid "Updating Scene" -msgstr "更新场景" - -#: tools/editor/editor_data.cpp -msgid "Storing local changes.." -msgstr "保存修改中.." - -#: tools/editor/editor_data.cpp -msgid "Updating scene.." -msgstr "更新场景中.." - -#: tools/editor/array_property_edit.cpp -msgid "Resize Array" -msgstr "修改数组大小" - -#: tools/editor/array_property_edit.cpp -msgid "Change Array Value Type" -msgstr "修改数组类型" - -#: tools/editor/array_property_edit.cpp -msgid "Change Array Value" -msgstr "修改数组值" - -#: tools/editor/editor_file_dialog.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "File Exists, Overwrite?" -msgstr "文件已存在,确定要覆盖它吗?" - -#: tools/editor/editor_file_dialog.cpp -msgid "All Recognized" -msgstr "所有可用类型" - -#: tools/editor/editor_file_dialog.cpp -msgid "All Files (*)" -msgstr "所有文件(*)" - -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/quick_open.cpp tools/editor/editor_help.cpp -#: tools/editor/scenes_dock.cpp tools/editor/plugins/script_editor_plugin.cpp -msgid "Open" -msgstr "打开" - -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Save" -msgstr "保存" - -#: tools/editor/editor_file_dialog.cpp -msgid "Save a File" -msgstr "保存文件" - -#: tools/editor/editor_file_dialog.cpp tools/editor/project_manager.cpp -#: tools/editor/create_dialog.cpp tools/editor/animation_editor.cpp -#: tools/editor/editor_dir_dialog.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Create Folder" -msgstr "新建目录" - -#: tools/editor/editor_file_dialog.cpp tools/editor/script_create_dialog.cpp -#: tools/editor/project_settings.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Path:" -msgstr "路径:" - -#: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp -msgid "Favorites:" -msgstr "收藏:" - -#: tools/editor/editor_file_dialog.cpp -msgid "Recent:" -msgstr "最近文件:" - -#: tools/editor/editor_file_dialog.cpp -msgid "Directories & Files:" -msgstr "目录|文件:" - -#: tools/editor/editor_file_dialog.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Preview:" -msgstr "预览" - -#: tools/editor/editor_file_dialog.cpp tools/editor/script_editor_debugger.cpp -msgid "File:" -msgstr "文件:" - -#: tools/editor/editor_file_dialog.cpp -msgid "Filter:" -msgstr "筛选:" - -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_plugin_settings.cpp -#: tools/editor/editor_dir_dialog.cpp tools/editor/project_settings.cpp -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Name:" -msgstr "名称" - -#: tools/editor/editor_file_dialog.cpp tools/editor/editor_dir_dialog.cpp -msgid "Could not create folder." -msgstr "无法创建目录。" - -#: tools/editor/editor_file_dialog.cpp -msgid "Must use a valid extension." -msgstr "必须使用合法的拓展名。" - -#: tools/editor/scene_tree_editor.cpp +#: scene/2d/light_2d.cpp msgid "" -"This item cannot be made visible because the parent is hidden. Unhide the " -"parent first." -msgstr "无法显示此节点,请先取消隐藏其父节点。" - -#: tools/editor/scene_tree_editor.cpp -msgid "Toggle Spatial Visible" -msgstr "切换Spatial可见" - -#: tools/editor/scene_tree_editor.cpp -msgid "Toggle CanvasItem Visible" -msgstr "切换CanvasItem可见" - -#: tools/editor/scene_tree_editor.cpp tools/editor/script_create_dialog.cpp -#: tools/editor/editor_help.cpp -msgid "Inherits:" -msgstr "基类:" - -#: tools/editor/scene_tree_editor.cpp tools/editor/script_editor_debugger.cpp -#: tools/editor/project_settings.cpp -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Type:" -msgstr "类型:" - -#: tools/editor/scene_tree_editor.cpp -msgid "Instance:" -msgstr "实例:" - -#: tools/editor/scene_tree_editor.cpp -msgid "Invalid node name, the following characters are not allowed:" -msgstr "节点名称非法,不允许包含以下字符:" - -#: tools/editor/scene_tree_editor.cpp -msgid "Rename Node" -msgstr "重命名节点" +"A texture with the shape of the light must be supplied to the 'texture' " +"property." +msgstr "" -#: tools/editor/scene_tree_editor.cpp -msgid "Scene Tree (Nodes):" -msgstr "场景树:" +#: scene/gui/popup.cpp +msgid "" +"Popups will hide by default unless you call popup() or any of the popup*() " +"functions. Making them visible for editing is fine though, but they will hide " +"upon running." +msgstr "" +"Popup对象在你调用popup()方法之前将保持隐藏,这里设置为可见并不代表执行场景时它" +"会出现。" -#: tools/editor/scene_tree_editor.cpp -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp #: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -msgid "Editable Children" -msgstr "允许编辑子孙节点" - -#: tools/editor/scene_tree_editor.cpp -msgid "Load As Placeholder" -msgstr "加载为占位符" - -#: tools/editor/scene_tree_editor.cpp -msgid "Open in Editor" -msgstr "在编辑器中打开" - -#: tools/editor/scene_tree_editor.cpp -msgid "Clear Inheritance" -msgstr "清除继承" - -#: tools/editor/scene_tree_editor.cpp -msgid "Clear Inheritance? (No Undo!)" -msgstr "确定要清除继承吗(无法撤销!)?" - -#: tools/editor/scene_tree_editor.cpp -msgid "Clear!" -msgstr "清除!" - -#: tools/editor/scene_tree_editor.cpp -msgid "Select a Node" -msgstr "选择一个节点" - -#: tools/editor/file_type_cache.cpp -msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" -msgstr "无法以可写方式打开file_type_cache.cch!" - -#: tools/editor/pvrtc_compress.cpp -msgid "Could not execute PVRTC tool:" -msgstr "无法执行PVPTC工具:" - -#: tools/editor/pvrtc_compress.cpp -msgid "Can't load back converted image using PVRTC tool:" -msgstr "无法加载使用PVRTC工具转换的图片:" - -#: tools/editor/editor_sub_scene.cpp -msgid "Select Node(s) to Import" -msgstr "选择要导入的节点" - -#: tools/editor/editor_sub_scene.cpp -msgid "Scene Path:" -msgstr "场景路径:" - -#: tools/editor/editor_sub_scene.cpp tools/editor/editor_node.cpp -#: tools/editor/project_manager.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp -msgid "Import From Node:" -msgstr "从节点中导入:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Bytes:" -msgstr "字节:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Warning" -msgstr "警告:" - -#: tools/editor/script_editor_debugger.cpp -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Error" -msgstr "错误" - -#: tools/editor/script_editor_debugger.cpp tools/editor/editor_help.cpp -msgid "Description:" -msgstr "描述:" - -#: tools/editor/script_editor_debugger.cpp tools/editor/editor_profiler.cpp -msgid "Time:" -msgstr "时间:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Error:" -msgstr "错误:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Source:" -msgstr "源:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Function:" -msgstr "函数:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Errors" -msgstr "错误" +msgid "Cut" +msgstr "剪切" -#: tools/editor/script_editor_debugger.cpp +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp +#: tools/editor/resources_dock.cpp tools/editor/property_editor.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Debugger" -msgstr "调试器" - -#: tools/editor/script_editor_debugger.cpp -msgid "Child Process Connected" -msgstr "子进程已连接" - -#: tools/editor/script_editor_debugger.cpp tools/editor/code_editor.cpp -msgid "Line:" -msgstr "行:" +msgid "Copy" +msgstr "复制" -#: tools/editor/script_editor_debugger.cpp +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp +#: tools/editor/resources_dock.cpp tools/editor/property_editor.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Step Into" -msgstr "单步进入" +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Paste" +msgstr "粘贴" -#: tools/editor/script_editor_debugger.cpp +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp +#: tools/editor/project_export.cpp tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Step Over" -msgstr "单步跳过" +msgid "Select All" +msgstr "全选" -#: tools/editor/script_editor_debugger.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Break" -msgstr "跳过" +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp +#: tools/editor/script_editor_debugger.cpp tools/editor/editor_log.cpp +#: tools/editor/property_editor.cpp +#: tools/editor/plugins/rich_text_editor_plugin.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Clear" +msgstr "清除" -#: tools/editor/script_editor_debugger.cpp +#: scene/gui/text_edit.cpp scene/gui/line_edit.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Continue" -msgstr "继续" - -#: tools/editor/script_editor_debugger.cpp -msgid "Inspect Previous Instance" -msgstr "编辑上一个实例" - -#: tools/editor/script_editor_debugger.cpp -msgid "Inspect Next Instance" -msgstr "编辑下一个实例" +msgid "Undo" +msgstr "撤销" -#: tools/editor/script_editor_debugger.cpp -msgid "Stack Frames" +#: scene/main/viewport.cpp +msgid "" +"This viewport is not set as render target. If you intend for it to display " +"its contents directly to the screen, make it a child of a Control so it can " +"obtain a size. Otherwise, make it a RenderTarget and assign its internal " +"texture to some node for display." msgstr "" -#: tools/editor/script_editor_debugger.cpp -msgid "Variable" -msgstr "变量" - -#: tools/editor/script_editor_debugger.cpp -msgid "Errors:" -msgstr "错误:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Stack Trace (if applicable):" -msgstr "调用堆栈:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Remote Inspector" -msgstr "远程属性面板" - -#: tools/editor/script_editor_debugger.cpp -msgid "Monitor" -msgstr "键名" - -#: tools/editor/script_editor_debugger.cpp -msgid "Value" -msgstr "值" - -#: tools/editor/script_editor_debugger.cpp -msgid "List of Video Memory Usage by Resource:" -msgstr "占用显存的资源列表:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Total:" -msgstr "合计:" - -#: tools/editor/script_editor_debugger.cpp -msgid "Video Mem" -msgstr "显存" - -#: tools/editor/script_editor_debugger.cpp -msgid "Resource Path" -msgstr "资源路径" +#: tools/editor/project_export.cpp +msgid "Edit Script Options" +msgstr "脚本编辑器选项" -#: tools/editor/script_editor_debugger.cpp -msgid "Type" -msgstr "类型" +#: tools/editor/project_export.cpp +msgid "Please export outside the project folder!" +msgstr "请导出到项目目录之外!" -#: tools/editor/script_editor_debugger.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Format" -msgstr "格式" +#: tools/editor/project_export.cpp +msgid "Error exporting project!" +msgstr "导出项目出错!" -#: tools/editor/script_editor_debugger.cpp -msgid "Usage" -msgstr "用量" +#: tools/editor/project_export.cpp +msgid "Error writing the project PCK!" +msgstr "写入项目PCK文件出错!" -#: tools/editor/script_editor_debugger.cpp -msgid "Clicked Control:" -msgstr "点击的控件:" +#: tools/editor/project_export.cpp +msgid "No exporter for platform '%s' yet." +msgstr "没有针对'%s'平台的导出模板。" -#: tools/editor/script_editor_debugger.cpp -msgid "Clicked Control Type:" -msgstr "点击的控件类型:" +#: tools/editor/project_export.cpp +msgid "Include" +msgstr "包含" -#: tools/editor/script_editor_debugger.cpp -msgid "Live Edit Root:" -msgstr "实时编辑根节点:" +#: tools/editor/project_export.cpp +msgid "Change Image Group" +msgstr "修改图片分组" -#: tools/editor/script_editor_debugger.cpp -msgid "Set From Tree" -msgstr "从场景树设置" +#: tools/editor/project_export.cpp +msgid "Group name can't be empty!" +msgstr "分组名称不能为空!" -#: tools/editor/addon_editor_plugin.cpp tools/editor/import_settings.cpp -#: tools/editor/property_editor.cpp tools/editor/call_dialog.cpp -#: tools/editor/groups_editor.cpp tools/editor/connections_dialog.cpp -#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp -#: tools/editor/run_settings_dialog.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Close" -msgstr "关闭" +#: tools/editor/project_export.cpp +msgid "Invalid character in group name!" +msgstr "分组名称中包含非法字符!" -#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_node.cpp -#: tools/editor/quick_open.cpp tools/editor/create_dialog.cpp -#: tools/editor/editor_help.cpp tools/editor/project_settings.cpp -#: tools/editor/code_editor.cpp tools/editor/settings_config_dialog.cpp -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Search:" -msgstr "搜索:" +#: tools/editor/project_export.cpp +msgid "Group name already exists!" +msgstr "分组名称已存在!" -#: tools/editor/addon_editor_plugin.cpp -msgid "Search" -msgstr "搜索" +#: tools/editor/project_export.cpp +msgid "Add Image Group" +msgstr "添加图片分组" -#: tools/editor/addon_editor_plugin.cpp -msgid "Import" -msgstr "导入" +#: tools/editor/project_export.cpp +msgid "Delete Image Group" +msgstr "删除图片分组" -#: tools/editor/addon_editor_plugin.cpp tools/editor/project_settings.cpp -#: tools/editor/settings_config_dialog.cpp -msgid "Plugins" -msgstr "插件" +#: tools/editor/project_export.cpp tools/editor/editor_import_export.cpp +msgid "Error saving atlas:" +msgstr "保存贴图集出错:" -#: tools/editor/addon_editor_plugin.cpp -msgid "Sort:" -msgstr "排序:" +#: tools/editor/project_export.cpp +msgid "Atlas Preview" +msgstr "预览精灵集" -#: tools/editor/addon_editor_plugin.cpp -msgid "Reverse" -msgstr "反选" +#: tools/editor/project_export.cpp +msgid "Project Export Settings" +msgstr "项目导出设置" -#: tools/editor/addon_editor_plugin.cpp tools/editor/project_settings.cpp -msgid "Category:" -msgstr "分类:" +#: tools/editor/project_export.cpp +msgid "Target" +msgstr "平台" -#: tools/editor/addon_editor_plugin.cpp -msgid "All" -msgstr "全部" +#: tools/editor/project_export.cpp +msgid "Export to Platform" +msgstr "导出到平台" -#: tools/editor/addon_editor_plugin.cpp -msgid "Site:" -msgstr "站点:" +#: tools/editor/project_export.cpp tools/editor/plugins/theme_editor_plugin.cpp +msgid "Options" +msgstr "选项" -#: tools/editor/addon_editor_plugin.cpp -msgid "Assets ZIP File" -msgstr "" +#: tools/editor/project_export.cpp +msgid "Resources" +msgstr "资源" -#: tools/editor/editor_plugin_settings.cpp -msgid "Installed Plugins:" -msgstr "已安装插件:" +#: tools/editor/project_export.cpp +msgid "Export selected resources (including dependencies)." +msgstr "导出选中的资源(包括其依赖资源)" -#: tools/editor/editor_plugin_settings.cpp tools/editor/editor_node.cpp -msgid "Update" -msgstr "更新" +#: tools/editor/project_export.cpp +msgid "Export all resources in the project." +msgstr "导出项目中的所有资源" -#: tools/editor/editor_plugin_settings.cpp -msgid "Version:" -msgstr "版本" +#: tools/editor/project_export.cpp +msgid "Export all files in the project directory." +msgstr "导出项目目录下的所有文件" -#: tools/editor/editor_plugin_settings.cpp -msgid "Author:" -msgstr "作者" +#: tools/editor/project_export.cpp +msgid "Export Mode:" +msgstr "导出模式:" -#: tools/editor/editor_plugin_settings.cpp -msgid "Status:" -msgstr "状态" +#: tools/editor/project_export.cpp +msgid "Resources to Export:" +msgstr "导出的资源:" -#: tools/editor/script_create_dialog.cpp -msgid "Invalid parent class name" -msgstr "基类名称非法" +#: tools/editor/project_export.cpp tools/editor/plugins/script_editor_plugin.cpp +msgid "File" +msgstr "文件" -#: tools/editor/script_create_dialog.cpp -msgid "Valid chars:" -msgstr "合法的字符:" +#: tools/editor/project_export.cpp +msgid "Action" +msgstr "动作" -#: tools/editor/script_create_dialog.cpp -msgid "Invalid class name" -msgstr "类名非法" +#: tools/editor/project_export.cpp +msgid "" +"Filters to export non-resource files (comma-separated, e.g.: *.json, *.txt):" +msgstr "导出非资源文件筛选(使用英文逗号分隔,如:*.json,*.txt):" -#: tools/editor/script_create_dialog.cpp -msgid "Valid name" -msgstr "名称可用" +#: tools/editor/project_export.cpp +msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" +msgstr "排除导出的非资源文件筛选(使用英文逗号分隔,如:*.json,*.txt):" -#: tools/editor/script_create_dialog.cpp -msgid "N/A" -msgstr "N/A" +#: tools/editor/project_export.cpp +msgid "Convert text scenes to binary on export." +msgstr "导出时将文本场景写入二进制文件。" -#: tools/editor/script_create_dialog.cpp -msgid "Class name is invalid!" -msgstr "类名非法" +#: tools/editor/project_export.cpp +msgid "Images" +msgstr "图片" -#: tools/editor/script_create_dialog.cpp -msgid "Parent class name is invalid!" -msgstr "基类名称非法" +#: tools/editor/project_export.cpp +msgid "Keep Original" +msgstr "保持原样" -#: tools/editor/script_create_dialog.cpp -msgid "Invalid path!" -msgstr "路径非法!" +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy, WebP)" +msgstr "节省磁盘空间(有损压缩,WebP)" -#: tools/editor/script_create_dialog.cpp -msgid "Could not create script in filesystem." -msgstr "无法创建脚本。" +#: tools/editor/project_export.cpp +msgid "Compress for RAM (BC/PVRTC/ETC)" +msgstr "节省内存(BC/PVRTC/ETC)" -#: tools/editor/script_create_dialog.cpp -msgid "Path is empty" -msgstr "文件路径为空" +#: tools/editor/project_export.cpp +msgid "Convert Images (*.png):" +msgstr "转换图片(*.png):" -#: tools/editor/script_create_dialog.cpp -msgid "Path is not local" -msgstr "必须是项目路径" +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy) Quality:" +msgstr "高质量(有损)节省磁盘空间" -#: tools/editor/script_create_dialog.cpp -msgid "Invalid base path" -msgstr "" +#: tools/editor/project_export.cpp +msgid "Shrink All Images:" +msgstr "收缩所有图片:" -#: tools/editor/script_create_dialog.cpp -msgid "File exists" -msgstr "文件已存在" +#: tools/editor/project_export.cpp +msgid "Compress Formats:" +msgstr "压缩格式:" -#: tools/editor/script_create_dialog.cpp -msgid "Invalid extension" -msgstr "扩展名非法" +#: tools/editor/project_export.cpp +msgid "Image Groups" +msgstr "图片分组" -#: tools/editor/script_create_dialog.cpp -msgid "Valid path" -msgstr "路径可用" +#: tools/editor/project_export.cpp +msgid "Groups:" +msgstr "分组:" -#: tools/editor/script_create_dialog.cpp -msgid "Class Name:" -msgstr "类名:" +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +msgid "Default" +msgstr "默认" -#: tools/editor/script_create_dialog.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Language" -msgstr "语言:" +#: tools/editor/project_export.cpp +msgid "Compress Disk" +msgstr "节省磁盘空间" -#: tools/editor/script_create_dialog.cpp tools/editor/property_editor.cpp -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -#: tools/editor/plugins/sample_library_editor_plugin.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Error!" -msgstr "错误!" +#: tools/editor/project_export.cpp +msgid "Compress RAM" +msgstr "节省内存" -#: tools/editor/script_create_dialog.cpp -msgid "Built-In Script" -msgstr "内置脚本" +#: tools/editor/project_export.cpp +msgid "Compress Mode:" +msgstr "压缩方式:" -#: tools/editor/script_create_dialog.cpp -msgid "Create Node Script" -msgstr "创建脚本" +#: tools/editor/project_export.cpp +msgid "Lossy Quality:" +msgstr "图片质量:" -#: tools/editor/script_create_dialog.cpp -msgid "Create" -msgstr "创建" +#: tools/editor/project_export.cpp +msgid "Atlas:" +msgstr "精灵集:" -#: tools/editor/editor_node.cpp tools/editor/import_settings.cpp -#: tools/editor/editor_reimport_dialog.cpp -msgid "Re-Importing" -msgstr "重新导入" +#: tools/editor/project_export.cpp +msgid "Shrink By:" +msgstr "收缩方式:" -#: tools/editor/editor_node.cpp -msgid "Importing:" -msgstr "导入:" +#: tools/editor/project_export.cpp +msgid "Preview Atlas" +msgstr "精灵集预览:" -#: tools/editor/editor_node.cpp -msgid "Node From Scene" -msgstr "" +#: tools/editor/project_export.cpp +msgid "Image Filter:" +msgstr "纹理过滤:\t\t" -#: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp -msgid "Re-Import.." -msgstr "重新导入.." +#: tools/editor/project_export.cpp +msgid "Images:" +msgstr "图片" -#: tools/editor/editor_node.cpp tools/editor/resources_dock.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Error saving resource!" -msgstr "保存资源出错!" +#: tools/editor/project_export.cpp +msgid "Select None" +msgstr "取消选择" -#: tools/editor/editor_node.cpp tools/editor/resources_dock.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Save Resource As.." -msgstr "资源另存为.." +#: tools/editor/project_export.cpp tools/editor/groups_editor.cpp +msgid "Group" +msgstr "分组" -#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp -msgid "I see.." -msgstr "好吧.." +#: tools/editor/project_export.cpp +msgid "Samples" +msgstr "音效" -#: tools/editor/editor_node.cpp -msgid "Can't open file for writing:" -msgstr "无法以可写模式打开文件:" +#: tools/editor/project_export.cpp +msgid "Sample Conversion Mode: (.wav files):" +msgstr "音效转换方式(.wav文件):" -#: tools/editor/editor_node.cpp -msgid "Requested file format unknown:" -msgstr "未知的文件类型请求:" +#: tools/editor/project_export.cpp +msgid "Keep" +msgstr "保持不变" -#: tools/editor/editor_node.cpp -msgid "Error while saving." -msgstr "保存出错。" +#: tools/editor/project_export.cpp +msgid "Compress (RAM - IMA-ADPCM)" +msgstr "压缩(RAM - IMA-ADPCM)" -#: tools/editor/editor_node.cpp -msgid "Saving Scene" -msgstr "正在保存场景" +#: tools/editor/project_export.cpp +msgid "Sampling Rate Limit (Hz):" +msgstr "采样率(Hz):" -#: tools/editor/editor_node.cpp -msgid "Analyzing" -msgstr "正在分析" +#: tools/editor/project_export.cpp +msgid "Trim" +msgstr "修剪" -#: tools/editor/editor_node.cpp -msgid "Creating Thumbnail" +#: tools/editor/project_export.cpp +msgid "Trailing Silence:" msgstr "" -#: tools/editor/editor_node.cpp -msgid "" -"Couldn't save scene. Likely dependencies (instances) couldn't be satisfied." -msgstr "无法保存场景,依赖项(实例)验证失败。" +#: tools/editor/project_export.cpp +msgid "Script" +msgstr "脚本" -#: tools/editor/editor_node.cpp -msgid "Failed to load resource." -msgstr "加载资源失败。" +#: tools/editor/project_export.cpp +msgid "Script Export Mode:" +msgstr "脚本导出方式:" -#: tools/editor/editor_node.cpp -msgid "Can't load MeshLibrary for merging!" -msgstr "" +#: tools/editor/project_export.cpp +msgid "Text" +msgstr "文本" -#: tools/editor/editor_node.cpp -msgid "Error saving MeshLibrary!" -msgstr "" +#: tools/editor/project_export.cpp +msgid "Compiled" +msgstr "编译" -#: tools/editor/editor_node.cpp -msgid "Can't load TileSet for merging!" -msgstr "无法加载要合并的砖块集!" +#: tools/editor/project_export.cpp +msgid "Encrypted (Provide Key Below)" +msgstr "使用下列密码加密" -#: tools/editor/editor_node.cpp -msgid "Error saving TileSet!" -msgstr "保存砖块集失败!" +#: tools/editor/project_export.cpp +msgid "Script Encryption Key (256-bits as hex):" +msgstr "脚本密匙(256位16进制码)" -#: tools/editor/editor_node.cpp -msgid "Can't open export templates zip." -msgstr "无法打开ZIP导出模板" +#: tools/editor/project_export.cpp +msgid "Export PCK/Zip" +msgstr "导出 PCK/ZIP" -#: tools/editor/editor_node.cpp -msgid "Loading Export Templates" -msgstr "正在加载导出模板" +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +msgid "Export Project" +msgstr "导出项目" -#: tools/editor/editor_node.cpp -msgid "Error trying to save layout!" -msgstr "保存布局出错!" +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +msgid "Password:" +msgstr "密码" -#: tools/editor/editor_node.cpp tools/editor/project_export.cpp -msgid "Default editor layout overridden." -msgstr "覆盖编辑器默认布局。" +#: tools/editor/project_export.cpp +msgid "Export Project PCK" +msgstr "导出项目PCK文件" -#: tools/editor/editor_node.cpp -msgid "Layout name not found!" -msgstr "布局名称未找到!" +#: tools/editor/project_export.cpp +msgid "Export.." +msgstr "导出.." -#: tools/editor/editor_node.cpp -msgid "Restored default layout to base settings." -msgstr "重置为默认布局设置。" +#: tools/editor/project_export.cpp +msgid "Project Export" +msgstr "项目导出" -#: tools/editor/editor_node.cpp -msgid "Copy Params" -msgstr "拷贝参数" +#: tools/editor/project_export.cpp +msgid "Export Preset:" +msgstr "导出预设" -#: tools/editor/editor_node.cpp -msgid "Set Params" -msgstr "设置参数" +#: tools/editor/project_export.cpp tools/editor/editor_node.cpp +msgid "Export" +msgstr "导出" -#: tools/editor/editor_node.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Paste Resource" -msgstr "粘贴资源" +#: tools/editor/code_editor.cpp +msgid "Go to Line" +msgstr "转到行" -#: tools/editor/editor_node.cpp -msgid "Copy Resource" -msgstr "拷贝资源" +#: tools/editor/code_editor.cpp +msgid "Line Number:" +msgstr "行号:" -#: tools/editor/editor_node.cpp -msgid "Make Built-In" -msgstr "" +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "No Matches" +msgstr "匹配项:" -#: tools/editor/editor_node.cpp -msgid "Make Sub-Resources Unique" +#: tools/editor/code_editor.cpp +msgid "Replaced %d Ocurrence(s)." msgstr "" -#: tools/editor/editor_node.cpp -msgid "There is no defined scene to run." -msgstr "没有设置要执行的场景。" - -#: tools/editor/editor_node.cpp -msgid "Current scene was never saved, please save it prior to running." -msgstr "当前场景尚未保存,请保存后再尝试执行。" +#: tools/editor/code_editor.cpp +msgid "Replace" +msgstr "替换" -#: tools/editor/editor_node.cpp -msgid "Could not start subprocess!" -msgstr "无法启动子进程!" +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "Replace All" +msgstr "替换" -#: tools/editor/editor_node.cpp -msgid "Open Scene" -msgstr "打开场景" +#: tools/editor/code_editor.cpp +#, fuzzy +msgid "Match Case" +msgstr "匹配项:" -#: tools/editor/editor_node.cpp -msgid "Open Base Scene" +#: tools/editor/code_editor.cpp +msgid "Whole Words" msgstr "" -#: tools/editor/editor_node.cpp -msgid "Quick Open Scene.." -msgstr "快速打开场景.." - -#: tools/editor/editor_node.cpp -msgid "Quick Open Script.." -msgstr "快速打开脚本.." - -#: tools/editor/editor_node.cpp -msgid "Yes" -msgstr "是" - -#: tools/editor/editor_node.cpp -msgid "Close scene? (Unsaved changes will be lost)" -msgstr "确定要关闭场景吗,未保存的修改将丢失?" - -#: tools/editor/editor_node.cpp -msgid "Save Scene As.." -msgstr "场景另存为" +#: tools/editor/code_editor.cpp +msgid "Selection Only" +msgstr "仅选中" -#: tools/editor/editor_node.cpp -msgid "This scene has never been saved. Save before running?" -msgstr "此场景尚未保存,要在运行之前保存它吗?" +#: tools/editor/code_editor.cpp tools/editor/project_settings.cpp +#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_help.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search" +msgstr "搜索" -#: tools/editor/editor_node.cpp -msgid "Please save the scene first." -msgstr "请先保存场景。" +#: tools/editor/code_editor.cpp tools/editor/editor_help.cpp +msgid "Find" +msgstr "查找" -#: tools/editor/editor_node.cpp -msgid "Save Translatable Strings" -msgstr "保存可翻译字符串" +#: tools/editor/code_editor.cpp +msgid "Next" +msgstr "下一项" -#: tools/editor/editor_node.cpp tools/editor/project_export.cpp -msgid "Export Mesh Library" +#: tools/editor/code_editor.cpp +msgid "Replaced %d ocurrence(s)." msgstr "" -#: tools/editor/editor_node.cpp -msgid "Export Tile Set" -msgstr "导出砖块集" - -#: tools/editor/editor_node.cpp -msgid "Quit" -msgstr "退出" - -#: tools/editor/editor_node.cpp -msgid "Exit the editor?" -msgstr "确定要退出编辑器吗?" +#: tools/editor/code_editor.cpp +msgid "Not found!" +msgstr "未找到!" -#: tools/editor/editor_node.cpp -msgid "Current scene not saved. Open anyway?" -msgstr "当前场景尚未保存,仍要打开?" +#: tools/editor/code_editor.cpp +msgid "Replace By" +msgstr "替换" -#: tools/editor/editor_node.cpp -msgid "Can't reload a scene that was never saved." -msgstr "无法重新加载未保存的场景。" +#: tools/editor/code_editor.cpp +msgid "Case Sensitive" +msgstr "区分大小写" -#: tools/editor/editor_node.cpp -msgid "Revert" -msgstr "恢复" +#: tools/editor/code_editor.cpp +msgid "Backwards" +msgstr "向后" -#: tools/editor/editor_node.cpp -msgid "This action cannot be undone. Revert anyway?" -msgstr "此操作无法撤销,确定要继续吗?" +#: tools/editor/code_editor.cpp +msgid "Prompt On Replace" +msgstr "更换时提示" -#: tools/editor/editor_node.cpp -msgid "Quick Run Scene.." -msgstr "快速运行场景" +#: tools/editor/code_editor.cpp +msgid "Skip" +msgstr "跳过" -#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp -msgid "Ugh" -msgstr "额" +#: tools/editor/code_editor.cpp tools/editor/script_editor_debugger.cpp +msgid "Line:" +msgstr "行:" -#: tools/editor/editor_node.cpp -msgid "" -"Error loading scene, it must be inside the project path. Use 'Import' to " -"open the scene, then save it inside the project path." -msgstr "" -"加载场景出错,场景必须放在项目目录下。请尝试使用'导入'菜单导入此场景后再试。" +#: tools/editor/code_editor.cpp +msgid "Col:" +msgstr "列:" -#: tools/editor/editor_node.cpp -msgid "Error loading scene." -msgstr "加载场景出错。" +#: tools/editor/connections_dialog.cpp +msgid "Method in target Node must be specified!" +msgstr "必须设置方法的对象节点!" -#: tools/editor/editor_node.cpp -msgid "Scene '%s' has broken dependencies:" -msgstr "场景%s的依赖已被破坏:" +#: tools/editor/connections_dialog.cpp +msgid "Connect To Node:" +msgstr "连接到节点:" -#: tools/editor/editor_node.cpp -msgid "Save Layout" -msgstr "保存布局" +#: tools/editor/connections_dialog.cpp +msgid "Binds (Extra Params):" +msgstr "绑定(附加参数):" -#: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp -#: tools/editor/dependency_editor.cpp +#: tools/editor/connections_dialog.cpp tools/editor/project_settings.cpp +#: tools/editor/groups_editor.cpp tools/editor/plugins/theme_editor_plugin.cpp #: tools/editor/plugins/item_list_editor_plugin.cpp -msgid "Delete Layout" -msgstr "删除布局" - -#: tools/editor/editor_node.cpp -msgid "Default" -msgstr "默认" - -#: tools/editor/editor_node.cpp -msgid "Delete" -msgstr "删除" - -#: tools/editor/editor_node.cpp -msgid "Switch Scene Tab" -msgstr "切换场景标签页" - -#: tools/editor/editor_node.cpp -msgid "%d more file(s)" -msgstr "更多的%d个文件" - -#: tools/editor/editor_node.cpp -msgid "%d more file(s) or folder(s)" -msgstr "更多的%d个文件或目录" - -#: tools/editor/editor_node.cpp -msgid "Scene" -msgstr "场景" - -#: tools/editor/editor_node.cpp -msgid "Go to previously opened scene." -msgstr "前往上一个打开的场景。" - -#: tools/editor/editor_node.cpp -msgid "Operations with scene files." -msgstr "操作场景文件。" - -#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp -msgid "New Scene" -msgstr "新建场景" - -#: tools/editor/editor_node.cpp -msgid "New Inherited Scene.." -msgstr "从现有场景中创建.." - -#: tools/editor/editor_node.cpp -msgid "Open Scene.." -msgstr "打开场景" - -#: tools/editor/editor_node.cpp -msgid "Save Scene" -msgstr "保存场景" - -#: tools/editor/editor_node.cpp -msgid "Close Scene" -msgstr "关闭场景" - -#: tools/editor/editor_node.cpp -msgid "Close Goto Prev. Scene" -msgstr "关闭并前往上一个场景" +msgid "Add" +msgstr "添加" -#: tools/editor/editor_node.cpp -msgid "Open Recent" -msgstr "最近打开" +#: tools/editor/connections_dialog.cpp tools/editor/dependency_editor.cpp +#: tools/editor/project_manager.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Remove" +msgstr "移除" -#: tools/editor/editor_node.cpp -msgid "Quick Search File.." -msgstr "快速查找文件.." +#: tools/editor/connections_dialog.cpp +msgid "Path To Node:" +msgstr "节点路径:" -#: tools/editor/editor_node.cpp -msgid "Convert To.." -msgstr "转换为.." +#: tools/editor/connections_dialog.cpp +msgid "Method In Node:" +msgstr "节点方法:" -#: tools/editor/editor_node.cpp -msgid "Translatable Strings.." -msgstr "可翻译字符串" +#: tools/editor/connections_dialog.cpp +msgid "Make Function" +msgstr "创建方法" -#: tools/editor/editor_node.cpp -msgid "MeshLibrary.." +#: tools/editor/connections_dialog.cpp +msgid "Deferred" msgstr "" -#: tools/editor/editor_node.cpp -msgid "TileSet.." -msgstr "砖块集.." +#: tools/editor/connections_dialog.cpp +msgid "Oneshot" +msgstr "" -#: tools/editor/editor_node.cpp tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/connections_dialog.cpp tools/editor/settings_config_dialog.cpp +#: tools/editor/import_settings.cpp tools/editor/run_settings_dialog.cpp +#: tools/editor/project_settings.cpp tools/editor/groups_editor.cpp +#: tools/editor/property_editor.cpp tools/editor/addon_editor_plugin.cpp +#: tools/editor/call_dialog.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Redo" -msgstr "重做" - -#: tools/editor/editor_node.cpp -msgid "Run Script" -msgstr "运行脚本" - -#: tools/editor/editor_node.cpp -msgid "Project Settings" -msgstr "项目设置" - -#: tools/editor/editor_node.cpp -msgid "Revert Scene" -msgstr "恢复场景" +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Close" +msgstr "关闭" -#: tools/editor/editor_node.cpp -msgid "Quit to Project List" -msgstr "退出到项目列表" +#: tools/editor/connections_dialog.cpp +msgid "Connect" +msgstr "连接" -#: tools/editor/editor_node.cpp -msgid "Import assets to the project." -msgstr "导入资源" +#: tools/editor/connections_dialog.cpp +msgid "Connect '%s' to '%s'" +msgstr "连接'%s'到'%s'" -#: tools/editor/editor_node.cpp -msgid "Miscellaneous project or scene-wide tools." +#: tools/editor/connections_dialog.cpp +msgid "Create Subscription" msgstr "" -#: tools/editor/editor_node.cpp -msgid "Tools" -msgstr "工具" - -#: tools/editor/editor_node.cpp tools/editor/dependency_editor.cpp -msgid "Orphan Resource Explorer" -msgstr "查看孤立资源" - -#: tools/editor/editor_node.cpp -msgid "Export the project to many platforms." -msgstr "导出项目到多个平台。" - -#: tools/editor/editor_node.cpp -msgid "Export" -msgstr "导出" - -#: tools/editor/editor_node.cpp -msgid "Play the project (F5)." -msgstr "运行此项目(F5)" - -#: tools/editor/editor_node.cpp -msgid "Pause the scene" -msgstr "暂停运行场景" - -#: tools/editor/editor_node.cpp -msgid "Stop the scene (F8)." -msgstr "停止运行场景(F8)" - -#: tools/editor/editor_node.cpp -msgid "Play the edited scene (F6)." -msgstr "运行打开的场景(F6)" - -#: tools/editor/editor_node.cpp -msgid "Play custom scene" -msgstr "运行自定义场景" - -#: tools/editor/editor_node.cpp -msgid "Debug options" -msgstr "调试选项" - -#: tools/editor/editor_node.cpp -msgid "Live Editing" -msgstr "实时编辑" +#: tools/editor/connections_dialog.cpp +msgid "Connect.." +msgstr "连接事件" -#: tools/editor/editor_node.cpp -msgid "File Server" -msgstr "文件服务" +#: tools/editor/connections_dialog.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Disconnect" +msgstr "删除事件连接" -#: tools/editor/editor_node.cpp -msgid "Deploy Remote Debug" -msgstr "部署远程调试" +#: tools/editor/connections_dialog.cpp +msgid "Edit Connections.." +msgstr "编辑事件连接" -#: tools/editor/editor_node.cpp -msgid "Deploy File Server Clients" -msgstr "部署文件服务客户端" +#: tools/editor/connections_dialog.cpp +msgid "Connections:" +msgstr "事件:" -#: tools/editor/editor_node.cpp -msgid "Visible Collision Shapes" -msgstr "碰撞区域可见" +#: tools/editor/editor_sub_scene.cpp +msgid "Select Node(s) to Import" +msgstr "选择要导入的节点" -#: tools/editor/editor_node.cpp -msgid "Visible Navigation" -msgstr "Navigation可见" +#: tools/editor/editor_sub_scene.cpp +msgid "Scene Path:" +msgstr "场景路径:" -#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp -msgid "Settings" -msgstr "设置" +#: tools/editor/editor_sub_scene.cpp +msgid "Import From Node:" +msgstr "从节点中导入:" -#: tools/editor/editor_node.cpp tools/editor/settings_config_dialog.cpp +#: tools/editor/settings_config_dialog.cpp tools/editor/editor_node.cpp msgid "Editor Settings" msgstr "编辑器设置" -#: tools/editor/editor_node.cpp -msgid "Editor Layout" -msgstr "编辑器布局" - -#: tools/editor/editor_node.cpp -msgid "Install Export Templates" -msgstr "安装导出模板" - -#: tools/editor/editor_node.cpp -msgid "About" -msgstr "关于" - -#: tools/editor/editor_node.cpp -msgid "Alerts when an external resource has changed." -msgstr "外部资源改变后弹出提示。" - -#: tools/editor/editor_node.cpp -msgid "Spins when the editor window repaints!" -msgstr "旋转时,重新绘制编辑器窗口!" - -#: tools/editor/editor_node.cpp -msgid "Update Always" -msgstr "持续更新UI" - -#: tools/editor/editor_node.cpp -msgid "Update Changes" -msgstr "有更改时更新UI" - -#: tools/editor/editor_node.cpp -msgid "Inspector" -msgstr "属性面板" - -#: tools/editor/editor_node.cpp -msgid "Create a new resource in memory and edit it." -msgstr "在内存中新建资源并编辑。" - -#: tools/editor/editor_node.cpp -msgid "Load an existing resource from disk and edit it." -msgstr "从磁盘中加载资源并编辑。" - -#: tools/editor/editor_node.cpp -msgid "Save the currently edited resource." -msgstr "保存当前编辑的资源。" - -#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Save As.." -msgstr "另存为" - -#: tools/editor/editor_node.cpp -msgid "Go to the previous edited object in history." -msgstr "前往上一个编辑对象。" - -#: tools/editor/editor_node.cpp -msgid "Go to the next edited object in history." -msgstr "前往下一个编辑对象。" - -#: tools/editor/editor_node.cpp -msgid "History of recently edited objects." -msgstr "最近编辑历史对象。" - -#: tools/editor/editor_node.cpp -msgid "Object properties." -msgstr "对象属性。" - -#: tools/editor/editor_node.cpp -msgid "FileSystem" -msgstr "文件系统" - -#: tools/editor/editor_node.cpp -msgid "Output" -msgstr "输出" - -#: tools/editor/editor_node.cpp -msgid "Re-Import" -msgstr "重新导入" - -#: tools/editor/editor_node.cpp -msgid "Thanks from the Godot community!" -msgstr "感谢Godot社区" - -#: tools/editor/editor_node.cpp -msgid "Thanks!" -msgstr "谢谢!" - -#: tools/editor/editor_node.cpp -msgid "Import Templates From ZIP File" -msgstr "从ZIP文件中导入模板" - -#: tools/editor/editor_node.cpp tools/editor/project_export.cpp -msgid "Export Project" -msgstr "导出项目" - -#: tools/editor/editor_node.cpp -msgid "Export Library" -msgstr "导出库" - -#: tools/editor/editor_node.cpp -msgid "Merge With Existing" -msgstr "与现有合并" - -#: tools/editor/editor_node.cpp tools/editor/project_export.cpp -msgid "Password:" -msgstr "密码" - -#: tools/editor/editor_node.cpp -msgid "Open & Run a Script" -msgstr "打开并运行脚本" - -#: tools/editor/editor_node.cpp -msgid "Load Errors" -msgstr "加载错误" - -#: tools/editor/import_settings.cpp -msgid "Imported Resources" -msgstr "已导入的资源" - -#: tools/editor/property_editor.cpp -msgid "Preset.." -msgstr "预设.." - -#: tools/editor/property_editor.cpp tools/editor/animation_editor.cpp -msgid "Linear" -msgstr "线性" - -#: tools/editor/property_editor.cpp -msgid "Ease In" -msgstr "慢速开始" - -#: tools/editor/property_editor.cpp -msgid "Ease Out" -msgstr "慢速结束" - -#: tools/editor/property_editor.cpp -msgid "Zero" -msgstr "" +#: tools/editor/settings_config_dialog.cpp tools/editor/project_settings.cpp +msgid "General" +msgstr "一般" -#: tools/editor/property_editor.cpp -msgid "Easing In-Out" -msgstr "慢速开始和结束" +#: tools/editor/settings_config_dialog.cpp tools/editor/quick_open.cpp +#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_node.cpp +#: tools/editor/editor_help.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search:" +msgstr "搜索:" -#: tools/editor/property_editor.cpp -msgid "Easing Out-In" -msgstr "" +#: tools/editor/settings_config_dialog.cpp tools/editor/project_settings.cpp +#: tools/editor/addon_editor_plugin.cpp +msgid "Plugins" +msgstr "插件" -#: tools/editor/property_editor.cpp -msgid "File.." -msgstr "文件.." +#: tools/editor/settings_config_dialog.cpp +msgid "Plugin List:" +msgstr "插件列表" -#: tools/editor/property_editor.cpp -msgid "Dir.." -msgstr "目录.." +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose a Directory" +msgstr "选择目录" -#: tools/editor/property_editor.cpp -msgid "New" -msgstr "新建" +#: tools/editor/editor_dir_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Create Folder" +msgstr "新建目录" -#: tools/editor/property_editor.cpp -msgid "Load" -msgstr "加载" +#: tools/editor/editor_dir_dialog.cpp tools/editor/editor_plugin_settings.cpp +#: tools/editor/editor_file_dialog.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Name:" +msgstr "名称" -#: tools/editor/property_editor.cpp -msgid "Assign" -msgstr "" +#: tools/editor/editor_dir_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Could not create folder." +msgstr "无法创建目录。" -#: tools/editor/property_editor.cpp -msgid "Error loading file: Not a resource!" -msgstr "加载文件出错:不是资源文件!" +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose" +msgstr "选择" -#: tools/editor/property_editor.cpp -msgid "Couldn't load image" -msgstr "无法加载图片" +#: tools/editor/editor_file_system.cpp +msgid "Cannot go into subdir:" +msgstr "无法打开目录:" -#: tools/editor/property_editor.cpp -msgid "Bit %d, val %d." +#: tools/editor/editor_file_system.cpp +msgid "ScanSources" msgstr "" -#: tools/editor/property_editor.cpp tools/editor/editor_help.cpp -msgid "Class:" -msgstr "类:" - -#: tools/editor/property_editor.cpp tools/editor/project_settings.cpp -msgid "Property:" -msgstr "属性:" - -#: tools/editor/property_editor.cpp -msgid "On" -msgstr "启用" - -#: tools/editor/property_editor.cpp -msgid "Set" -msgstr "设置" - -#: tools/editor/property_editor.cpp -msgid "Properties:" -msgstr "属性:" - -#: tools/editor/property_editor.cpp -msgid "Global" -msgstr "全局" - -#: tools/editor/property_editor.cpp -msgid "Sections:" -msgstr "选项:" - -#: tools/editor/editor_import_export.cpp tools/editor/connections_dialog.cpp -#: tools/editor/project_settings.cpp -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/item_list_editor_plugin.cpp -msgid "Added:" -msgstr "已添加:" - -#: tools/editor/editor_import_export.cpp tools/editor/connections_dialog.cpp #: tools/editor/dependency_editor.cpp -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Removed:" -msgstr "已移除:" - -#: tools/editor/editor_import_export.cpp tools/editor/project_export.cpp -msgid "Error saving atlas:" -msgstr "保存贴图集出错:" - -#: tools/editor/editor_import_export.cpp -msgid "Could not save atlas subtexture:" -msgstr "无法保存精灵集子贴图:" - -#: tools/editor/editor_import_export.cpp -msgid "Storing File:" -msgstr "文件排序:" - -#: tools/editor/editor_import_export.cpp -msgid "Packing" -msgstr "打包中" - -#: tools/editor/editor_import_export.cpp -msgid "Exporting for %s" -msgstr "正在导出 %s" - -#: tools/editor/editor_import_export.cpp -msgid "Setting Up.." -msgstr "配置.." - -#: tools/editor/scene_tree_dock.cpp -msgid "OK :(" -msgstr "好吧" - -#: tools/editor/scene_tree_dock.cpp -msgid "No parent to instance a child at." -msgstr "没有选中节点来添加实例。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Error loading scene from %s" -msgstr "从%s加载场景出错!" - -#: tools/editor/scene_tree_dock.cpp -msgid "Error instancing scene from %s" -msgstr "从%s实例化场景出错!" - -#: tools/editor/scene_tree_dock.cpp -msgid "Ok" -msgstr "好的" - -#: tools/editor/scene_tree_dock.cpp -msgid "" -"Cannot instance the scene '%s' because the current scene exists within one " -"of its nodes." -msgstr "无法实例化场景%s当前场景已存在于它的子节点中。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Instance Scene(s)" -msgstr "实例化场景" - -#: tools/editor/scene_tree_dock.cpp -msgid "This operation can't be done on the tree root." -msgstr "此操作不能被用于根节点。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Move Node In Parent" -msgstr "在父节点中移动" - -#: tools/editor/scene_tree_dock.cpp -msgid "Move Nodes In Parent" -msgstr "在父节点中移动多个节点" - -#: tools/editor/scene_tree_dock.cpp -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Duplicate Node(s)" -msgstr "复制节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)?" -msgstr "确定要删除节点吗?" - -#: tools/editor/scene_tree_dock.cpp -msgid "This operation can't be done without a scene." -msgstr "此操作必须在打开一个场景后才能执行。" - -#: tools/editor/scene_tree_dock.cpp -msgid "This operation requires a single selected node." -msgstr "此操作只能应用于单个选中节点。" - -#: tools/editor/scene_tree_dock.cpp -msgid "This operation can't be done on instanced scenes." -msgstr "此操作不能应用于实例化的场景。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Save New Scene As.." -msgstr "将新场景另存为.." - -#: tools/editor/scene_tree_dock.cpp -msgid "Makes Sense!" -msgstr "有道理!" - -#: tools/editor/scene_tree_dock.cpp -msgid "Can't operate on nodes from a foreign scene!" -msgstr "无法操作外部场景的节点!" - -#: tools/editor/scene_tree_dock.cpp -msgid "Can't operate on nodes the current scene inherits from!" -msgstr "无法操作此节点,因为当前场景继承自该节点!" - -#: tools/editor/scene_tree_dock.cpp tools/editor/reparent_dialog.cpp -msgid "Reparent Node" -msgstr "重设父节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Remove Node(s)" -msgstr "移除节点" +msgid "Search Replacement For:" +msgstr "搜索替换:" -#: tools/editor/scene_tree_dock.cpp -msgid "Create Node" -msgstr "新节点" +#: tools/editor/dependency_editor.cpp +msgid "Dependencies For:" +msgstr "依赖项:" -#: tools/editor/scene_tree_dock.cpp +#: tools/editor/dependency_editor.cpp msgid "" -"Couldn't save new scene. Likely dependencies (instances) couldn't be " -"satisfied." -msgstr "无法保存场景,场景或其实例的的依赖存在问题。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Error saving scene." -msgstr "保存场景出错。" - -#: tools/editor/scene_tree_dock.cpp -msgid "Error duplicating scene to save it." -msgstr "复制场景出错。" - -#: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "创建场景根节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "继承场景" - -#: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" -msgstr "添加子节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" -msgstr "实例化子场景" - -#: tools/editor/scene_tree_dock.cpp -msgid "Change Type" -msgstr "更改类型" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "编辑分组" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "编辑事件连接" - -#: tools/editor/scene_tree_dock.cpp -msgid "Add Script" -msgstr "添加脚本" - -#: tools/editor/scene_tree_dock.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Move Up" -msgstr "向上移动" - -#: tools/editor/scene_tree_dock.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Move Down" -msgstr "向下移动" - -#: tools/editor/scene_tree_dock.cpp -msgid "Duplicate" -msgstr "拷贝" - -#: tools/editor/scene_tree_dock.cpp -msgid "Reparent" -msgstr "重设父节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Merge From Scene" -msgstr "从场景中合并" - -#: tools/editor/scene_tree_dock.cpp -msgid "Save Branch as Scene" -msgstr "将分支保存为场景" - -#: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "删除节点" - -#: tools/editor/scene_tree_dock.cpp -msgid "Add/Create a New Node" -msgstr "添加/创建节点" +"Scene '%s' is currently being edited.\n" +"Changes will not take effect unless reloaded." +msgstr "场景%s已被修改,重新加载后生效。" -#: tools/editor/scene_tree_dock.cpp +#: tools/editor/dependency_editor.cpp msgid "" -"Instance a scene file as a Node. Creates an inherited scene if no root node " -"exists." -msgstr "实例化场景文件为一个节点,如果没有根节点则创建一个继承自该文件的场景。" - -#: tools/editor/editor_run_script.cpp -msgid "Write your logic in the _run() method." -msgstr "在_run()方中填写您的逻辑代码。" - -#: tools/editor/editor_run_script.cpp -msgid "There is an edited scene already." -msgstr "已经存在一个正在编辑的场景。" - -#: tools/editor/editor_run_script.cpp -msgid "Couldn't instance script:" -msgstr "无法实例化脚本:" - -#: tools/editor/editor_run_script.cpp -msgid "Did you forget the 'tool' keyword?" -msgstr "您是否遗漏了tool关键字?" - -#: tools/editor/editor_run_script.cpp -msgid "Couldn't run script:" -msgstr "无法执行脚本:" - -#: tools/editor/editor_run_script.cpp -msgid "Did you forget the '_run' method?" -msgstr "您是否遗漏了_run()方法?" - -#: tools/editor/multi_node_edit.cpp -msgid "MultiNode Set" -msgstr "" - -#: tools/editor/quick_open.cpp tools/editor/create_dialog.cpp -#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp -msgid "Matches:" -msgstr "匹配项:" - -#: tools/editor/project_manager.cpp -msgid "Invalid project path, the path must exist!" -msgstr "项目目录不存在!" - -#: tools/editor/project_manager.cpp -msgid "Invalid project path, engine.cfg must not exist." -msgstr "项目目录下必须包含engin.cfg文件。" - -#: tools/editor/project_manager.cpp -msgid "Invalid project path, engine.cfg must exist." -msgstr "项目目录下必须包含engin.cfg文件。" - -#: tools/editor/project_manager.cpp -msgid "Imported Project" -msgstr "已导入的项目" - -#: tools/editor/project_manager.cpp -msgid "Invalid project path (changed anything?)." -msgstr "项目路径非法(被外部修改?)。" - -#: tools/editor/project_manager.cpp -msgid "Couldn't create engine.cfg in project path." -msgstr "无法在项目目录下创建engine.cfg文件。" +"Resource '%s' is in use.\n" +"Changes will take effect when reloaded." +msgstr "资源%s正在使用中,修改将在重新加载后生效。" -#: tools/editor/project_manager.cpp -msgid "Import Existing Project" -msgstr "导入现有项目" +#: tools/editor/dependency_editor.cpp +msgid "Dependencies" +msgstr "依赖" -#: tools/editor/project_manager.cpp -msgid "Project Path (Must Exist):" -msgstr "项目目录(必须存在)" +#: tools/editor/dependency_editor.cpp +msgid "Resource" +msgstr "资源" +#: tools/editor/dependency_editor.cpp tools/editor/project_settings.cpp #: tools/editor/project_manager.cpp -msgid "Project Name:" -msgstr "项目名称:" +msgid "Path" +msgstr "路径" -#: tools/editor/project_manager.cpp -msgid "Create New Project" -msgstr "新建项目" +#: tools/editor/dependency_editor.cpp +msgid "Dependencies:" +msgstr "依赖:" -#: tools/editor/project_manager.cpp -msgid "Project Path:" -msgstr "项目目录" +#: tools/editor/dependency_editor.cpp +msgid "Fix Broken" +msgstr "修复依赖" -#: tools/editor/project_manager.cpp -msgid "Browse" -msgstr "浏览" +#: tools/editor/dependency_editor.cpp +msgid "Dependency Editor" +msgstr "依赖编辑器" -#: tools/editor/project_manager.cpp -msgid "New Game Project" -msgstr "新建游戏项目" +#: tools/editor/dependency_editor.cpp +msgid "Search Replacement Resource:" +msgstr "查找替换资源:" -#: tools/editor/project_manager.cpp -msgid "That's a BINGO!" -msgstr "碉堡了!" +#: tools/editor/dependency_editor.cpp +msgid "Owners Of:" +msgstr "拥有者:" -#: tools/editor/project_manager.cpp -msgid "Unnamed Project" -msgstr "未命名项目" +#: tools/editor/dependency_editor.cpp +msgid "" +"The files being removed are required by other resources in order for them to " +"work.\n" +"Remove them anyway? (no undo)" +msgstr "要删除的文件被其他资源所依赖,仍然要删除吗(无法撤销)?" -#: tools/editor/project_manager.cpp -msgid "Are you sure to open more than one projects?" -msgstr "您确定要打开多个项目吗?" +#: tools/editor/dependency_editor.cpp +msgid "Remove selected files from the project? (no undo)" +msgstr "确定从项目中删除文件(此操作无法撤销)?" -#: tools/editor/project_manager.cpp -msgid "Are you sure to run more than one projects?" -msgstr "您确定要执行多个项目吗?" +#: tools/editor/dependency_editor.cpp +msgid "Error loading:" +msgstr "加载出错:" -#: tools/editor/project_manager.cpp -msgid "Remove project from the list? (Folder contents will not be modified)" -msgstr "移除此项目(项目的文件不受影响)" +#: tools/editor/dependency_editor.cpp +msgid "Scene failed to load due to missing dependencies:" +msgstr "加载场景失败,找不到以下依赖项目:" -#: tools/editor/project_manager.cpp -msgid "Recent Projects:" -msgstr "最近打开的项目:" +#: tools/editor/dependency_editor.cpp +msgid "Open Anyway" +msgstr "仍然打开" -#: tools/editor/project_manager.cpp -msgid "Edit" -msgstr "编辑" +#: tools/editor/dependency_editor.cpp +msgid "Which action should be taken?" +msgstr "应采取哪项行动?" -#: tools/editor/project_manager.cpp -msgid "Run" -msgstr "运行" +#: tools/editor/dependency_editor.cpp +msgid "Fix Dependencies" +msgstr "修复依赖项" -#: tools/editor/project_manager.cpp -msgid "Scan" -msgstr "扫描" +#: tools/editor/dependency_editor.cpp +msgid "Errors loading!" +msgstr "加载出错!" -#: tools/editor/project_manager.cpp -msgid "New Project" -msgstr "新建" +#: tools/editor/dependency_editor.cpp +msgid "Permanently delete %d item(s)? (No undo!)" +msgstr "永久删除选中的%d条项目吗(此操作无法撤销!)?" -#: tools/editor/project_manager.cpp -msgid "Remove" -msgstr "移除" +#: tools/editor/dependency_editor.cpp +msgid "Owns" +msgstr "拥有对象" -#: tools/editor/project_manager.cpp -msgid "Exit" -msgstr "退出" +#: tools/editor/dependency_editor.cpp +msgid "Resources Without Explicit Ownership:" +msgstr "没有指定所属关系的资源:" -#: tools/editor/project_manager.cpp -msgid "Name" -msgstr "名称" +#: tools/editor/dependency_editor.cpp tools/editor/editor_node.cpp +msgid "Orphan Resource Explorer" +msgstr "查看孤立资源" -#: tools/editor/project_manager.cpp -msgid "Path" -msgstr "路径" +#: tools/editor/dependency_editor.cpp +msgid "Delete selected files?" +msgstr "删除选中的文件?" -#: tools/editor/create_dialog.cpp -msgid "Create New" -msgstr "新建" +#: tools/editor/dependency_editor.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_node.cpp tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Delete" +msgstr "删除" #: tools/editor/spatial_editor_gizmos.cpp msgid "Change Light Radius" @@ -1816,9 +953,110 @@ msgstr "" msgid "Change Notifier Extents" msgstr "" -#: tools/editor/editor_settings.cpp -msgid "Default (Same as Editor)" -msgstr "默认(与编辑器相同)" +#: tools/editor/script_create_dialog.cpp +msgid "Invalid parent class name" +msgstr "基类名称非法" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid chars:" +msgstr "合法的字符:" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid class name" +msgstr "类名非法" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid name" +msgstr "名称可用" + +#: tools/editor/script_create_dialog.cpp +msgid "N/A" +msgstr "N/A" + +#: tools/editor/script_create_dialog.cpp +msgid "Class name is invalid!" +msgstr "类名非法" + +#: tools/editor/script_create_dialog.cpp +msgid "Parent class name is invalid!" +msgstr "基类名称非法" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid path!" +msgstr "路径非法!" + +#: tools/editor/script_create_dialog.cpp +msgid "Could not create script in filesystem." +msgstr "无法创建脚本。" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is empty" +msgstr "文件路径为空" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is not local" +msgstr "必须是项目路径" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid base path" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "File exists" +msgstr "文件已存在" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid extension" +msgstr "扩展名非法" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid path" +msgstr "路径可用" + +#: tools/editor/script_create_dialog.cpp +msgid "Class Name:" +msgstr "类名:" + +#: tools/editor/script_create_dialog.cpp tools/editor/scene_tree_editor.cpp +#: tools/editor/editor_help.cpp +msgid "Inherits:" +msgstr "基类:" + +#: tools/editor/script_create_dialog.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Language" +msgstr "语言:" + +#: tools/editor/script_create_dialog.cpp tools/editor/property_editor.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Error!" +msgstr "错误!" + +#: tools/editor/script_create_dialog.cpp +msgid "Built-In Script" +msgstr "内置脚本" + +#: tools/editor/script_create_dialog.cpp tools/editor/project_settings.cpp +#: tools/editor/editor_file_dialog.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Path:" +msgstr "路径:" + +#: tools/editor/script_create_dialog.cpp +msgid "Create Node Script" +msgstr "创建脚本" + +#: tools/editor/script_create_dialog.cpp tools/editor/animation_editor.cpp +#: tools/editor/project_manager.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create" +msgstr "创建" #: tools/editor/animation_editor.cpp msgid "Disabled" @@ -1929,6 +1167,10 @@ msgstr "前往下一步" msgid "Goto Prev Step" msgstr "前往上一步" +#: tools/editor/animation_editor.cpp tools/editor/property_editor.cpp +msgid "Linear" +msgstr "线性" + #: tools/editor/animation_editor.cpp #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Constant" @@ -2110,230 +1352,195 @@ msgstr "清除所有动画吗(无法撤销)?" msgid "Clean-Up" msgstr "清理" -#: tools/editor/editor_help.cpp -msgid "Search Classes" -msgstr "搜索类型" - -#: tools/editor/editor_help.cpp -msgid "Class List:" -msgstr "类型列表" - -#: tools/editor/editor_help.cpp -msgid "Inherited by:" -msgstr "派生类:" +#: tools/editor/script_editor_debugger.cpp +msgid "Bytes:" +msgstr "字节:" -#: tools/editor/editor_help.cpp -msgid "Brief Description:" -msgstr "简介:" +#: tools/editor/script_editor_debugger.cpp tools/editor/project_settings.cpp +#: tools/editor/scene_tree_editor.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Type:" +msgstr "类型:" -#: tools/editor/editor_help.cpp -msgid "Public Methods:" -msgstr "公共方法:" +#: tools/editor/script_editor_debugger.cpp +msgid "Warning" +msgstr "警告:" -#: tools/editor/editor_help.cpp -msgid "Members:" -msgstr "成员:" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Error" +msgstr "错误" -#: tools/editor/editor_help.cpp -msgid "GUI Theme Items:" -msgstr "GUI主题:" +#: tools/editor/script_editor_debugger.cpp tools/editor/editor_help.cpp +msgid "Description:" +msgstr "描述:" -#: tools/editor/editor_help.cpp -msgid "Signals:" -msgstr "事件:" +#: tools/editor/script_editor_debugger.cpp tools/editor/editor_profiler.cpp +msgid "Time:" +msgstr "时间:" -#: tools/editor/editor_help.cpp -msgid "Constants:" -msgstr "常量:" +#: tools/editor/script_editor_debugger.cpp +msgid "Error:" +msgstr "错误:" -#: tools/editor/editor_help.cpp -msgid "Method Description:" -msgstr "方法描述:" +#: tools/editor/script_editor_debugger.cpp +msgid "Source:" +msgstr "源:" -#: tools/editor/editor_help.cpp -msgid "Search Text" -msgstr "搜索文本" +#: tools/editor/script_editor_debugger.cpp +msgid "Function:" +msgstr "函数:" -#: tools/editor/editor_help.cpp tools/editor/code_editor.cpp -msgid "Find" -msgstr "查找" +#: tools/editor/script_editor_debugger.cpp +msgid "Errors" +msgstr "错误" -#: tools/editor/editor_dir_dialog.cpp -msgid "Choose a Directory" -msgstr "选择目录" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Debugger" +msgstr "调试器" -#: tools/editor/editor_dir_dialog.cpp -msgid "Choose" -msgstr "选择" +#: tools/editor/script_editor_debugger.cpp +msgid "Child Process Connected" +msgstr "子进程已连接" -#: tools/editor/editor_reimport_dialog.cpp -msgid "Please wait for scan to complete." -msgstr "扫描中,请稍后..." +#: tools/editor/script_editor_debugger.cpp tools/editor/editor_file_dialog.cpp +msgid "File:" +msgstr "文件:" -#: tools/editor/editor_reimport_dialog.cpp -msgid "Current scene must be saved to re-import." -msgstr "需要先保存当前场景才能重新导入。" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Step Into" +msgstr "单步进入" -#: tools/editor/editor_reimport_dialog.cpp -msgid "Save & Re-Import" -msgstr "保存并重新导入" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Step Over" +msgstr "单步跳过" -#: tools/editor/editor_reimport_dialog.cpp -msgid "Re-Import Changed Resources" -msgstr "重新导入改变的资源" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Break" +msgstr "跳过" -#: tools/editor/reparent_dialog.cpp -msgid "Reparent Location (Select new Parent):" -msgstr "重设位置(选择父节点)" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Continue" +msgstr "继续" -#: tools/editor/reparent_dialog.cpp -msgid "Keep Global Transform" -msgstr "保持全局变换" +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Previous Instance" +msgstr "编辑上一个实例" -#: tools/editor/call_dialog.cpp -msgid "Method List For '%s':" -msgstr "%s的方法列表" +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Next Instance" +msgstr "编辑下一个实例" -#: tools/editor/call_dialog.cpp -msgid "Call" -msgstr "调用" +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Frames" +msgstr "" -#: tools/editor/call_dialog.cpp -msgid "Method List:" -msgstr "方法列表:" +#: tools/editor/script_editor_debugger.cpp +msgid "Variable" +msgstr "变量" -#: tools/editor/call_dialog.cpp -msgid "Arguments:" -msgstr "参数:" +#: tools/editor/script_editor_debugger.cpp +msgid "Errors:" +msgstr "错误:" -#: tools/editor/call_dialog.cpp -msgid "Return:" -msgstr "返回:" +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Trace (if applicable):" +msgstr "调用堆栈:" -#: tools/editor/groups_editor.cpp -msgid "Add to Group" -msgstr "添加到分组" +#: tools/editor/script_editor_debugger.cpp +msgid "Remote Inspector" +msgstr "远程属性面板" -#: tools/editor/groups_editor.cpp -msgid "Remove from Group" -msgstr "从分组中移除" +#: tools/editor/script_editor_debugger.cpp +msgid "Monitor" +msgstr "键名" -#: tools/editor/groups_editor.cpp tools/editor/project_export.cpp -msgid "Group Editor" -msgstr "分组编辑" +#: tools/editor/script_editor_debugger.cpp +msgid "Value" +msgstr "值" -#: tools/editor/groups_editor.cpp -msgid "Group" -msgstr "分组" +#: tools/editor/script_editor_debugger.cpp +msgid "List of Video Memory Usage by Resource:" +msgstr "占用显存的资源列表:" -#: tools/editor/groups_editor.cpp -msgid "Add" -msgstr "添加" +#: tools/editor/script_editor_debugger.cpp +msgid "Total:" +msgstr "合计:" -#: tools/editor/groups_editor.cpp -msgid "Node Group(s)" -msgstr "节点分组" +#: tools/editor/script_editor_debugger.cpp +msgid "Video Mem" +msgstr "显存" -#: tools/editor/connections_dialog.cpp -msgid "Method in target Node must be specified!" -msgstr "必须设置方法的对象节点!" +#: tools/editor/script_editor_debugger.cpp +msgid "Resource Path" +msgstr "资源路径" -#: tools/editor/connections_dialog.cpp -msgid "Connect To Node:" -msgstr "连接到节点:" +#: tools/editor/script_editor_debugger.cpp +msgid "Type" +msgstr "类型" -#: tools/editor/connections_dialog.cpp -msgid "Binds (Extra Params):" -msgstr "绑定(附加参数):" +#: tools/editor/script_editor_debugger.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Format" +msgstr "格式" -#: tools/editor/connections_dialog.cpp -msgid "Path To Node:" -msgstr "节点路径:" +#: tools/editor/script_editor_debugger.cpp +msgid "Usage" +msgstr "用量" -#: tools/editor/connections_dialog.cpp -msgid "Method In Node:" -msgstr "节点方法:" +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control:" +msgstr "点击的控件:" -#: tools/editor/connections_dialog.cpp -msgid "Make Function" -msgstr "创建方法" +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control Type:" +msgstr "点击的控件类型:" -#: tools/editor/connections_dialog.cpp -msgid "Deferred" -msgstr "" +#: tools/editor/script_editor_debugger.cpp +msgid "Live Edit Root:" +msgstr "实时编辑根节点:" -#: tools/editor/connections_dialog.cpp -msgid "Oneshot" -msgstr "" +#: tools/editor/script_editor_debugger.cpp +msgid "Set From Tree" +msgstr "从场景树设置" -#: tools/editor/connections_dialog.cpp -msgid "Connect" -msgstr "连接" +#: tools/editor/import_settings.cpp +msgid "Imported Resources" +msgstr "已导入的资源" -#: tools/editor/connections_dialog.cpp -msgid "Connect '%s' to '%s'" -msgstr "连接'%s'到'%s'" +#: tools/editor/import_settings.cpp tools/editor/editor_reimport_dialog.cpp +#: tools/editor/editor_node.cpp +msgid "Re-Import" +msgstr "重新导入" -#: tools/editor/connections_dialog.cpp -msgid "Create Subscription" +#: tools/editor/multi_node_edit.cpp +msgid "MultiNode Set" msgstr "" -#: tools/editor/connections_dialog.cpp -msgid "Connect.." -msgstr "连接事件" - -#: tools/editor/connections_dialog.cpp -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Disconnect" -msgstr "删除事件连接" - -#: tools/editor/connections_dialog.cpp -msgid "Edit Connections.." -msgstr "编辑事件连接" - -#: tools/editor/connections_dialog.cpp -msgid "Connections:" -msgstr "事件:" - -#: tools/editor/editor_profiler.cpp -msgid "Stop Profiling" -msgstr "停止" - -#: tools/editor/editor_profiler.cpp -msgid "Start Profiling" -msgstr "开始" - -#: tools/editor/editor_profiler.cpp -msgid "Measure:" -msgstr "测量:" - -#: tools/editor/editor_profiler.cpp -msgid "Frame Time (sec)" -msgstr "帧时间(秒)" - -#: tools/editor/editor_profiler.cpp -msgid "Average Time (sec)" -msgstr "平均帧时间(秒)" - -#: tools/editor/editor_profiler.cpp -msgid "Frame %" -msgstr "渲染速度" +#: tools/editor/run_settings_dialog.cpp +msgid "Run Mode:" +msgstr "运行模式:" -#: tools/editor/editor_profiler.cpp -msgid "Fixed Frame %" -msgstr "物理速度" +#: tools/editor/run_settings_dialog.cpp +msgid "Current Scene" +msgstr "当前场景" -#: tools/editor/editor_profiler.cpp -msgid "Inclusive" -msgstr "" +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene" +msgstr "主场景" -#: tools/editor/editor_profiler.cpp -msgid "Self" -msgstr "" +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene Arguments:" +msgstr "主场景参数:" -#: tools/editor/editor_profiler.cpp -msgid "Frame #:" -msgstr "帧序号:" +#: tools/editor/run_settings_dialog.cpp +msgid "Scene Run Settings" +msgstr "场景运行设置" #: tools/editor/project_settings.cpp msgid "Invalid action (anything goes but '/' or ':')." @@ -2543,9 +1750,13 @@ msgstr "启用" msgid "Project Settings (engine.cfg)" msgstr "项目设置(engine.cfg)" -#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp -msgid "General" -msgstr "一般" +#: tools/editor/project_settings.cpp tools/editor/addon_editor_plugin.cpp +msgid "Category:" +msgstr "分类:" + +#: tools/editor/project_settings.cpp tools/editor/property_editor.cpp +msgid "Property:" +msgstr "属性:" #: tools/editor/project_settings.cpp msgid "Del" @@ -2615,10 +1826,255 @@ msgstr "节点名称:" msgid "List:" msgstr "列表:" +#: tools/editor/project_settings.cpp tools/editor/project_manager.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Name" +msgstr "名称" + #: tools/editor/project_settings.cpp msgid "Singleton" msgstr "单例" +#: tools/editor/scene_tree_editor.cpp +msgid "" +"This item cannot be made visible because the parent is hidden. Unhide the " +"parent first." +msgstr "无法显示此节点,请先取消隐藏其父节点。" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle Spatial Visible" +msgstr "切换Spatial可见" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle CanvasItem Visible" +msgstr "切换CanvasItem可见" + +#: tools/editor/scene_tree_editor.cpp +msgid "Instance:" +msgstr "实例:" + +#: tools/editor/scene_tree_editor.cpp +msgid "Invalid node name, the following characters are not allowed:" +msgstr "节点名称非法,不允许包含以下字符:" + +#: tools/editor/scene_tree_editor.cpp +msgid "Rename Node" +msgstr "重命名节点" + +#: tools/editor/scene_tree_editor.cpp +msgid "Scene Tree (Nodes):" +msgstr "场景树:" + +#: tools/editor/scene_tree_editor.cpp +msgid "Editable Children" +msgstr "允许编辑子孙节点" + +#: tools/editor/scene_tree_editor.cpp +msgid "Load As Placeholder" +msgstr "加载为占位符" + +#: tools/editor/scene_tree_editor.cpp +msgid "Open in Editor" +msgstr "在编辑器中打开" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance" +msgstr "清除继承" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance? (No Undo!)" +msgstr "确定要清除继承吗(无法撤销!)?" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear!" +msgstr "清除!" + +#: tools/editor/scene_tree_editor.cpp +msgid "Select a Node" +msgstr "选择一个节点" + +#: tools/editor/editor_profiler.cpp +msgid "Stop Profiling" +msgstr "停止" + +#: tools/editor/editor_profiler.cpp +msgid "Start Profiling" +msgstr "开始" + +#: tools/editor/editor_profiler.cpp +msgid "Measure:" +msgstr "测量:" + +#: tools/editor/editor_profiler.cpp +msgid "Frame Time (sec)" +msgstr "帧时间(秒)" + +#: tools/editor/editor_profiler.cpp +msgid "Average Time (sec)" +msgstr "平均帧时间(秒)" + +#: tools/editor/editor_profiler.cpp +msgid "Frame %" +msgstr "渲染速度" + +#: tools/editor/editor_profiler.cpp +msgid "Fixed Frame %" +msgstr "物理速度" + +#: tools/editor/editor_profiler.cpp +msgid "Inclusive" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Self" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame #:" +msgstr "帧序号:" + +#: tools/editor/quick_open.cpp tools/editor/editor_help.cpp +#: tools/editor/create_dialog.cpp tools/editor/plugins/script_editor_plugin.cpp +msgid "Matches:" +msgstr "匹配项:" + +#: tools/editor/quick_open.cpp tools/editor/scenes_dock.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/editor_help.cpp tools/editor/plugins/script_editor_plugin.cpp +msgid "Open" +msgstr "打开" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Please wait for scan to complete." +msgstr "扫描中,请稍后..." + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Current scene must be saved to re-import." +msgstr "需要先保存当前场景才能重新导入。" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Save & Re-Import" +msgstr "保存并重新导入" + +#: tools/editor/editor_reimport_dialog.cpp tools/editor/editor_node.cpp +msgid "Re-Importing" +msgstr "重新导入" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Re-Import Changed Resources" +msgstr "重新导入改变的资源" + +#: tools/editor/resources_dock.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Error saving resource!" +msgstr "保存资源出错!" + +#: tools/editor/resources_dock.cpp +msgid "Create New Resource" +msgstr "创建资源" + +#: tools/editor/resources_dock.cpp +msgid "Open Resource" +msgstr "打开资源" + +#: tools/editor/resources_dock.cpp +msgid "Save Resource" +msgstr "保存资源" + +#: tools/editor/resources_dock.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save Resource As.." +msgstr "资源另存为.." + +#: tools/editor/resources_dock.cpp +msgid "Resource Tools" +msgstr "资源工具" + +#: tools/editor/resources_dock.cpp +msgid "Make Local" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Write your logic in the _run() method." +msgstr "在_run()方中填写您的逻辑代码。" + +#: tools/editor/editor_run_script.cpp +msgid "There is an edited scene already." +msgstr "已经存在一个正在编辑的场景。" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't instance script:" +msgstr "无法实例化脚本:" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the 'tool' keyword?" +msgstr "您是否遗漏了tool关键字?" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't run script:" +msgstr "无法执行脚本:" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the '_run' method?" +msgstr "您是否遗漏了_run()方法?" + +#: tools/editor/editor_data.cpp +msgid "Updating Scene" +msgstr "更新场景" + +#: tools/editor/editor_data.cpp +msgid "Storing local changes.." +msgstr "保存修改中.." + +#: tools/editor/editor_data.cpp +msgid "Updating scene.." +msgstr "更新场景中.." + +#: tools/editor/file_type_cache.cpp +msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" +msgstr "无法以可写方式打开file_type_cache.cch!" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent Node" +msgstr "重设父节点" + +#: tools/editor/reparent_dialog.cpp +msgid "Reparent Location (Select new Parent):" +msgstr "重设位置(选择父节点)" + +#: tools/editor/reparent_dialog.cpp +msgid "Keep Global Transform" +msgstr "保持全局变换" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent" +msgstr "重设父节点" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Installed Plugins:" +msgstr "已安装插件:" + +#: tools/editor/editor_plugin_settings.cpp tools/editor/editor_node.cpp +msgid "Update" +msgstr "更新" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Version:" +msgstr "版本" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Author:" +msgstr "作者" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Status:" +msgstr "状态" + +#: tools/editor/scenes_dock.cpp tools/editor/editor_file_dialog.cpp +msgid "Favorites:" +msgstr "收藏:" + #: tools/editor/scenes_dock.cpp msgid "Same source and destination files, doing nothing." msgstr "源文件和目标文件相同,操作忽略。" @@ -2651,7 +2107,7 @@ msgstr "创建实例节点" msgid "Edit Dependencies.." msgstr "编辑依赖.." -#: tools/editor/scenes_dock.cpp tools/editor/plugins/spatial_editor_plugin.cpp +#: tools/editor/scenes_dock.cpp msgid "View Owners.." msgstr "查看所有者" @@ -2671,6 +2127,10 @@ msgstr "信息" msgid "Show In File Manager" msgstr "在资源管理器中打开" +#: tools/editor/scenes_dock.cpp tools/editor/editor_node.cpp +msgid "Re-Import.." +msgstr "重新导入.." + #: tools/editor/scenes_dock.cpp msgid "Previous Directory" msgstr "上一个目录:" @@ -2695,1212 +2155,1345 @@ msgstr "将选中的场景实例为选中节点的子节点。" msgid "Move" msgstr "移动" -#: tools/editor/code_editor.cpp -msgid "Go to Line" -msgstr "转到行" +#: tools/editor/editor_import_export.cpp +msgid "Added:" +msgstr "已添加:" -#: tools/editor/code_editor.cpp -msgid "Line Number:" -msgstr "行号:" +#: tools/editor/editor_import_export.cpp +msgid "Removed:" +msgstr "已移除:" -#: tools/editor/code_editor.cpp -msgid "Replace" -msgstr "替换" +#: tools/editor/editor_import_export.cpp +msgid "Could not save atlas subtexture:" +msgstr "无法保存精灵集子贴图:" -#: tools/editor/code_editor.cpp -msgid "Next" -msgstr "下一项" +#: tools/editor/editor_import_export.cpp +msgid "Storing File:" +msgstr "文件排序:" -#: tools/editor/code_editor.cpp -msgid "Replaced %d ocurrence(s)." -msgstr "" +#: tools/editor/editor_import_export.cpp +msgid "Packing" +msgstr "打包中" -#: tools/editor/code_editor.cpp -msgid "Not found!" -msgstr "未找到!" +#: tools/editor/editor_import_export.cpp +msgid "Exporting for %s" +msgstr "正在导出 %s" -#: tools/editor/code_editor.cpp -msgid "Replace By" -msgstr "替换" +#: tools/editor/editor_import_export.cpp +msgid "Setting Up.." +msgstr "配置.." -#: tools/editor/code_editor.cpp -msgid "Whole Words" -msgstr "" +#: tools/editor/editor_settings.cpp +msgid "Default (Same as Editor)" +msgstr "默认(与编辑器相同)" -#: tools/editor/code_editor.cpp -msgid "Case Sensitive" -msgstr "区分大小写" +#: tools/editor/editor_file_dialog.cpp +msgid "File Exists, Overwrite?" +msgstr "文件已存在,确定要覆盖它吗?" -#: tools/editor/code_editor.cpp -msgid "Backwards" -msgstr "向后" +#: tools/editor/editor_file_dialog.cpp +msgid "All Recognized" +msgstr "所有可用类型" -#: tools/editor/code_editor.cpp -msgid "Prompt On Replace" -msgstr "更换时提示" +#: tools/editor/editor_file_dialog.cpp +msgid "All Files (*)" +msgstr "所有文件(*)" -#: tools/editor/code_editor.cpp -msgid "Selection Only" -msgstr "仅选中" +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save" +msgstr "保存" -#: tools/editor/code_editor.cpp -msgid "Skip" -msgstr "跳过" +#: tools/editor/editor_file_dialog.cpp +msgid "Save a File" +msgstr "保存文件" -#: tools/editor/code_editor.cpp -msgid "Col:" -msgstr "列:" +#: tools/editor/editor_file_dialog.cpp +msgid "Recent:" +msgstr "最近文件:" -#: tools/editor/settings_config_dialog.cpp -msgid "Plugin List:" -msgstr "插件列表" +#: tools/editor/editor_file_dialog.cpp +msgid "Directories & Files:" +msgstr "目录|文件:" -#: tools/editor/dependency_editor.cpp -msgid "Search Replacement For:" -msgstr "搜索替换:" +#: tools/editor/editor_file_dialog.cpp +msgid "Preview:" +msgstr "预览" -#: tools/editor/dependency_editor.cpp -msgid "Dependencies For:" -msgstr "依赖项:" +#: tools/editor/editor_file_dialog.cpp +msgid "Filter:" +msgstr "筛选:" -#: tools/editor/dependency_editor.cpp -msgid "" -"Scene '%s' is currently being edited.\n" -"Changes will not take effect unless reloaded." -msgstr "场景%s已被修改,重新加载后生效。" +#: tools/editor/editor_file_dialog.cpp +msgid "Must use a valid extension." +msgstr "必须使用合法的拓展名。" -#: tools/editor/dependency_editor.cpp -msgid "" -"Resource '%s' is in use.\n" -"Changes will take effect when reloaded." -msgstr "资源%s正在使用中,修改将在重新加载后生效。" +#: tools/editor/groups_editor.cpp +msgid "Add to Group" +msgstr "添加到分组" -#: tools/editor/dependency_editor.cpp -msgid "Dependencies" -msgstr "依赖" +#: tools/editor/groups_editor.cpp +msgid "Remove from Group" +msgstr "从分组中移除" -#: tools/editor/dependency_editor.cpp -msgid "Resource" -msgstr "资源" +#: tools/editor/groups_editor.cpp +msgid "Group Editor" +msgstr "分组编辑" -#: tools/editor/dependency_editor.cpp -msgid "Dependencies:" -msgstr "依赖:" +#: tools/editor/groups_editor.cpp +msgid "Node Group(s)" +msgstr "节点分组" -#: tools/editor/dependency_editor.cpp -msgid "Fix Broken" -msgstr "修复依赖" +#: tools/editor/property_editor.cpp +msgid "Preset.." +msgstr "预设.." -#: tools/editor/dependency_editor.cpp -msgid "Dependency Editor" -msgstr "依赖编辑器" +#: tools/editor/property_editor.cpp +msgid "Ease In" +msgstr "慢速开始" -#: tools/editor/dependency_editor.cpp -msgid "Search Replacement Resource:" -msgstr "查找替换资源:" +#: tools/editor/property_editor.cpp +msgid "Ease Out" +msgstr "慢速结束" -#: tools/editor/dependency_editor.cpp -msgid "Owners Of:" -msgstr "拥有者:" +#: tools/editor/property_editor.cpp +msgid "Zero" +msgstr "" -#: tools/editor/dependency_editor.cpp -msgid "" -"The files being removed are required by other resources in order for them to " -"work.\n" -"Remove them anyway? (no undo)" -msgstr "要删除的文件被其他资源所依赖,仍然要删除吗(无法撤销)?" +#: tools/editor/property_editor.cpp +msgid "Easing In-Out" +msgstr "慢速开始和结束" -#: tools/editor/dependency_editor.cpp -msgid "Remove selected files from the project? (no undo)" -msgstr "确定从项目中删除文件(此操作无法撤销)?" +#: tools/editor/property_editor.cpp +msgid "Easing Out-In" +msgstr "" -#: tools/editor/dependency_editor.cpp -msgid "Error loading:" -msgstr "加载出错:" +#: tools/editor/property_editor.cpp +msgid "File.." +msgstr "文件.." -#: tools/editor/dependency_editor.cpp -msgid "Scene failed to load due to missing dependencies:" -msgstr "加载场景失败,找不到以下依赖项目:" +#: tools/editor/property_editor.cpp +msgid "Dir.." +msgstr "目录.." -#: tools/editor/dependency_editor.cpp -msgid "Open Anyway" -msgstr "仍然打开" +#: tools/editor/property_editor.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "New" +msgstr "新建" -#: tools/editor/dependency_editor.cpp -msgid "Which action should be taken?" -msgstr "应采取哪项行动?" +#: tools/editor/property_editor.cpp +msgid "Load" +msgstr "加载" -#: tools/editor/dependency_editor.cpp -msgid "Fix Dependencies" -msgstr "修复依赖项" +#: tools/editor/property_editor.cpp +msgid "Assign" +msgstr "" -#: tools/editor/dependency_editor.cpp -msgid "Errors loading!" -msgstr "加载出错!" +#: tools/editor/property_editor.cpp +msgid "Error loading file: Not a resource!" +msgstr "加载文件出错:不是资源文件!" -#: tools/editor/dependency_editor.cpp -msgid "Permanently delete %d item(s)? (No undo!)" -msgstr "永久删除选中的%d条项目吗(此操作无法撤销!)?" +#: tools/editor/property_editor.cpp +msgid "Couldn't load image" +msgstr "无法加载图片" -#: tools/editor/dependency_editor.cpp -msgid "Owns" -msgstr "拥有对象" +#: tools/editor/property_editor.cpp +msgid "Bit %d, val %d." +msgstr "" -#: tools/editor/dependency_editor.cpp -msgid "Resources Without Explicit Ownership:" -msgstr "没有指定所属关系的资源:" +#: tools/editor/property_editor.cpp tools/editor/editor_help.cpp +msgid "Class:" +msgstr "类:" -#: tools/editor/dependency_editor.cpp -msgid "Delete selected files?" -msgstr "删除选中的文件?" +#: tools/editor/property_editor.cpp +msgid "On" +msgstr "启用" -#: tools/editor/editor_file_system.cpp -msgid "Cannot go into subdir:" -msgstr "无法打开目录:" +#: tools/editor/property_editor.cpp +msgid "Set" +msgstr "设置" -#: tools/editor/editor_file_system.cpp -msgid "ScanSources" +#: tools/editor/property_editor.cpp +msgid "Properties:" +msgstr "属性:" + +#: tools/editor/property_editor.cpp +msgid "Global" +msgstr "全局" + +#: tools/editor/property_editor.cpp +msgid "Sections:" +msgstr "选项:" + +#: tools/editor/addon_editor_plugin.cpp tools/editor/editor_node.cpp +#: tools/editor/project_manager.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Import" +msgstr "导入" + +#: tools/editor/addon_editor_plugin.cpp +msgid "Sort:" +msgstr "排序:" + +#: tools/editor/addon_editor_plugin.cpp +msgid "Reverse" +msgstr "反选" + +#: tools/editor/addon_editor_plugin.cpp +msgid "All" +msgstr "全部" + +#: tools/editor/addon_editor_plugin.cpp +msgid "Site:" +msgstr "站点:" + +#: tools/editor/addon_editor_plugin.cpp +msgid "Assets ZIP File" msgstr "" -#: tools/editor/run_settings_dialog.cpp -msgid "Run Mode:" -msgstr "运行模式:" +#: tools/editor/editor_node.cpp +msgid "Importing:" +msgstr "导入:" -#: tools/editor/run_settings_dialog.cpp -msgid "Current Scene" -msgstr "当前场景" +#: tools/editor/editor_node.cpp +msgid "Node From Scene" +msgstr "" -#: tools/editor/run_settings_dialog.cpp -msgid "Main Scene" -msgstr "主场景" +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "I see.." +msgstr "好吧.." -#: tools/editor/run_settings_dialog.cpp -msgid "Main Scene Arguments:" -msgstr "主场景参数:" +#: tools/editor/editor_node.cpp +msgid "Can't open file for writing:" +msgstr "无法以可写模式打开文件:" -#: tools/editor/run_settings_dialog.cpp -msgid "Scene Run Settings" -msgstr "场景运行设置" +#: tools/editor/editor_node.cpp +msgid "Requested file format unknown:" +msgstr "未知的文件类型请求:" -#: tools/editor/resources_dock.cpp -msgid "Create New Resource" -msgstr "创建资源" +#: tools/editor/editor_node.cpp +msgid "Error while saving." +msgstr "保存出错。" -#: tools/editor/resources_dock.cpp -msgid "Open Resource" -msgstr "打开资源" +#: tools/editor/editor_node.cpp +msgid "Saving Scene" +msgstr "正在保存场景" -#: tools/editor/resources_dock.cpp -msgid "Save Resource" -msgstr "保存资源" +#: tools/editor/editor_node.cpp +msgid "Analyzing" +msgstr "正在分析" -#: tools/editor/resources_dock.cpp -msgid "Resource Tools" -msgstr "资源工具" +#: tools/editor/editor_node.cpp +msgid "Creating Thumbnail" +msgstr "" -#: tools/editor/resources_dock.cpp -msgid "Make Local" +#: tools/editor/editor_node.cpp +msgid "" +"Couldn't save scene. Likely dependencies (instances) couldn't be satisfied." +msgstr "无法保存场景,依赖项(实例)验证失败。" + +#: tools/editor/editor_node.cpp +msgid "Failed to load resource." +msgstr "加载资源失败。" + +#: tools/editor/editor_node.cpp +msgid "Can't load MeshLibrary for merging!" msgstr "" -#: tools/editor/project_export.cpp -msgid "Edit Script Options" -msgstr "脚本编辑器选项" +#: tools/editor/editor_node.cpp +msgid "Error saving MeshLibrary!" +msgstr "" -#: tools/editor/project_export.cpp -msgid "Please export outside the project folder!" -msgstr "请导出到项目目录之外!" +#: tools/editor/editor_node.cpp +msgid "Can't load TileSet for merging!" +msgstr "无法加载要合并的砖块集!" -#: tools/editor/project_export.cpp -msgid "Error exporting project!" -msgstr "导出项目出错!" +#: tools/editor/editor_node.cpp +msgid "Error saving TileSet!" +msgstr "保存砖块集失败!" -#: tools/editor/project_export.cpp -msgid "Error writing the project PCK!" -msgstr "写入项目PCK文件出错!" +#: tools/editor/editor_node.cpp +msgid "Can't open export templates zip." +msgstr "无法打开ZIP导出模板" -#: tools/editor/project_export.cpp -msgid "No exporter for platform '%s' yet." -msgstr "没有针对'%s'平台的导出模板。" +#: tools/editor/editor_node.cpp +msgid "Loading Export Templates" +msgstr "正在加载导出模板" -#: tools/editor/project_export.cpp -msgid "Include" -msgstr "包含" +#: tools/editor/editor_node.cpp +msgid "Error trying to save layout!" +msgstr "保存布局出错!" -#: tools/editor/project_export.cpp -msgid "Change Image Group" -msgstr "修改图片分组" +#: tools/editor/editor_node.cpp +msgid "Default editor layout overridden." +msgstr "覆盖编辑器默认布局。" -#: tools/editor/project_export.cpp -msgid "Group name can't be empty!" -msgstr "分组名称不能为空!" +#: tools/editor/editor_node.cpp +msgid "Layout name not found!" +msgstr "布局名称未找到!" -#: tools/editor/project_export.cpp -msgid "Invalid character in group name!" -msgstr "分组名称中包含非法字符!" +#: tools/editor/editor_node.cpp +msgid "Restored default layout to base settings." +msgstr "重置为默认布局设置。" -#: tools/editor/project_export.cpp -msgid "Group name already exists!" -msgstr "分组名称已存在!" +#: tools/editor/editor_node.cpp +msgid "Copy Params" +msgstr "拷贝参数" -#: tools/editor/project_export.cpp -msgid "Add Image Group" -msgstr "添加图片分组" +#: tools/editor/editor_node.cpp +msgid "Set Params" +msgstr "设置参数" -#: tools/editor/project_export.cpp -msgid "Delete Image Group" -msgstr "删除图片分组" +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Paste Resource" +msgstr "粘贴资源" -#: tools/editor/project_export.cpp -msgid "Atlas Preview" -msgstr "预览精灵集" +#: tools/editor/editor_node.cpp +msgid "Copy Resource" +msgstr "拷贝资源" -#: tools/editor/project_export.cpp -msgid "Project Export Settings" -msgstr "项目导出设置" +#: tools/editor/editor_node.cpp +msgid "Make Built-In" +msgstr "" -#: tools/editor/project_export.cpp -msgid "Target" -msgstr "平台" +#: tools/editor/editor_node.cpp +msgid "Make Sub-Resources Unique" +msgstr "" -#: tools/editor/project_export.cpp -msgid "Export to Platform" -msgstr "导出到平台" +#: tools/editor/editor_node.cpp +msgid "There is no defined scene to run." +msgstr "没有设置要执行的场景。" -#: tools/editor/project_export.cpp tools/editor/plugins/theme_editor_plugin.cpp -msgid "Options" -msgstr "选项" +#: tools/editor/editor_node.cpp +msgid "Current scene was never saved, please save it prior to running." +msgstr "当前场景尚未保存,请保存后再尝试执行。" -#: tools/editor/project_export.cpp -msgid "Resources" -msgstr "资源" +#: tools/editor/editor_node.cpp +msgid "Could not start subprocess!" +msgstr "无法启动子进程!" -#: tools/editor/project_export.cpp -msgid "Export selected resources (including dependencies)." -msgstr "导出选中的资源(包括其依赖资源)" +#: tools/editor/editor_node.cpp +msgid "Open Scene" +msgstr "打开场景" -#: tools/editor/project_export.cpp -msgid "Export all resources in the project." -msgstr "导出项目中的所有资源" +#: tools/editor/editor_node.cpp +msgid "Open Base Scene" +msgstr "" -#: tools/editor/project_export.cpp -msgid "Export all files in the project directory." -msgstr "导出项目目录下的所有文件" +#: tools/editor/editor_node.cpp +msgid "Quick Open Scene.." +msgstr "快速打开场景.." -#: tools/editor/project_export.cpp -msgid "Export Mode:" -msgstr "导出模式:" +#: tools/editor/editor_node.cpp +msgid "Quick Open Script.." +msgstr "快速打开脚本.." -#: tools/editor/project_export.cpp -msgid "Resources to Export:" -msgstr "导出的资源:" +#: tools/editor/editor_node.cpp +msgid "Yes" +msgstr "是" -#: tools/editor/project_export.cpp -msgid "File" -msgstr "文件" +#: tools/editor/editor_node.cpp +msgid "Close scene? (Unsaved changes will be lost)" +msgstr "确定要关闭场景吗,未保存的修改将丢失?" -#: tools/editor/project_export.cpp -msgid "Action" -msgstr "动作" +#: tools/editor/editor_node.cpp +msgid "Save Scene As.." +msgstr "场景另存为" -#: tools/editor/project_export.cpp -msgid "" -"Filters to export non-resource files (comma-separated, e.g.: *.json, *.txt):" -msgstr "导出非资源文件筛选(使用英文逗号分隔,如:*.json,*.txt):" +#: tools/editor/editor_node.cpp +msgid "This scene has never been saved. Save before running?" +msgstr "此场景尚未保存,要在运行之前保存它吗?" -#: tools/editor/project_export.cpp -msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" -msgstr "排除导出的非资源文件筛选(使用英文逗号分隔,如:*.json,*.txt):" +#: tools/editor/editor_node.cpp +msgid "Please save the scene first." +msgstr "请先保存场景。" -#: tools/editor/project_export.cpp -msgid "Convert text scenes to binary on export." -msgstr "导出时将文本场景写入二进制文件。" +#: tools/editor/editor_node.cpp +msgid "Save Translatable Strings" +msgstr "保存可翻译字符串" -#: tools/editor/project_export.cpp -msgid "Images" -msgstr "图片" +#: tools/editor/editor_node.cpp +msgid "Export Mesh Library" +msgstr "" -#: tools/editor/project_export.cpp -msgid "Keep Original" -msgstr "保持原样" +#: tools/editor/editor_node.cpp +msgid "Export Tile Set" +msgstr "导出砖块集" -#: tools/editor/project_export.cpp -msgid "Compress for Disk (Lossy, WebP)" -msgstr "节省磁盘空间(有损压缩,WebP)" +#: tools/editor/editor_node.cpp +msgid "Quit" +msgstr "退出" -#: tools/editor/project_export.cpp -msgid "Compress for RAM (BC/PVRTC/ETC)" -msgstr "节省内存(BC/PVRTC/ETC)" +#: tools/editor/editor_node.cpp +msgid "Exit the editor?" +msgstr "确定要退出编辑器吗?" -#: tools/editor/project_export.cpp -msgid "Convert Images (*.png):" -msgstr "转换图片(*.png):" +#: tools/editor/editor_node.cpp +msgid "Current scene not saved. Open anyway?" +msgstr "当前场景尚未保存,仍要打开?" -#: tools/editor/project_export.cpp -msgid "Compress for Disk (Lossy) Quality:" -msgstr "高质量(有损)节省磁盘空间" +#: tools/editor/editor_node.cpp +msgid "Can't reload a scene that was never saved." +msgstr "无法重新加载未保存的场景。" -#: tools/editor/project_export.cpp -msgid "Shrink All Images:" -msgstr "收缩所有图片:" +#: tools/editor/editor_node.cpp +msgid "Revert" +msgstr "恢复" -#: tools/editor/project_export.cpp -msgid "Compress Formats:" -msgstr "压缩格式:" +#: tools/editor/editor_node.cpp +msgid "This action cannot be undone. Revert anyway?" +msgstr "此操作无法撤销,确定要继续吗?" -#: tools/editor/project_export.cpp -msgid "Image Groups" -msgstr "图片分组" +#: tools/editor/editor_node.cpp +msgid "Quick Run Scene.." +msgstr "快速运行场景" -#: tools/editor/project_export.cpp -msgid "Groups:" -msgstr "分组:" +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "Ugh" +msgstr "额" -#: tools/editor/project_export.cpp -msgid "Compress Disk" -msgstr "节省磁盘空间" +#: tools/editor/editor_node.cpp +msgid "" +"Error loading scene, it must be inside the project path. Use 'Import' to open " +"the scene, then save it inside the project path." +msgstr "" +"加载场景出错,场景必须放在项目目录下。请尝试使用'导入'菜单导入此场景后再试。" -#: tools/editor/project_export.cpp -msgid "Compress RAM" -msgstr "节省内存" +#: tools/editor/editor_node.cpp +msgid "Error loading scene." +msgstr "加载场景出错。" -#: tools/editor/project_export.cpp -msgid "Compress Mode:" -msgstr "压缩方式:" +#: tools/editor/editor_node.cpp +msgid "Scene '%s' has broken dependencies:" +msgstr "场景%s的依赖已被破坏:" -#: tools/editor/project_export.cpp -msgid "Lossy Quality:" -msgstr "图片质量:" +#: tools/editor/editor_node.cpp +msgid "Save Layout" +msgstr "保存布局" -#: tools/editor/project_export.cpp -msgid "Atlas:" -msgstr "精灵集:" +#: tools/editor/editor_node.cpp +msgid "Delete Layout" +msgstr "删除布局" -#: tools/editor/project_export.cpp -msgid "Shrink By:" -msgstr "收缩方式:" +#: tools/editor/editor_node.cpp +msgid "Switch Scene Tab" +msgstr "切换场景标签页" -#: tools/editor/project_export.cpp -msgid "Preview Atlas" -msgstr "精灵集预览:" +#: tools/editor/editor_node.cpp +msgid "%d more file(s)" +msgstr "更多的%d个文件" -#: tools/editor/project_export.cpp -msgid "Image Filter:" -msgstr "纹理过滤:\t\t" +#: tools/editor/editor_node.cpp +msgid "%d more file(s) or folder(s)" +msgstr "更多的%d个文件或目录" -#: tools/editor/project_export.cpp -msgid "Images:" -msgstr "图片" +#: tools/editor/editor_node.cpp +msgid "Scene" +msgstr "场景" -#: tools/editor/project_export.cpp -msgid "Select None" -msgstr "取消选择" +#: tools/editor/editor_node.cpp +msgid "Go to previously opened scene." +msgstr "前往上一个打开的场景。" -#: tools/editor/project_export.cpp -msgid "Samples" -msgstr "音效" +#: tools/editor/editor_node.cpp +msgid "Operations with scene files." +msgstr "操作场景文件。" -#: tools/editor/project_export.cpp -msgid "Sample Conversion Mode: (.wav files):" -msgstr "音效转换方式(.wav文件):" +#: tools/editor/editor_node.cpp +msgid "New Scene" +msgstr "新建场景" -#: tools/editor/project_export.cpp -msgid "Keep" -msgstr "保持不变" +#: tools/editor/editor_node.cpp +msgid "New Inherited Scene.." +msgstr "从现有场景中创建.." -#: tools/editor/project_export.cpp -msgid "Compress (RAM - IMA-ADPCM)" -msgstr "压缩(RAM - IMA-ADPCM)" +#: tools/editor/editor_node.cpp +msgid "Open Scene.." +msgstr "打开场景" -#: tools/editor/project_export.cpp -msgid "Sampling Rate Limit (Hz):" -msgstr "采样率(Hz):" +#: tools/editor/editor_node.cpp +msgid "Save Scene" +msgstr "保存场景" -#: tools/editor/project_export.cpp -msgid "Trim" -msgstr "修剪" +#: tools/editor/editor_node.cpp +msgid "Close Scene" +msgstr "关闭场景" -#: tools/editor/project_export.cpp -msgid "Trailing Silence:" +#: tools/editor/editor_node.cpp +msgid "Close Goto Prev. Scene" +msgstr "关闭并前往上一个场景" + +#: tools/editor/editor_node.cpp +msgid "Open Recent" +msgstr "最近打开" + +#: tools/editor/editor_node.cpp +msgid "Quick Search File.." +msgstr "快速查找文件.." + +#: tools/editor/editor_node.cpp +msgid "Convert To.." +msgstr "转换为.." + +#: tools/editor/editor_node.cpp +msgid "Translatable Strings.." +msgstr "可翻译字符串" + +#: tools/editor/editor_node.cpp +msgid "MeshLibrary.." msgstr "" -#: tools/editor/project_export.cpp -msgid "Script" -msgstr "脚本" +#: tools/editor/editor_node.cpp +msgid "TileSet.." +msgstr "砖块集.." -#: tools/editor/project_export.cpp -msgid "Script Export Mode:" -msgstr "脚本导出方式:" +#: tools/editor/editor_node.cpp tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Redo" +msgstr "重做" -#: tools/editor/project_export.cpp -msgid "Text" -msgstr "文本" +#: tools/editor/editor_node.cpp +msgid "Run Script" +msgstr "运行脚本" -#: tools/editor/project_export.cpp -msgid "Compiled" -msgstr "编译" +#: tools/editor/editor_node.cpp +msgid "Project Settings" +msgstr "项目设置" -#: tools/editor/project_export.cpp -msgid "Encrypted (Provide Key Below)" -msgstr "使用下列密码加密" +#: tools/editor/editor_node.cpp +msgid "Revert Scene" +msgstr "恢复场景" -#: tools/editor/project_export.cpp -msgid "Script Encryption Key (256-bits as hex):" -msgstr "脚本密匙(256位16进制码)" +#: tools/editor/editor_node.cpp +msgid "Quit to Project List" +msgstr "退出到项目列表" -#: tools/editor/project_export.cpp -msgid "Export PCK/Zip" -msgstr "导出 PCK/ZIP" +#: tools/editor/editor_node.cpp +msgid "Import assets to the project." +msgstr "导入资源" -#: tools/editor/project_export.cpp -msgid "Export Project PCK" -msgstr "导出项目PCK文件" +#: tools/editor/editor_node.cpp +msgid "Miscellaneous project or scene-wide tools." +msgstr "" -#: tools/editor/project_export.cpp -msgid "Export.." -msgstr "导出.." +#: tools/editor/editor_node.cpp +msgid "Tools" +msgstr "工具" -#: tools/editor/project_export.cpp -msgid "Project Export" -msgstr "项目导出" +#: tools/editor/editor_node.cpp +msgid "Export the project to many platforms." +msgstr "导出项目到多个平台。" -#: tools/editor/project_export.cpp -msgid "Export Preset:" -msgstr "导出预设" +#: tools/editor/editor_node.cpp +msgid "Play the project (F5)." +msgstr "运行此项目(F5)" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Create UV Map" -msgstr "创建UV贴图" +#: tools/editor/editor_node.cpp +msgid "Pause the scene" +msgstr "暂停运行场景" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Create Poly" -msgstr "创建多边形" +#: tools/editor/editor_node.cpp +msgid "Stop the scene (F8)." +msgstr "停止运行场景(F8)" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Edit Poly" -msgstr "编辑多边形" +#: tools/editor/editor_node.cpp +msgid "Play the edited scene (F6)." +msgstr "运行打开的场景(F6)" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Edit Poly (Remove Point)" -msgstr "编辑多边形(移除顶点)" +#: tools/editor/editor_node.cpp +msgid "Play custom scene" +msgstr "运行自定义场景" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Transform UV Map" -msgstr "变换UV贴图" +#: tools/editor/editor_node.cpp +msgid "Debug options" +msgstr "调试选项" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Polygon 2D UV Editor" -msgstr "2D多边形UV编辑器" +#: tools/editor/editor_node.cpp +msgid "Live Editing" +msgstr "实时编辑" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Move Point" -msgstr "移动点" +#: tools/editor/editor_node.cpp +msgid "File Server" +msgstr "文件服务" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Ctrl: Rotate" -msgstr "Ctrl:旋转" +#: tools/editor/editor_node.cpp +msgid "Deploy Remote Debug" +msgstr "部署远程调试" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Shift: Move All" -msgstr "Shift: 移动所有" +#: tools/editor/editor_node.cpp +msgid "Deploy File Server Clients" +msgstr "部署文件服务客户端" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Shift+Ctrl: Scale" -msgstr "Shift+Ctrl: 缩放" +#: tools/editor/editor_node.cpp +msgid "Visible Collision Shapes" +msgstr "碰撞区域可见" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Move Polygon" -msgstr "移动多边形" +#: tools/editor/editor_node.cpp +msgid "Visible Navigation" +msgstr "Navigation可见" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Rotate Polygon" -msgstr "旋转多边形" +#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Settings" +msgstr "设置" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Scale Polygon" -msgstr "缩放多边形" +#: tools/editor/editor_node.cpp +msgid "Editor Layout" +msgstr "编辑器布局" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Polygon->UV" -msgstr "多边形->UV" +#: tools/editor/editor_node.cpp +msgid "Install Export Templates" +msgstr "安装导出模板" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "UV->Polygon" -msgstr "UV->多边形" +#: tools/editor/editor_node.cpp +msgid "About" +msgstr "关于" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -msgid "Clear UV" -msgstr "清除UV" +#: tools/editor/editor_node.cpp +msgid "Alerts when an external resource has changed." +msgstr "外部资源改变后弹出提示。" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Snap" -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Spins when the editor window repaints!" +msgstr "旋转时,重新绘制编辑器窗口!" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Enable Snap" -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Update Always" +msgstr "持续更新UI" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Grid" -msgstr "网格" +#: tools/editor/editor_node.cpp +msgid "Update Changes" +msgstr "有更改时更新UI" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Show Grid" -msgstr "显示网格" +#: tools/editor/editor_node.cpp +msgid "Inspector" +msgstr "属性面板" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Grid Offset:" -msgstr "网格偏移量:" +#: tools/editor/editor_node.cpp +msgid "Create a new resource in memory and edit it." +msgstr "在内存中新建资源并编辑。" -#: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/canvas_item_editor_plugin.cpp -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Grid Step:" -msgstr "网格大小:" +#: tools/editor/editor_node.cpp +msgid "Load an existing resource from disk and edit it." +msgstr "从磁盘中加载资源并编辑。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -msgid "Create Navigation Polygon" -msgstr "创建导航多边形" +#: tools/editor/editor_node.cpp +msgid "Save the currently edited resource." +msgstr "保存当前编辑的资源。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -msgid "Remove Poly And Point" -msgstr "移除多边形及顶点" +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save As.." +msgstr "另存为" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Create a new polygon from scratch." -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Go to the previous edited object in history." +msgstr "前往上一个编辑对象。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Edit existing polygon:" -msgstr "编辑已存在的多边形:" +#: tools/editor/editor_node.cpp +msgid "Go to the next edited object in history." +msgstr "前往下一个编辑对象。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "LMB: Move Point." -msgstr "鼠标左键:移动点" +#: tools/editor/editor_node.cpp +msgid "History of recently edited objects." +msgstr "最近编辑历史对象。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Ctrl+LMB: Split Segment." -msgstr "Ctrl+鼠标左键:分割视图块" +#: tools/editor/editor_node.cpp +msgid "Object properties." +msgstr "对象属性。" -#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "RMB: Erase Point." -msgstr "鼠标右键:移除点" +#: tools/editor/editor_node.cpp +msgid "FileSystem" +msgstr "文件系统" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Parsing %d Triangles:" -msgstr "正在解析第%d个三角形:" +#: tools/editor/editor_node.cpp +msgid "Output" +msgstr "输出" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Triangle #" -msgstr "三角形 #" +#: tools/editor/editor_node.cpp +msgid "Thanks from the Godot community!" +msgstr "感谢Godot社区" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Light Baker Setup:" -msgstr "建立烘培:" +#: tools/editor/editor_node.cpp +msgid "Thanks!" +msgstr "谢谢!" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Parsing Geometry" -msgstr "解析多边形中" +#: tools/editor/editor_node.cpp +msgid "Import Templates From ZIP File" +msgstr "从ZIP文件中导入模板" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Fixing Lights" -msgstr "修正光照" +#: tools/editor/editor_node.cpp +msgid "Export Library" +msgstr "导出库" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Making BVH" -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Merge With Existing" +msgstr "与现有合并" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Creating Light Octree" -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Open & Run a Script" +msgstr "打开并运行脚本" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Creating Octree Texture" -msgstr "" +#: tools/editor/editor_node.cpp +msgid "Load Errors" +msgstr "加载错误" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Transfer to Lightmaps:" -msgstr "" +#: tools/editor/call_dialog.cpp +msgid "Method List For '%s':" +msgstr "%s的方法列表" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Allocating Texture #" -msgstr "分配纹理 #" +#: tools/editor/call_dialog.cpp +msgid "Call" +msgstr "调用" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Baking Triangle #" -msgstr "烘培三角形 #" +#: tools/editor/call_dialog.cpp +msgid "Method List:" +msgstr "方法列表:" -#: tools/editor/plugins/baked_light_baker.cpp -msgid "Post-Processing Texture #" -msgstr "" +#: tools/editor/call_dialog.cpp +msgid "Arguments:" +msgstr "参数:" -#: tools/editor/plugins/camera_editor_plugin.cpp -msgid "Preview" -msgstr "预览" +#: tools/editor/call_dialog.cpp +msgid "Return:" +msgstr "返回:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Can't save theme to file:" -msgstr "无法保存主题到文件:" +#: tools/editor/pvrtc_compress.cpp +msgid "Could not execute PVRTC tool:" +msgstr "无法执行PVPTC工具:" -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/tile_set_editor_plugin.cpp -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Add Item" -msgstr "添加项目" +#: tools/editor/pvrtc_compress.cpp +msgid "Can't load back converted image using PVRTC tool:" +msgstr "无法加载使用PVRTC工具转换的图片:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Add All Items" -msgstr "添加所有项目" +#: tools/editor/array_property_edit.cpp +msgid "Resize Array" +msgstr "修改数组大小" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Add All" -msgstr "添加所有" +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value Type" +msgstr "修改数组类型" -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Remove Item" -msgstr "移除项目" +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value" +msgstr "修改数组值" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Add Class Items" -msgstr "添加类项目" +#: tools/editor/editor_help.cpp +msgid "Search Classes" +msgstr "搜索类型" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Remove Class Items" -msgstr "移除类项目" +#: tools/editor/editor_help.cpp +msgid "Class List:" +msgstr "类型列表" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Create Template" -msgstr "创建模板" +#: tools/editor/editor_help.cpp +msgid "Inherited by:" +msgstr "派生类:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "CheckBox Radio1" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Brief Description:" +msgstr "简介:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "CheckBox Radio2" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Public Methods:" +msgstr "公共方法:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Item" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Members:" +msgstr "成员:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Check Item" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "GUI Theme Items:" +msgstr "GUI主题:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Checked Item" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Signals:" +msgstr "事件:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Has" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Constants:" +msgstr "常量:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Many" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Method Description:" +msgstr "方法描述:" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Have,Many,Several,Options!" -msgstr "" +#: tools/editor/editor_help.cpp +msgid "Search Text" +msgstr "搜索文本" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Tab 1" -msgstr "分页1" +#: tools/editor/project_manager.cpp +msgid "Invalid project path, the path must exist!" +msgstr "项目目录不存在!" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Tab 2" -msgstr "分页2" +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must not exist." +msgstr "项目目录下必须包含engin.cfg文件。" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Tab 3" -msgstr "分页3" +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must exist." +msgstr "项目目录下必须包含engin.cfg文件。" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Data Type:" -msgstr "数据类型:" +#: tools/editor/project_manager.cpp +msgid "Imported Project" +msgstr "已导入的项目" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Icon" -msgstr "图标" +#: tools/editor/project_manager.cpp +msgid "Invalid project path (changed anything?)." +msgstr "项目路径非法(被外部修改?)。" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Style" -msgstr "样式" +#: tools/editor/project_manager.cpp +msgid "Couldn't create engine.cfg in project path." +msgstr "无法在项目目录下创建engine.cfg文件。" -#: tools/editor/plugins/theme_editor_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Font" -msgstr "字体" +#: tools/editor/project_manager.cpp +msgid "Import Existing Project" +msgstr "导入现有项目" -#: tools/editor/plugins/theme_editor_plugin.cpp -msgid "Color" -msgstr "颜色" +#: tools/editor/project_manager.cpp +msgid "Project Path (Must Exist):" +msgstr "项目目录(必须存在)" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Curve Point #" -msgstr "曲线定点 #" +#: tools/editor/project_manager.cpp +msgid "Project Name:" +msgstr "项目名称:" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Set Curve Point Pos" -msgstr "设置曲线顶点坐标" +#: tools/editor/project_manager.cpp +msgid "Create New Project" +msgstr "新建项目" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Set Curve In Pos" -msgstr "" +#: tools/editor/project_manager.cpp +msgid "Project Path:" +msgstr "项目目录" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Set Curve Out Pos" -msgstr "" +#: tools/editor/project_manager.cpp +msgid "Browse" +msgstr "浏览" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Split Path" -msgstr "" +#: tools/editor/project_manager.cpp +msgid "New Game Project" +msgstr "新建游戏项目" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Add Point to Curve" -msgstr "向曲线添加顶点" +#: tools/editor/project_manager.cpp +msgid "That's a BINGO!" +msgstr "碉堡了!" -#: tools/editor/plugins/path_editor_plugin.cpp -msgid "Remove Path Point" -msgstr "移除路径顶点" +#: tools/editor/project_manager.cpp +msgid "Unnamed Project" +msgstr "未命名项目" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Select Points" -msgstr "选择顶点" +#: tools/editor/project_manager.cpp +msgid "Are you sure to open more than one projects?" +msgstr "您确定要打开多个项目吗?" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Shift+Drag: Select Control Points" -msgstr "Shift+拖拽:选择控制点" +#: tools/editor/project_manager.cpp +msgid "Are you sure to run more than one projects?" +msgstr "您确定要执行多个项目吗?" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Click: Add Point" -msgstr "鼠标左键:添加点" +#: tools/editor/project_manager.cpp +msgid "Remove project from the list? (Folder contents will not be modified)" +msgstr "移除此项目(项目的文件不受影响)" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Right Click: Delete Point" -msgstr "鼠标右键:删除点" +#: tools/editor/project_manager.cpp +msgid "Recent Projects:" +msgstr "最近打开的项目:" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Add Point (in empty space)" -msgstr "" +#: tools/editor/project_manager.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Edit" +msgstr "编辑" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Split Segment (in curve)" -msgstr "" +#: tools/editor/project_manager.cpp +msgid "Run" +msgstr "运行" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Delete Point" -msgstr "删除顶点" +#: tools/editor/project_manager.cpp +msgid "Scan" +msgstr "扫描" -#: tools/editor/plugins/path_editor_plugin.cpp -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Close Curve" -msgstr "关闭曲线" +#: tools/editor/project_manager.cpp +msgid "New Project" +msgstr "新建" -#: tools/editor/plugins/item_list_editor_plugin.cpp -msgid "Item %d" -msgstr "第%d项" +#: tools/editor/project_manager.cpp +msgid "Exit" +msgstr "退出" -#: tools/editor/plugins/item_list_editor_plugin.cpp -msgid "Items" -msgstr "项目" +#: tools/editor/scene_tree_dock.cpp +msgid "OK :(" +msgstr "好吧" -#: tools/editor/plugins/item_list_editor_plugin.cpp -msgid "Item List Editor" -msgstr "列表编辑器" +#: tools/editor/scene_tree_dock.cpp +msgid "No parent to instance a child at." +msgstr "没有选中节点来添加实例。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Mesh is empty!" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Error loading scene from %s" +msgstr "从%s加载场景出错!" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Static Trimesh Body" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Error instancing scene from %s" +msgstr "从%s实例化场景出错!" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Static Convex Body" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Ok" +msgstr "好的" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "This doesn't work on scene root!" -msgstr "此操作无法引用在根节点上!" +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Cannot instance the scene '%s' because the current scene exists within one of " +"its nodes." +msgstr "无法实例化场景%s当前场景已存在于它的子节点中。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Trimesh Shape" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Scene(s)" +msgstr "实例化场景" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Convex Shape" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on the tree root." +msgstr "此操作不能被用于根节点。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Navigation Mesh" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Move Node In Parent" +msgstr "在父节点中移动" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "MeshInstance lacks a Mesh!" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Move Nodes In Parent" +msgstr "在父节点中移动多个节点" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Could not create outline!" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Duplicate Node(s)" +msgstr "复制节点" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Outline" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)?" +msgstr "确定要删除节点吗?" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Trimesh Static Body" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done without a scene." +msgstr "此操作必须在打开一个场景后才能执行。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Convex Static Body" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "This operation requires a single selected node." +msgstr "此操作只能应用于单个选中节点。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Trimesh Collision Sibling" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on instanced scenes." +msgstr "此操作不能应用于实例化的场景。" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Convex Collision Sibling" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Save New Scene As.." +msgstr "将新场景另存为.." -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Outline Mesh.." -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Makes Sense!" +msgstr "有道理!" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Create Outline Mesh" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes from a foreign scene!" +msgstr "无法操作外部场景的节点!" -#: tools/editor/plugins/mesh_instance_editor_plugin.cpp -msgid "Outline Size:" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes the current scene inherits from!" +msgstr "无法操作此节点,因为当前场景继承自该节点!" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Paint TileMap" -msgstr "绘制砖块地图" +#: tools/editor/scene_tree_dock.cpp +msgid "Remove Node(s)" +msgstr "移除节点" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Erase TileMap" -msgstr "擦除砖块地图" +#: tools/editor/scene_tree_dock.cpp +msgid "Create Node" +msgstr "新节点" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Bucket" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Couldn't save new scene. Likely dependencies (instances) couldn't be " +"satisfied." +msgstr "无法保存场景,场景或其实例的的依赖存在问题。" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Pick Tile" -msgstr "选择砖块" +#: tools/editor/scene_tree_dock.cpp +msgid "Error saving scene." +msgstr "保存场景出错。" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Select" -msgstr "选择" +#: tools/editor/scene_tree_dock.cpp +msgid "Error duplicating scene to save it." +msgstr "复制场景出错。" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Erase Selection" -msgstr "擦除选中" +#: tools/editor/scene_tree_dock.cpp +msgid "New Scene Root" +msgstr "创建场景根节点" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Transpose" -msgstr "转置" +#: tools/editor/scene_tree_dock.cpp +msgid "Inherit Scene" +msgstr "继承场景" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Mirror X (A)" -msgstr "沿X轴翻转(A)" +#: tools/editor/scene_tree_dock.cpp +msgid "Add Child Node" +msgstr "添加子节点" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Mirror Y (S)" -msgstr "沿Y轴翻转(S)" +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Child Scene" +msgstr "实例化子场景" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Rotate 0 degrees" -msgstr "旋转0度" +#: tools/editor/scene_tree_dock.cpp +msgid "Change Type" +msgstr "更改类型" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Rotate 90 degrees" -msgstr "旋转90度" +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Groups" +msgstr "编辑分组" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Rotate 180 degrees" -msgstr "旋转180度" +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "编辑事件连接" -#: tools/editor/plugins/tile_map_editor_plugin.cpp -msgid "Rotate 270 degrees" -msgstr "旋转270度" +#: tools/editor/scene_tree_dock.cpp +msgid "Add Script" +msgstr "添加脚本" -#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Find.." -msgstr "查找.." +msgid "Move Up" +msgstr "向上移动" -#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp #: tools/editor/plugins/script_editor_plugin.cpp -msgid "Find Next" -msgstr "查找下一项" +msgid "Move Down" +msgstr "向下移动" -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Replace.." -msgstr "替换.." +#: tools/editor/scene_tree_dock.cpp +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Duplicate" +msgstr "拷贝" -#: tools/editor/plugins/shader_editor_plugin.cpp -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Goto Line.." -msgstr "前往行.." +#: tools/editor/scene_tree_dock.cpp +msgid "Merge From Scene" +msgstr "从场景中合并" -#: tools/editor/plugins/shader_editor_plugin.cpp -msgid "Vertex" -msgstr "顶点" +#: tools/editor/scene_tree_dock.cpp +msgid "Save Branch as Scene" +msgstr "将分支保存为场景" -#: tools/editor/plugins/shader_editor_plugin.cpp -msgid "Fragment" -msgstr "片段" +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)" +msgstr "删除节点" -#: tools/editor/plugins/shader_editor_plugin.cpp -msgid "Lighting" -msgstr "光照" +#: tools/editor/scene_tree_dock.cpp +msgid "Add/Create a New Node" +msgstr "添加/创建节点" -#: tools/editor/plugins/collision_shape_2d_editor_plugin.cpp -msgid "Set Handle" -msgstr "" +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Instance a scene file as a Node. Creates an inherited scene if no root node " +"exists." +msgstr "实例化场景文件为一个节点,如果没有根节点则创建一个继承自该文件的场景。" -#: tools/editor/plugins/style_box_editor_plugin.cpp -msgid "StyleBox Preview:" -msgstr "StyleBox预览:" +#: tools/editor/create_dialog.cpp +msgid "Create New" +msgstr "新建" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Error while saving theme" -msgstr "保存主题出错。" +#: tools/editor/plugins/rich_text_editor_plugin.cpp +msgid "Parse BBCode" +msgstr "解析BBCode" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Error saving" -msgstr "保存出错" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Open Sample File(s)" +msgstr "打开声音文件" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Error importing theme" -msgstr "导入主题出错。" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "ERROR: Couldn't load sample!" +msgstr "错误:无法加载音效!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Error importing" -msgstr "导入出错" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Add Sample" +msgstr "添加音效" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Import Theme" -msgstr "导入主题" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stop" +msgstr "停止" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Save Theme As.." -msgstr "主题另存为" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Play" +msgstr "播放" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Save All" -msgstr "全部保存" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Rename Sample" +msgstr "重命名音效" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "History Prev" -msgstr "后退" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Delete Sample" +msgstr "删除音效" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "History Next" -msgstr "前进" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "16 Bits" +msgstr "16位" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Reload Theme" -msgstr "重新加载主题" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "8 Bits" +msgstr "8位" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Save Theme" -msgstr "保存主题" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stereo" +msgstr "立体声" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Save Theme As" -msgstr "主题另存为" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Mono" +msgstr "" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Indent Left" -msgstr "向左缩进" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/camera_editor_plugin.cpp +msgid "Preview" +msgstr "预览" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Indent Right" -msgstr "向右缩进" +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Pitch" +msgstr "" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Toggle Comment" -msgstr "切换注释" +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +msgid "Create Poly3D" +msgstr "" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Clone Down" -msgstr "拷贝到下一行" +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Edit Poly" +msgstr "编辑多边形" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Complete Symbol" -msgstr "代码补全" +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Edit Poly (Remove Point)" +msgstr "编辑多边形(移除顶点)" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Trim Trailing Whitespace" -msgstr "修剪行后空白" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Toggle Autoplay" +msgstr "切换AutoPlay" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Auto Indent" -msgstr "自动缩进" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Animation Name:" +msgstr "新动画名称:" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Goto Function.." -msgstr "前往函数.." +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Anim" +msgstr "新建动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Debug" -msgstr "调试" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Animation Name:" +msgstr "重命名动画:" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Toggle Breakpoint" -msgstr "切换断点" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Remove Animation" +msgstr "移除动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Keep Debugger Open" -msgstr "保持调试器打开" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Invalid animation name!" +msgstr "错误:动画名不合法!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Window" -msgstr "窗口" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Animation name already exists!" +msgstr "错误:已存在同名动画!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Move Left" -msgstr "向左移动" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Rename Animation" +msgstr "重命名动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Move Right" -msgstr "向右移动" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Animation" +msgstr "添加动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Help" -msgstr "帮助" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Next Changed" +msgstr "" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Contextual" -msgstr "搜索光标位置" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Blend Time" +msgstr "更改混合时间" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Tutorials" -msgstr "教程" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load Animation" +msgstr "加载动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Open https://godotengine.org at tutorials section." -msgstr "打开 https://godotengine.org 中的教程." +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Duplicate Animation" +msgstr "复制动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Classes" -msgstr "类型" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to copy!" +msgstr "错误:没有拷贝的动画!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Search the class hierarchy." -msgstr "搜索类" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation resource on clipboard!" +msgstr "错误:剪切板中没有动画资源!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Search Help" -msgstr "搜索帮助" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Pasted Animation" +msgstr "已粘贴的动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Search the reference documentation." -msgstr "搜索文档" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Paste Animation" +msgstr "粘贴动画" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Go to previous edited document." -msgstr "前往上一个编辑文档" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to edit!" +msgstr "错误:没有选中要编辑的动画!" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Go to next edited document." -msgstr "前往下一个编辑文档" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from current pos. (A)" +msgstr "从当前位置倒放选中动画(A)" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Create Script" -msgstr "创建脚本" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from end. (Shift+A)" +msgstr "从结束时间倒放选中动画(Shift+A)" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "" -"The following files are newer on disk.\n" -"What action should be taken?:" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Stop animation playback. (S)" msgstr "" -"磁盘中的下列文件已更新。\n" -"请选择执行那项操作?:" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Reload" -msgstr "重新加载" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from start. (Shift+D)" +msgstr "从头播放选中动画(Shift+D)" -#: tools/editor/plugins/script_editor_plugin.cpp -msgid "Resave" -msgstr "重新保存" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from current pos. (D)" +msgstr "从当前位置播放选中动画(D)" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Could not find tile:" -msgstr "找不到砖块:" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation position (in seconds)." +msgstr "动画位置(单位:秒)" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Item name or ID:" -msgstr "项目名称或ID" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Scale animation playback globally for the node." +msgstr "" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Create from scene?" -msgstr "从场景中创建?" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create new animation in player." +msgstr "在播放中创建动画。" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Merge from scene?" -msgstr "确定要合并场景?" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load an animation from disk." +msgstr "从磁盘中加载动画。" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Create from Scene" -msgstr "从场景中创建" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save the current animation" +msgstr "保存当前动画" -#: tools/editor/plugins/tile_set_editor_plugin.cpp -msgid "Merge from Scene" -msgstr "从场景中合并" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Display list of animations in player." +msgstr "在播放器中显示动画列表。" -#: tools/editor/plugins/collision_polygon_editor_plugin.cpp -msgid "Create Poly3D" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Autoplay on Load" +msgstr "加载后自动播放" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Edit Target Blend Times" +msgstr "编辑目标混合时间" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Tools" +msgstr "动画工具" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Copy Animation" +msgstr "拷贝动画" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create New Animation" +msgstr "创建新动画" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Name:" +msgstr "动画名称:" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Times:" +msgstr "混合时间:" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Next (Auto Queue):" msgstr "" +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Cross-Animation Blend Times" +msgstr "跨动画时间混合" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation" +msgstr "动画" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create Poly" +msgstr "创建多边形" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +msgid "Create Occluder Polygon" +msgstr "添加遮光多边形" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create a new polygon from scratch." +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Edit existing polygon:" +msgstr "编辑已存在的多边形:" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "LMB: Move Point." +msgstr "鼠标左键:移动点" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Ctrl+LMB: Split Segment." +msgstr "Ctrl+鼠标左键:分割视图块" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "RMB: Erase Point." +msgstr "鼠标右键:移除点" + #: tools/editor/plugins/canvas_item_editor_plugin.cpp msgid "Configure Snap" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Grid Offset:" +msgstr "网格偏移量:" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Grid Step:" +msgstr "网格大小:" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp msgid "Rotation Offset:" msgstr "旋转偏移量:" @@ -4002,6 +3595,12 @@ msgid "Use Snap" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Show Grid" +msgstr "显示网格" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp msgid "Use Rotation Snap" msgstr "" @@ -4043,6 +3642,7 @@ msgid "Clear IK Chain" msgstr "清除IK链" #: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp msgid "View" msgstr "视图" @@ -4102,513 +3702,199 @@ msgstr "设置值" msgid "Snap (Pixels):" msgstr "" -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Creating Mesh Library" -msgstr "" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Thumbnail.." -msgstr "" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Remove item %d?" -msgstr "确定要移除项目%d吗?" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Import Scene" -msgstr "导入场景" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Remove Selected Item" -msgstr "移除选中项目" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Import from Scene" -msgstr "从场景中导入" - -#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp -msgid "Update from Scene" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Scalar Constant" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Vec Constant" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change RGB Constant" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Scalar Operator" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Vec Operator" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Vec Scalar Operator" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change RGB Operator" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Toggle Rot Only" -msgstr "切换旋转模式" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Scalar Function" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Vec Function" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Scalar Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Vec Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change RGB Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Default Value" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change XForm Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Texture Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Cubemap Uniform" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Comment" -msgstr "更改注释" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Add/Remove to Color Ramp" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -#: tools/editor/plugins/color_ramp_editor_plugin.cpp -msgid "Modify Color Ramp" -msgstr "" - -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Add/Remove to Curve Map" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Paint TileMap" +msgstr "绘制砖块地图" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Modify Curve Map" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase TileMap" +msgstr "擦除砖块地图" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Change Input Name" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Bucket" msgstr "" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Connect Graph Nodes" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Pick Tile" +msgstr "选择砖块" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Disconnect Graph Nodes" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Select" +msgstr "选择" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Remove Shader Graph Node" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase Selection" +msgstr "擦除选中" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Move Shader Graph Node" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Transpose" +msgstr "转置" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Duplicate Graph Node(s)" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror X (A)" +msgstr "沿X轴翻转(A)" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Delete Shader Graph Node(s)" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror Y (S)" +msgstr "沿Y轴翻转(S)" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Error: Cyclic Connection Link" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 0 degrees" +msgstr "旋转0度" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Error: Missing Input Connections" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 90 degrees" +msgstr "旋转90度" -#: tools/editor/plugins/shader_graph_editor_plugin.cpp -msgid "Add Shader Graph Node" -msgstr "" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 180 degrees" +msgstr "旋转180度" -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Remove Point from Curve" -msgstr "从曲线中移除顶点" +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 270 degrees" +msgstr "旋转270度" -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Move Point in Curve" -msgstr "在曲线中移动顶点" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "New name:" +msgstr "新名称:" -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Move In-Control in Curve" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Scale:" +msgstr "缩放" -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Move Out-Control in Curve" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade In (s):" msgstr "" -#: tools/editor/plugins/path_2d_editor_plugin.cpp -msgid "Select Control Points (Shift+Drag)" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade Out (s):" msgstr "" -#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp -msgid "Create Occluder Polygon" -msgstr "添加遮光多边形" - -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Set region_rect" -msgstr "设置纹理区域" - -#: tools/editor/plugins/sprite_region_editor_plugin.cpp -msgid "Sprite Region Editor" -msgstr "精灵纹理区域编辑" - -#: tools/editor/plugins/sample_editor_plugin.cpp -msgid "Length:" -msgstr "长度:" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "ERROR: Couldn't load frame resource!" -msgstr "错误:无法加载帧资源!" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Add Frame" -msgstr "添加帧" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Delete Resource" -msgstr "删除资源" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Resource clipboard is empty or not a texture!" -msgstr "资源剪切板中无内容,或内容不是纹理贴图!" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Paste Frame" -msgstr "粘贴帧" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Add Empty" -msgstr "添加空白帧" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Rename Animation" -msgstr "重命名动画" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Add Animation" -msgstr "添加动画" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Remove Animation" -msgstr "移除动画" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Change Animation Loop" -msgstr "修改循环" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Change Animation FPS" -msgstr "修改FPS" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "(empty)" -msgstr "(空)" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Animations" -msgstr "动画" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Speed (FPS):" -msgstr "速度(FPS)" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Loop" -msgstr "循环" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Animation Frames" -msgstr "动画帧" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -#: tools/editor/plugins/resource_preloader_editor_plugin.cpp -msgid "Load Resource" -msgstr "加载资源" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Insert Empty (Before)" -msgstr "插入空白帧(之前)" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Insert Empty (After)" -msgstr "插入空白帧(之后)" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Up" -msgstr "向上" - -#: tools/editor/plugins/sprite_frames_editor_plugin.cpp -msgid "Down" -msgstr "向下" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Toggle Autoplay" -msgstr "切换AutoPlay" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "New Animation Name:" -msgstr "新动画名称:" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "New Anim" -msgstr "新建动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Change Animation Name:" -msgstr "重命名动画:" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "ERROR: Invalid animation name!" -msgstr "错误:动画名不合法!" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "ERROR: Animation name already exists!" -msgstr "错误:已存在同名动画!" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Blend Next Changed" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend" msgstr "" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Change Blend Time" -msgstr "更改混合时间" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Load Animation" -msgstr "加载动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Duplicate Animation" -msgstr "复制动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "ERROR: No animation to copy!" -msgstr "错误:没有拷贝的动画!" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "ERROR: No animation resource on clipboard!" -msgstr "错误:剪切板中没有动画资源!" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Pasted Animation" -msgstr "已粘贴的动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Paste Animation" -msgstr "粘贴动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "ERROR: No animation to edit!" -msgstr "错误:没有选中要编辑的动画!" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Play selected animation backwards from current pos. (A)" -msgstr "从当前位置倒放选中动画(A)" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Play selected animation backwards from end. (Shift+A)" -msgstr "从结束时间倒放选中动画(Shift+A)" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Stop animation playback. (S)" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix" msgstr "" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Play selected animation from start. (Shift+D)" -msgstr "从头播放选中动画(Shift+D)" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Play selected animation from current pos. (D)" -msgstr "从当前位置播放选中动画(D)" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Animation position (in seconds)." -msgstr "动画位置(单位:秒)" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Scale animation playback globally for the node." +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Auto Restart:" msgstr "" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Create new animation in player." -msgstr "在播放中创建动画。" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Load an animation from disk." -msgstr "从磁盘中加载动画。" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Save the current animation" -msgstr "保存当前动画" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Display list of animations in player." -msgstr "在播放器中显示动画列表。" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Autoplay on Load" -msgstr "加载后自动播放" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Restart (s):" +msgstr "重新开始(秒):" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Edit Target Blend Times" -msgstr "编辑目标混合时间" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Random Restart (s):" +msgstr "随机开始(秒):" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Animation Tools" -msgstr "动画工具" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Start!" +msgstr "开始!" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Copy Animation" -msgstr "拷贝动画" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Amount:" +msgstr "数量:" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Create New Animation" -msgstr "创建新动画" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend:" +msgstr "混合:" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Animation Name:" -msgstr "动画名称:" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 0:" +msgstr "混合0:" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Blend Times:" -msgstr "混合时间:" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 1:" +msgstr "混合1:" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Next (Auto Queue):" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "X-Fade Time (s):" msgstr "" -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Cross-Animation Blend Times" -msgstr "跨动画时间混合" - -#: tools/editor/plugins/animation_player_editor_plugin.cpp -msgid "Animation" -msgstr "动画" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Current:" +msgstr "当前:" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "Error loading image:" -msgstr "加载图片出错:" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Add Input" +msgstr "添加输入事件" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "No pixels with transparency > 128 in image.." +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Clear Auto-Advance" msgstr "" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "Set Emission Mask" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Set Auto-Advance" msgstr "" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "Clear Emission Mask" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Delete Input" +msgstr "删除输入事件" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "Load Emission Mask" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Rename" +msgstr "重命名" -#: tools/editor/plugins/particles_2d_editor_plugin.cpp -msgid "Generated Point Count:" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is valid." +msgstr "动画树可用。" -#: tools/editor/plugins/color_ramp_editor_plugin.cpp -msgid "Add/Remove Color Ramp Point" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is invalid." +msgstr "动画树不可用。" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Node does not contain geometry." -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation Node" +msgstr "动画节点" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Node does not contain geometry (faces)." +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "OneShot Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Faces contain no area!" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "No faces!" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend2 Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Generate AABB" -msgstr "生成AABB" - -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Create Emitter From Mesh" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend3 Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Create Emitter From Node" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend4 Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Clear Emitter" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeScale Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Create Emitter" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeSeek Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Emission Positions:" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Transition Node" msgstr "" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Emission Fill:" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Import Animations.." +msgstr "导入动画" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Surface" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Edit Node Filters" +msgstr "编辑节点筛选" -#: tools/editor/plugins/particles_editor_plugin.cpp -msgid "Volume" -msgstr "" +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Filters.." +msgstr "筛选.." #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "No mesh source specified (and no MultiMesh set in node)." @@ -4707,203 +3993,206 @@ msgid "Random Scale:" msgstr "随机缩放:" #: tools/editor/plugins/multimesh_editor_plugin.cpp -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Scale:" -msgstr "缩放" +msgid "Populate" +msgstr "" -#: tools/editor/plugins/multimesh_editor_plugin.cpp -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Amount:" -msgstr "数量:" +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Find.." +msgstr "查找.." -#: tools/editor/plugins/multimesh_editor_plugin.cpp -msgid "Populate" +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Find Next" +msgstr "查找下一项" + +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Find Previous" msgstr "" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Open Sample File(s)" -msgstr "打开声音文件" +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Replace.." +msgstr "替换.." -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "ERROR: Couldn't load sample!" -msgstr "错误:无法加载音效!" +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Line.." +msgstr "前往行.." -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Add Sample" -msgstr "添加音效" +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Vertex" +msgstr "顶点" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Stop" -msgstr "停止" +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Fragment" +msgstr "片段" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Play" -msgstr "播放" +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Lighting" +msgstr "光照" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Rename Sample" -msgstr "重命名音效" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Can't save theme to file:" +msgstr "无法保存主题到文件:" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Delete Sample" -msgstr "删除音效" +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Add Item" +msgstr "添加项目" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "16 Bits" -msgstr "16位" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All Items" +msgstr "添加所有项目" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "8 Bits" -msgstr "8位" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All" +msgstr "添加所有" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Stereo" -msgstr "立体声" +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Remove Item" +msgstr "移除项目" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Mono" -msgstr "" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add Class Items" +msgstr "添加类项目" -#: tools/editor/plugins/sample_library_editor_plugin.cpp -msgid "Pitch" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Remove Class Items" +msgstr "移除类项目" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Create Template" +msgstr "创建模板" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio1" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "New name:" -msgstr "新名称:" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio2" +msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Fade In (s):" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Item" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Fade Out (s):" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Check Item" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Checked Item" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Mix" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Has" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Auto Restart:" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Many" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Restart (s):" -msgstr "重新开始(秒):" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Have,Many,Several,Options!" +msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Random Restart (s):" -msgstr "随机开始(秒):" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 1" +msgstr "分页1" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Start!" -msgstr "开始!" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 2" +msgstr "分页2" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend:" -msgstr "混合:" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 3" +msgstr "分页3" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend 0:" -msgstr "混合0:" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Data Type:" +msgstr "数据类型:" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend 1:" -msgstr "混合1:" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Icon" +msgstr "图标" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "X-Fade Time (s):" -msgstr "" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Style" +msgstr "样式" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Current:" -msgstr "当前:" +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Font" +msgstr "字体" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Add Input" -msgstr "添加输入事件" +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Color" +msgstr "颜色" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Clear Auto-Advance" +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "BakedLightInstance does not contain a BakedLight resource." msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Set Auto-Advance" +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Bake!" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Delete Input" -msgstr "删除输入事件" +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Reset the lightmap octree baking process (start over)." +msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Rename" -msgstr "重命名" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing %d Triangles:" +msgstr "正在解析第%d个三角形:" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Animation tree is valid." -msgstr "动画树可用。" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Triangle #" +msgstr "三角形 #" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Animation tree is invalid." -msgstr "动画树不可用。" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Light Baker Setup:" +msgstr "建立烘培:" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Animation Node" -msgstr "动画节点" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing Geometry" +msgstr "解析多边形中" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "OneShot Node" -msgstr "" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Fixing Lights" +msgstr "修正光照" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Mix Node" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Making BVH" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend2 Node" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Light Octree" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend3 Node" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Octree Texture" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Blend4 Node" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Transfer to Lightmaps:" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "TimeScale Node" -msgstr "" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Allocating Texture #" +msgstr "分配纹理 #" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "TimeSeek Node" -msgstr "" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Baking Triangle #" +msgstr "烘培三角形 #" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Transition Node" +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Post-Processing Texture #" msgstr "" -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Import Animations.." -msgstr "导入动画" - -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Edit Node Filters" -msgstr "编辑节点筛选" - -#: tools/editor/plugins/animation_tree_editor_plugin.cpp -msgid "Filters.." -msgstr "筛选.." - -#: tools/editor/plugins/rich_text_editor_plugin.cpp -msgid "Parse BBCode" -msgstr "解析BBCode" - #: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Orthogonal" msgstr "正交" @@ -5180,6 +4469,465 @@ msgstr "" msgid "Post" msgstr "" +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error while saving theme" +msgstr "保存主题出错。" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error saving" +msgstr "保存出错" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing theme" +msgstr "导入主题出错。" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing" +msgstr "导入出错" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Import Theme" +msgstr "导入主题" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As.." +msgstr "主题另存为" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save All" +msgstr "全部保存" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Prev" +msgstr "后退" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Next" +msgstr "前进" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload Theme" +msgstr "重新加载主题" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme" +msgstr "保存主题" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As" +msgstr "主题另存为" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Left" +msgstr "向左缩进" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Right" +msgstr "向右缩进" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Comment" +msgstr "切换注释" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Clone Down" +msgstr "拷贝到下一行" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Complete Symbol" +msgstr "代码补全" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Trim Trailing Whitespace" +msgstr "修剪行后空白" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Auto Indent" +msgstr "自动缩进" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Function.." +msgstr "前往函数.." + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Debug" +msgstr "调试" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Breakpoint" +msgstr "切换断点" + +#: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Remove All Breakpoints" +msgstr "切换断点" + +#: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Goto Next Breakpoint" +msgstr "前往下一步" + +#: tools/editor/plugins/script_editor_plugin.cpp +#, fuzzy +msgid "Goto Previous Breakpoint" +msgstr "切换断点" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Keep Debugger Open" +msgstr "保持调试器打开" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Window" +msgstr "窗口" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Left" +msgstr "向左移动" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Right" +msgstr "向右移动" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Help" +msgstr "帮助" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Contextual" +msgstr "搜索光标位置" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Tutorials" +msgstr "教程" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Open https://godotengine.org at tutorials section." +msgstr "打开 https://godotengine.org 中的教程." + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Classes" +msgstr "类型" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the class hierarchy." +msgstr "搜索类" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search Help" +msgstr "搜索帮助" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the reference documentation." +msgstr "搜索文档" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to previous edited document." +msgstr "前往上一个编辑文档" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to next edited document." +msgstr "前往下一个编辑文档" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Create Script" +msgstr "创建脚本" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "" +"The following files are newer on disk.\n" +"What action should be taken?:" +msgstr "" +"磁盘中的下列文件已更新。\n" +"请选择执行那项操作?:" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload" +msgstr "重新加载" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Resave" +msgstr "重新保存" + +#: tools/editor/plugins/style_box_editor_plugin.cpp +msgid "StyleBox Preview:" +msgstr "StyleBox预览:" + +#: tools/editor/plugins/sample_editor_plugin.cpp +msgid "Length:" +msgstr "长度:" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Toggle Rot Only" +msgstr "切换旋转模式" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Default Value" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change XForm Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Texture Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Cubemap Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Comment" +msgstr "更改注释" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Color Ramp" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +msgid "Modify Color Ramp" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Modify Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Input Name" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Connect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Disconnect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Remove Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Move Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Duplicate Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Delete Shader Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Cyclic Connection Link" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Missing Input Connections" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh is empty!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Trimesh Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Convex Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "This doesn't work on scene root!" +msgstr "此操作无法引用在根节点上!" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Navigation Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "MeshInstance lacks a Mesh!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Could not create outline!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh.." +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Outline Size:" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Create UV Map" +msgstr "创建UV贴图" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Transform UV Map" +msgstr "变换UV贴图" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon 2D UV Editor" +msgstr "2D多边形UV编辑器" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Point" +msgstr "移动点" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Ctrl: Rotate" +msgstr "Ctrl:旋转" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift: Move All" +msgstr "Shift: 移动所有" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift+Ctrl: Scale" +msgstr "Shift+Ctrl: 缩放" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Polygon" +msgstr "移动多边形" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Rotate Polygon" +msgstr "旋转多边形" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Scale Polygon" +msgstr "缩放多边形" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon->UV" +msgstr "多边形->UV" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "UV->Polygon" +msgstr "UV->多边形" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Clear UV" +msgstr "清除UV" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Enable Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Grid" +msgstr "网格" + +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Set region_rect" +msgstr "设置纹理区域" + +#: tools/editor/plugins/sprite_region_editor_plugin.cpp +msgid "Sprite Region Editor" +msgstr "精灵纹理区域编辑" + #: tools/editor/plugins/resource_preloader_editor_plugin.cpp msgid "ERROR: Couldn't load resource!" msgstr "错误:无法加载资源!" @@ -5193,237 +4941,329 @@ msgid "Rename Resource" msgstr "重命名资源" #: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Delete Resource" +msgstr "删除资源" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp msgid "Resource clipboard is empty!" msgstr "资源剪切板中无内容!" -#: tools/editor/plugins/baked_light_editor_plugin.cpp -msgid "BakedLightInstance does not contain a BakedLight resource." -msgstr "" +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Load Resource" +msgstr "加载资源" -#: tools/editor/plugins/baked_light_editor_plugin.cpp -msgid "Bake!" -msgstr "" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "ERROR: Couldn't load frame resource!" +msgstr "错误:无法加载帧资源!" -#: tools/editor/plugins/baked_light_editor_plugin.cpp -msgid "Reset the lightmap octree baking process (start over)." -msgstr "" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Frame" +msgstr "添加帧" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "New Clip" -msgstr "" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Resource clipboard is empty or not a texture!" +msgstr "资源剪切板中无内容,或内容不是纹理贴图!" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Animation Options" -msgstr "动画选项" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Paste Frame" +msgstr "粘贴帧" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Flags" -msgstr "" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Empty" +msgstr "添加空白帧" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Bake FPS:" -msgstr "" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation Loop" +msgstr "修改循环" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation FPS" +msgstr "修改FPS" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "(empty)" +msgstr "(空)" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animations" +msgstr "动画" +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Speed (FPS):" +msgstr "速度(FPS)" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Optimizer" +msgid "Loop" +msgstr "循环" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animation Frames" +msgstr "动画帧" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (Before)" +msgstr "插入空白帧(之前)" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (After)" +msgstr "插入空白帧(之后)" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Up" +msgstr "向上" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Down" +msgstr "向下" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create Navigation Polygon" +msgstr "创建导航多边形" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Remove Poly And Point" +msgstr "移除多边形及顶点" + +#: tools/editor/plugins/collision_shape_2d_editor_plugin.cpp +msgid "Set Handle" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Max Linear Error" +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Error loading image:" +msgstr "加载图片出错:" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "No pixels with transparency > 128 in image.." msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Max Angular Error" +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Set Emission Mask" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Max Angle" +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Clear Emission Mask" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Clips" +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Load Emission Mask" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Start(s)" +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Generated Point Count:" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "End(s)" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Creating Mesh Library" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Filters" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Thumbnail.." msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Source path is empty." -msgstr "源路径为空。" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove item %d?" +msgstr "确定要移除项目%d吗?" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -msgid "Target path is empty." -msgstr "目标路径为空。" +msgid "Import Scene" +msgstr "导入场景" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -msgid "Target path must be a complete resource path." -msgstr "目标路径必须是一个完整的资源文件路径。" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove Selected Item" +msgstr "移除选中项目" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -msgid "Target path must exist." -msgstr "目标路径必须存在。" +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Import from Scene" +msgstr "从场景中导入" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Couldn't load post-import script." +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Update from Scene" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import." +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry." msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Error importing scene." -msgstr "导入场景出错。" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry (faces)." +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Import 3D Scene" -msgstr "导入3D场景" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Faces contain no area!" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Source Scene:" -msgstr "源场景:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "No faces!" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp -msgid "Target Path:" -msgstr "目标路径:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Generate AABB" +msgstr "生成AABB" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Same as Target Scene" -msgstr "与目标场景相同" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Mesh" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Shared" -msgstr "共享的" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Node" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Target Texture Folder:" -msgstr "目标贴图目录:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Clear Emitter" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp -msgid "Options:" -msgstr "选项:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Post-Process Script:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Positions:" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -#: tools/editor/io_plugins/editor_texture_import_plugin.cpp -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -#: tools/editor/io_plugins/editor_sample_import_plugin.cpp -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Accept" -msgstr "接受" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Fill:" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Custom Root Node Type:" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Surface" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing Scene" +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Volume" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Overwrite Existing, Keep Materials" +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item %d" +msgstr "第%d项" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Items" +msgstr "项目" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item List Editor" +msgstr "列表编辑器" + +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +msgid "Add/Remove Color Ramp Point" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Merge with New" -msgstr "保留已有,与新的合并。" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Curve Point #" +msgstr "曲线定点 #" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Keep Existing, Ignore New" -msgstr "保留已有,忽略新的。" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Point Pos" +msgstr "设置曲线顶点坐标" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "This Time:" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve In Pos" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Next Time:" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Out Pos" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "The Following Files are Missing:" -msgstr "找不到下列文件:" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Split Path" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Import Anyway" -msgstr "仍然导入" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Add Point to Curve" +msgstr "向曲线添加顶点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Cancel" -msgstr "取消" +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Remove Path Point" +msgstr "移除路径顶点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Import & Open" -msgstr "导入|打开" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Select Points" +msgstr "选择顶点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Edited scene has not been saved, open imported scene anyway?" -msgstr "正在编辑的场景尚未保存,仍然要打开导入的场景吗?" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Shift+Drag: Select Control Points" +msgstr "Shift+拖拽:选择控制点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Importing Scene.." -msgstr "导入场景" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Click: Add Point" +msgstr "鼠标左键:添加点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Running Custom Script.." -msgstr "执行自定义脚本.." +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Right Click: Delete Point" +msgstr "鼠标右键:删除点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Couldn't load post-import script:" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Add Point (in empty space)" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Split Segment (in curve)" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Error running post-import script:" -msgstr "" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Delete Point" +msgstr "删除顶点" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Import Image:" -msgstr "导入图片:" +#: tools/editor/plugins/path_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Close Curve" +msgstr "关闭曲线" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Can't import a file over itself:" -msgstr "不允许导入文件本身:" +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Could not find tile:" +msgstr "找不到砖块:" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Couldn't localize path: %s (already local)" +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Item name or ID:" +msgstr "项目名称或ID" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from scene?" +msgstr "从场景中创建?" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from scene?" +msgstr "确定要合并场景?" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from Scene" +msgstr "从场景中创建" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from Scene" +msgstr "从场景中合并" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Remove Point from Curve" +msgstr "从曲线中移除顶点" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Point in Curve" +msgstr "在曲线中移动顶点" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move In-Control in Curve" msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Saving.." -msgstr "保存中..." +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Out-Control in Curve" +msgstr "" -#: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "3D Scene Animation" -msgstr "3D场景动画" +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Select Control Points (Shift+Drag)" +msgstr "" #: tools/editor/io_plugins/editor_texture_import_plugin.cpp msgid "Uncompressed" @@ -5458,6 +5298,24 @@ msgid "Please specify some files!" msgstr "请添加文件!" #: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Target path is empty." +msgstr "目标路径为空。" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Target path must be a complete resource path." +msgstr "目标路径必须是一个完整的资源文件路径。" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Target path must exist." +msgstr "目标路径必须存在。" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp msgid "At least one file needed for Atlas." msgstr "精灵集至少需要一个文件。" @@ -5541,6 +5399,22 @@ msgid "Crop empty space." msgstr "切除空白区域。" #: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Target Path:" +msgstr "目标路径:" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Accept" +msgstr "接受" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp msgid "Texture" msgstr "贴图" @@ -5600,6 +5474,221 @@ msgstr "无法保存精灵集图片:" msgid "Couldn't save converted texture:" msgstr "无法保存转换的贴图:" +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid source!" +msgstr "输入源非法!" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid translation source!" +msgstr "源语言文件非法!" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Column" +msgstr "列" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No items to import!" +msgstr "没有要导入的项目!" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No target path!" +msgstr "目标路径为空!" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translations" +msgstr "导入多种语言翻译" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Couldn't import!" +msgstr "无法导入!" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translation" +msgstr "导入语言翻译" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Source CSV:" +msgstr "源CSV文件:" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Ignore First Row" +msgstr "忽略第一行" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Compress" +msgstr "压缩" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Add to Project (engine.cfg)" +msgstr "添加到项目(engine.cfg)" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Languages:" +msgstr "导入语言:" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Translation" +msgstr "语言" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "New Clip" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Animation Options" +msgstr "动画选项" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Flags" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Bake FPS:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Optimizer" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Linear Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angular Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angle" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Clips" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Start(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "End(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Filters" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source path is empty." +msgstr "源路径为空。" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error importing scene." +msgstr "导入场景出错。" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import 3D Scene" +msgstr "导入3D场景" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source Scene:" +msgstr "源场景:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Same as Target Scene" +msgstr "与目标场景相同" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Shared" +msgstr "共享的" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Target Texture Folder:" +msgstr "目标贴图目录:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Options:" +msgstr "选项:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Post-Process Script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Custom Root Node Type:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "The Following Files are Missing:" +msgstr "找不到下列文件:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Anyway" +msgstr "仍然导入" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Cancel" +msgstr "取消" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import & Open" +msgstr "导入|打开" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Edited scene has not been saved, open imported scene anyway?" +msgstr "正在编辑的场景尚未保存,仍然要打开导入的场景吗?" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Importing Scene.." +msgstr "导入场景" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Running Custom Script.." +msgstr "执行自定义脚本.." + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error running post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Image:" +msgstr "导入图片:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Can't import a file over itself:" +msgstr "不允许导入文件本身:" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't localize path: %s (already local)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Saving.." +msgstr "保存中..." + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "3D Scene Animation" +msgstr "3D场景动画" + #: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "No source font file!" msgstr "请设置源字体文件!" @@ -5653,22 +5742,6 @@ msgid "Failed opening as BMFont file." msgstr "打开位图字体失败。" #: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error initializing FreeType." -msgstr "初始化FreeType出错。" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Unknown font format." -msgstr "未知的字体格式。" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Error loading font." -msgstr "加载字体出错。" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp -msgid "Invalid font size." -msgstr "字体大小非法。" - -#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Invalid font custom source." msgstr "自定义字体文件非法。" @@ -5693,62 +5766,6 @@ msgstr "源音效文件:" msgid "Audio Sample" msgstr "音效" -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Invalid source!" -msgstr "输入源非法!" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Invalid translation source!" -msgstr "源语言文件非法!" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Column" -msgstr "列" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "No items to import!" -msgstr "没有要导入的项目!" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "No target path!" -msgstr "目标路径为空!" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Import Translations" -msgstr "导入多种语言翻译" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Couldn't import!" -msgstr "无法导入!" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Import Translation" -msgstr "导入语言翻译" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Source CSV:" -msgstr "源CSV文件:" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Ignore First Row" -msgstr "忽略第一行" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Compress" -msgstr "压缩" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Add to Project (engine.cfg)" -msgstr "添加到项目(engine.cfg)" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Import Languages:" -msgstr "导入语言:" - -#: tools/editor/io_plugins/editor_translation_import_plugin.cpp -msgid "Translation" -msgstr "语言" - #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "No meshes to import!" msgstr "没有要导入的Mesh" @@ -5769,6 +5786,12 @@ msgstr "Mesh" msgid "Surface %d" msgstr "" +#~ msgid "Keep Existing, Merge with New" +#~ msgstr "保留已有,与新的合并。" + +#~ msgid "Keep Existing, Ignore New" +#~ msgstr "保留已有,忽略新的。" + #~ msgid "Scene Tree:" #~ msgstr "场景树:" |