Skip to content
This repository has been archived by the owner. It is now read-only.

JDK-8259732: JDK 16 L10n resource file update - msg drop 10 #123

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter
Filter file types
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -1,4 +1,4 @@
# Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2010, 2021, Oracle and/or its affiliates. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -158,7 +158,7 @@ OptionsMenu.dragEnabled_accessible_description=\u30C9\u30E9\u30C3\u30B0\u3092\u6

FileMenu.file.labelAndMnemonic=\u30D5\u30A1\u30A4\u30EB(&F)
FileMenu.accessible_description=\u30D5\u30A1\u30A4\u30EB\u30FB\u30E1\u30CB\u30E5\u30FC
FileMenu.about.labelAndMnemonic=\u6982\u8981(&B)
FileMenu.about.labelAndMnemonic=\u60C5\u5831(&B)
FileMenu.about_accessible_description=SwingSet2\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u8A73\u7D30\u3092\u78BA\u8A8D\u3057\u307E\u3059
FileMenu.open.labelAndMnemonic=\u958B\u304F(&O)
FileMenu.open_accessible_description=\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F\u305F\u3081\u306E\u30E1\u30CB\u30E5\u30FC\u9805\u76EE
@@ -1,5 +1,5 @@
#
# Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -404,9 +404,6 @@ compiler.err.final.parameter.may.not.be.assigned=final\u30D1\u30E9\u30E1\u30FC\u
# 0: symbol
compiler.err.try.resource.may.not.be.assigned=\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u53EF\u80FD\u306A\u30EA\u30BD\u30FC\u30B9{0}\u306B\u5024\u3092\u4EE3\u5165\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093

# 0: symbol
compiler.err.pattern.binding.may.not.be.assigned=\u30D1\u30BF\u30FC\u30F3\u30FB\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0{0}\u306B\u5024\u3092\u4EE3\u5165\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093

# 0: symbol
compiler.err.multicatch.parameter.may.not.be.assigned=\u8907\u6570catch\u30D1\u30E9\u30E1\u30FC\u30BF{0}\u306B\u5024\u3092\u4EE3\u5165\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093

@@ -455,8 +452,6 @@ compiler.err.illegal.self.ref=\u521D\u671F\u5316\u5B50\u5185\u306E\u81EA\u5DF1\u
# 0: symbol
compiler.warn.self.ref=\u521D\u671F\u5316\u5B50\u5185\u306E\u5909\u6570''{0}''\u306E\u81EA\u5DF1\u53C2\u7167

compiler.err.illegal.generic.type.for.instof=instanceof\u306E\u7DCF\u79F0\u578B\u304C\u4E0D\u6B63\u3067\u3059

# 0: type
compiler.err.illegal.initializer.for.type={0}\u306E\u521D\u671F\u5316\u5B50\u304C\u4E0D\u6B63\u3067\u3059

@@ -1010,9 +1005,15 @@ compiler.misc.varargs.trustme.on.reifiable.varargs=\u53EF\u5909\u5F15\u6570\u898
# 0: type, 1: type
compiler.err.instanceof.reifiable.not.safe={0}\u3092{1}\u306B\u5B89\u5168\u306B\u30AD\u30E3\u30B9\u30C8\u3067\u304D\u307E\u305B\u3093

# 0: type, 1: type
compiler.err.instanceof.pattern.no.subtype=\u30D1\u30BF\u30FC\u30F3\u30FB\u30BF\u30A4\u30D7{0}\u306F\u5F0F\u30BF\u30A4\u30D7{1}\u306E\u30B5\u30D6\u30BF\u30A4\u30D7\u3067\u3059

# 0: symbol
compiler.misc.varargs.trustme.on.non.varargs.meth=\u30E1\u30BD\u30C3\u30C9{0}\u306F\u53EF\u5909\u5F15\u6570\u30E1\u30BD\u30C3\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002

# 0: symbol
compiler.misc.varargs.trustme.on.non.varargs.accessor=\u30A2\u30AF\u30BB\u30B5{0}\u306F\u53EF\u5909\u5F15\u6570\u30E1\u30BD\u30C3\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002

# 0: symbol
compiler.misc.varargs.trustme.on.virtual.varargs=\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u30FB\u30E1\u30BD\u30C3\u30C9{0}\u306Ffinal\u3067\u3082private\u3067\u3082\u3042\u308A\u307E\u305B\u3093\u3002

@@ -1265,6 +1266,9 @@ compiler.warn.dir.path.element.not.found=\u4E0D\u6B63\u306A\u30D1\u30B9\u8981\u7
# 0: file name
compiler.warn.dir.path.element.not.directory=\u4E0D\u6B63\u306A\u30D1\u30B9\u8981\u7D20"{0}": \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306F\u5B58\u5728\u3057\u307E\u305B\u3093

# 0: symbol, 1: symbol, 2: symbol
compiler.warn.missing-explicit-ctor=\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3055\u308C\u305F\u30D1\u30C3\u30B1\u30FC\u30B8{1}\u306E\u30AF\u30E9\u30B9{0}\u306F\u660E\u793A\u7684\u306A\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3092\u5BA3\u8A00\u3057\u306A\u3044\u305F\u3081\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3092\u30E2\u30B8\u30E5\u30FC\u30EB{2}\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u516C\u958B\u3057\u307E\u3059

compiler.warn.finally.cannot.complete=finally\u7BC0\u304C\u6B63\u5E38\u306B\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093

# 0: name
@@ -1633,6 +1637,8 @@ compiler.misc.bad.const.pool.tag=\u5B9A\u6570\u30D7\u30FC\u30EB\u30FB\u30BF\u30B

compiler.misc.bad.const.pool.tag.at=\u5B9A\u6570\u30D7\u30FC\u30EB\u30FB\u30BF\u30B0{1}\u3067\u306E{0}\u304C\u4E0D\u6B63\u3067\u3059

compiler.misc.unexpected.const.pool.tag.at=\u4E88\u671F\u3057\u306A\u3044\u5B9A\u6570\u30D7\u30FC\u30EB\u30FB\u30BF\u30B0: {0}\u304C{1}\u306B\u3042\u308A\u307E\u3059

compiler.misc.bad.signature=\u30B7\u30B0\u30CB\u30C1\u30E3{0}\u304C\u4E0D\u6B63\u3067\u3059

compiler.misc.bad.type.annotation.value=\u6CE8\u91C8\u30BF\u30FC\u30B2\u30C3\u30C8\u578B\u306E\u5024\u306E\u578B\u304C\u4E0D\u6B63\u3067\u3059: {0}
@@ -1664,6 +1670,8 @@ compiler.misc.invalid.static.interface=\u30D0\u30FC\u30B8\u30E7\u30F3{0}.{1}\u30
# 0: string (classfile major version), 1: string (classfile minor version)
compiler.misc.anachronistic.module.info=\u30D0\u30FC\u30B8\u30E7\u30F3{0}.{1}\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u306B\u30E2\u30B8\u30E5\u30FC\u30EB\u5BA3\u8A00\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F

compiler.misc.module.info.definition.expected=module-info\u5B9A\u7FA9\u304C\u5FC5\u8981\u3067\u3059

# 0: name
compiler.misc.file.doesnt.contain.class=\u30D5\u30A1\u30A4\u30EB\u306B\u30AF\u30E9\u30B9{0}\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093

@@ -1674,6 +1682,9 @@ compiler.misc.file.does.not.contain.module=\u30D5\u30A1\u30A4\u30EB\u306B\u30E2\

compiler.misc.illegal.start.of.class.file=\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u958B\u59CB\u304C\u4E0D\u6B63\u3067\u3059

# 0: name
compiler.misc.method.descriptor.invalid=\u30E1\u30BD\u30C3\u30C9\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u304C{0}\u306B\u5BFE\u3057\u3066\u7121\u52B9\u3067\u3059

compiler.misc.unable.to.access.file=\u30D5\u30A1\u30A4\u30EB{0}\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093

compiler.misc.unicode.str.not.supported=\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u5185\u306EUnicode\u6587\u5B57\u5217\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093
@@ -2475,7 +2486,13 @@ compiler.err.sealed.class.must.have.subclasses=\u30B7\u30FC\u30EB\u30FB\u30AF\u3

# errors in subclasses of sealed classes
# 0: symbol
compiler.err.cant.inherit.from.sealed=\u30AF\u30E9\u30B9\u306F\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9{0}\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093
compiler.err.cant.inherit.from.sealed=\u30AF\u30E9\u30B9\u306F\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9{0}\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093(''permits''\u53E5\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3067\u3059)

# 0: symbol
compiler.err.class.in.unnamed.module.cant.extend.sealed.in.diff.package=\u540D\u524D\u306E\u306A\u3044\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u30AF\u30E9\u30B9{0}\u306F\u5225\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093

# 0: symbol, 1: symbol
compiler.err.class.in.module.cant.extend.sealed.in.diff.module=\u30E2\u30B8\u30E5\u30FC\u30EB{1}\u306E\u30AF\u30E9\u30B9{0}\u306F\u5225\u306E\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093

# 0: symbol
compiler.err.non.sealed.with.no.sealed.supertype=non-sealed\u4FEE\u98FE\u5B50\u306F\u3053\u3053\u3067\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093\n(\u30AF\u30E9\u30B9{0}\u306B\u30B7\u30FC\u30EB\u30FB\u30B9\u30FC\u30D1\u30FC\u30BF\u30A4\u30D7\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093)
@@ -2486,7 +2503,11 @@ compiler.err.non.sealed.or.sealed.expected=sealed\u307E\u305F\u306Fnon-sealed\u4

compiler.err.sealed.or.non.sealed.local.classes.not.allowed=sealed\u307E\u305F\u306Fnon-sealed\u306E\u30ED\u30FC\u30AB\u30EB\u30FB\u30AF\u30E9\u30B9\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093

compiler.err.local.classes.cant.extend.sealed=\u30ED\u30FC\u30AB\u30EB\u30FB\u30AF\u30E9\u30B9\u306F\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093
# 0: fragment
compiler.err.local.classes.cant.extend.sealed={0}\u30AF\u30E9\u30B9\u306F\u30B7\u30FC\u30EB\u30FB\u30AF\u30E9\u30B9\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093
compiler.misc.anonymous=\u533F\u540D

compiler.misc.local=\u30ED\u30FC\u30AB\u30EB

###
# errors related to records
@@ -2497,6 +2518,8 @@ compiler.err.record.cant.declare.field.modifiers=\u30EC\u30B3\u30FC\u30C9\u30FB\
# 0: symbol
compiler.err.illegal.record.component.name=\u30EC\u30B3\u30FC\u30C9\u30FB\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u540D{0}\u304C\u7121\u52B9\u3067\u3059

compiler.err.record.component.and.old.array.syntax=\u65E7\u5F0F\u306E\u914D\u5217\u8868\u8A18\u6CD5\u306F\u30EC\u30B3\u30FC\u30C9\u30FB\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093

# accessor methods
# 0: symbol, 1: fragment
compiler.err.invalid.accessor.method.in.record=\u30EC\u30B3\u30FC\u30C9{0}\u306B\u7121\u52B9\u306A\u30A2\u30AF\u30BB\u30B5\u30FB\u30E1\u30BD\u30C3\u30C9\u304C\u3042\u308A\u307E\u3059\n({1})
@@ -2541,7 +2564,8 @@ compiler.err.record.cannot.declare.instance.fields=\u30D5\u30A3\u30FC\u30EB\u30C
# 0: symbol
compiler.err.invalid.supertype.record=\u30AF\u30E9\u30B9\u306F\u76F4\u63A5{0}\u3092\u62E1\u5F35\u3067\u304D\u307E\u305B\u3093

compiler.err.first.statement.must.be.call.to.another.constructor=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u304C\u6A19\u6E96\u3067\u306A\u3044\u305F\u3081\u3001\u5148\u982D\u6587\u304C\u4ED6\u306E\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3092\u547C\u3073\u51FA\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059
# 0: symbol
compiler.err.first.statement.must.be.call.to.another.constructor=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u304C\u6A19\u6E96\u3067\u306A\u3044\u305F\u3081\u3001\u5148\u982D\u6587\u304C\u30AF\u30E9\u30B9{0}\u306E\u4ED6\u306E\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3092\u547C\u3073\u51FA\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059

compiler.err.instance.initializer.not.allowed.in.records=\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u30FB\u30A4\u30CB\u30B7\u30E3\u30E9\u30A4\u30B6\u306F\u30EC\u30B3\u30FC\u30C9\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093

@@ -2639,3 +2663,6 @@ compiler.err.file.not.found=\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u30
compiler.err.preview.not.latest=--enable-preview\u304C\u6307\u5B9A\u3055\u308C\u305F\u30BD\u30FC\u30B9\u30FB\u30EA\u30EA\u30FC\u30B9{0}\u306F\u7121\u52B9\u3067\u3059\n(\u30D7\u30EC\u30D3\u30E5\u30FC\u8A00\u8A9E\u6A5F\u80FD\u306F\u30EA\u30EA\u30FC\u30B9{1}\u3067\u306E\u307F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u3059)

compiler.err.preview.without.source.or.release=--enable-preview\u306F-source\u307E\u305F\u306F--release\u3068\u3068\u3082\u306B\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059

compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\u5024\u30D9\u30FC\u30B9\u30FB\u30AF\u30E9\u30B9\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3067\u540C\u671F\u3057\u3088\u3046\u3068\u3057\u307E\u3057\u305F

@@ -1,5 +1,5 @@
#
# Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -404,9 +404,6 @@ compiler.err.final.parameter.may.not.be.assigned=\u4E0D\u80FD\u5206\u914D\u6700\
# 0: symbol
compiler.err.try.resource.may.not.be.assigned=\u53EF\u80FD\u672A\u5206\u914D\u53EF\u81EA\u52A8\u5173\u95ED\u7684\u8D44\u6E90{0}

# 0: symbol
compiler.err.pattern.binding.may.not.be.assigned=\u4E0D\u80FD\u5206\u914D\u6A21\u5F0F\u7ED1\u5B9A {0}

# 0: symbol
compiler.err.multicatch.parameter.may.not.be.assigned=\u53EF\u80FD\u672A\u5206\u914D multi-catch \u53C2\u6570{0}

@@ -455,8 +452,6 @@ compiler.err.illegal.self.ref=\u521D\u59CB\u5316\u7A0B\u5E8F\u4E2D\u5B58\u5728\u
# 0: symbol
compiler.warn.self.ref=\u53D8\u91CF ''{0}'' \u7684\u521D\u59CB\u5316\u7A0B\u5E8F\u4E2D\u5B58\u5728\u81EA\u5F15\u7528

compiler.err.illegal.generic.type.for.instof=instanceof \u7684\u6CDB\u578B\u7C7B\u578B\u4E0D\u5408\u6CD5

# 0: type
compiler.err.illegal.initializer.for.type={0}\u7684\u521D\u59CB\u5316\u7A0B\u5E8F\u4E0D\u5408\u6CD5

@@ -1010,9 +1005,15 @@ compiler.misc.varargs.trustme.on.reifiable.varargs=Varargs \u5143\u7D20\u7C7B\u5
# 0: type, 1: type
compiler.err.instanceof.reifiable.not.safe={0} \u65E0\u6CD5\u5B89\u5168\u5730\u8F6C\u6362\u4E3A {1}

# 0: type, 1: type
compiler.err.instanceof.pattern.no.subtype=\u6A21\u5F0F\u7C7B\u578B {0} \u662F\u8868\u8FBE\u5F0F\u7C7B\u578B {1} \u7684\u5B50\u7C7B\u578B

# 0: symbol
compiler.misc.varargs.trustme.on.non.varargs.meth=\u65B9\u6CD5 {0} \u4E0D\u662F varargs \u65B9\u6CD5\u3002

# 0: symbol
compiler.misc.varargs.trustme.on.non.varargs.accessor=\u5B58\u53D6\u65B9\u6CD5 {0} \u4E0D\u662F varargs \u65B9\u6CD5\u3002

# 0: symbol
compiler.misc.varargs.trustme.on.virtual.varargs=\u5B9E\u4F8B\u65B9\u6CD5 {0} \u65E2\u4E0D\u662F\u6700\u7EC8\u7684, \u4E5F\u4E0D\u662F\u79C1\u6709\u7684\u3002

@@ -1265,6 +1266,9 @@ compiler.warn.dir.path.element.not.found=\u9519\u8BEF\u7684\u8DEF\u5F84\u5143\u7
# 0: file name
compiler.warn.dir.path.element.not.directory=\u9519\u8BEF\u7684\u8DEF\u5F84\u5143\u7D20 "{0}": \u4E0D\u662F\u76EE\u5F55

# 0: symbol, 1: symbol, 2: symbol
compiler.warn.missing-explicit-ctor=\u5BFC\u51FA\u7684\u7A0B\u5E8F\u5305 {1} \u4E2D\u7684\u7C7B {0} \u672A\u58F0\u660E\u663E\u5F0F\u6784\u9020\u5668\uFF0C\u56E0\u6B64\u5C06\u5411\u6A21\u5757 {2} \u7684\u5BA2\u6237\u673A\u516C\u5F00\u9ED8\u8BA4\u6784\u9020\u5668

compiler.warn.finally.cannot.complete=finally \u5B50\u53E5\u65E0\u6CD5\u6B63\u5E38\u5B8C\u6210

# 0: name
@@ -1633,6 +1637,8 @@ compiler.misc.bad.const.pool.tag=\u9519\u8BEF\u7684\u5E38\u91CF\u6C60\u6807\u8BB

compiler.misc.bad.const.pool.tag.at=\u9519\u8BEF\u7684\u5E38\u91CF\u6C60\u6807\u8BB0: {0}, \u4F4D\u4E8E{1}

compiler.misc.unexpected.const.pool.tag.at=\u610F\u5916\u7684\u5E38\u91CF\u6C60\u6807\u8BB0\uFF1A{0}\uFF0C\u4F4D\u4E8E {1}

compiler.misc.bad.signature=\u9519\u8BEF\u7684\u7B7E\u540D: {0}

compiler.misc.bad.type.annotation.value=\u9519\u8BEF\u7684\u7C7B\u578B\u6CE8\u91CA\u76EE\u6807\u7C7B\u578B\u503C: {0}
@@ -1664,6 +1670,8 @@ compiler.misc.invalid.static.interface=\u5728 {0}.{1} \u7248\u7C7B\u6587\u4EF6\u
# 0: string (classfile major version), 1: string (classfile minor version)
compiler.misc.anachronistic.module.info=\u5728 {0}.{1} \u7248\u7C7B\u6587\u4EF6\u4E2D\u627E\u5230\u6A21\u5757\u58F0\u660E

compiler.misc.module.info.definition.expected=\u9700\u8981 module-info \u5B9A\u4E49

# 0: name
compiler.misc.file.doesnt.contain.class=\u6587\u4EF6\u4E0D\u5305\u542B\u7C7B{0}

@@ -1674,6 +1682,9 @@ compiler.misc.file.does.not.contain.module=\u6587\u4EF6\u4E0D\u5305\u542B\u6A21\

compiler.misc.illegal.start.of.class.file=\u975E\u6CD5\u7684\u7C7B\u6587\u4EF6\u5F00\u59CB

# 0: name
compiler.misc.method.descriptor.invalid=\u65B9\u6CD5\u63CF\u8FF0\u7B26\u5BF9 {0} \u65E0\u6548

compiler.misc.unable.to.access.file=\u65E0\u6CD5\u8BBF\u95EE\u6587\u4EF6: {0}

compiler.misc.unicode.str.not.supported=\u4E0D\u652F\u6301\u7C7B\u6587\u4EF6\u4E2D\u7684 Unicode \u5B57\u7B26\u4E32
@@ -2475,7 +2486,13 @@ compiler.err.sealed.class.must.have.subclasses=\u5BC6\u5C01\u7C7B\u5FC5\u987B\u5

# errors in subclasses of sealed classes
# 0: symbol
compiler.err.cant.inherit.from.sealed=\u7C7B\u4E0D\u5F97\u6269\u5C55\u5BC6\u5C01\u7C7B\uFF1A{0}
compiler.err.cant.inherit.from.sealed=\u7C7B\u4E0D\u5F97\u6269\u5C55\u5BC6\u5C01\u7C7B\uFF1A{0}\uFF08\u56E0\u4E3A\u5B83\u672A\u5217\u5728\u5176 ''permits'' \u5B50\u53E5\u4E2D\uFF09

# 0: symbol
compiler.err.class.in.unnamed.module.cant.extend.sealed.in.diff.package=\u672A\u547D\u540D\u6A21\u5757\u4E2D\u7684\u7C7B {0} \u65E0\u6CD5\u6269\u5C55\u5176\u4ED6\u7A0B\u5E8F\u5305\u4E2D\u7684\u5BC6\u5C01\u7C7B

# 0: symbol, 1: symbol
compiler.err.class.in.module.cant.extend.sealed.in.diff.module=\u6A21\u5757 {1} \u4E2D\u7684\u7C7B {0} \u65E0\u6CD5\u6269\u5C55\u5176\u4ED6\u6A21\u5757\u4E2D\u7684\u5BC6\u5C01\u7C7B

# 0: symbol
compiler.err.non.sealed.with.no.sealed.supertype=\u6B64\u5904\u4E0D\u5141\u8BB8\u4F7F\u7528\u975E\u5BC6\u5C01\u4FEE\u9970\u7B26\n\uFF08\u7C7B {0} \u4E0D\u5177\u6709\u4EFB\u4F55\u5BC6\u5C01\u7684\u8D85\u7C7B\u578B\uFF09
@@ -2486,7 +2503,11 @@ compiler.err.non.sealed.or.sealed.expected=\u9700\u8981\u5BC6\u5C01\u6216\u975E\

compiler.err.sealed.or.non.sealed.local.classes.not.allowed=\u4E0D\u5141\u8BB8\u4F7F\u7528\u5BC6\u5C01\u6216\u975E\u5BC6\u5C01\u672C\u5730\u7C7B

compiler.err.local.classes.cant.extend.sealed=\u672C\u5730\u7C7B\u4E0D\u5F97\u6269\u5C55\u5BC6\u5C01\u7C7B
# 0: fragment
compiler.err.local.classes.cant.extend.sealed={0} \u7C7B\u4E0D\u5F97\u6269\u5C55\u5BC6\u5C01\u7C7B
compiler.misc.anonymous=\u533F\u540D

compiler.misc.local=\u672C\u5730

###
# errors related to records
@@ -2497,6 +2518,8 @@ compiler.err.record.cant.declare.field.modifiers=\u8BB0\u5F55\u7EC4\u4EF6\u4E0D\
# 0: symbol
compiler.err.illegal.record.component.name=\u8BB0\u5F55\u7EC4\u4EF6\u540D\u79F0 {0} \u975E\u6CD5

compiler.err.record.component.and.old.array.syntax=\u8BB0\u5F55\u7EC4\u4EF6\u4E2D\u4E0D\u5141\u8BB8\u4F7F\u7528\u4F20\u7EDF\u6570\u7EC4\u8BB0\u53F7

# accessor methods
# 0: symbol, 1: fragment
compiler.err.invalid.accessor.method.in.record=\u8BB0\u5F55 {0} \u4E2D\u7684\u5B58\u53D6\u65B9\u6CD5\u65E0\u6548\n({1})
@@ -2541,7 +2564,8 @@ compiler.err.record.cannot.declare.instance.fields=\u5B57\u6BB5\u58F0\u660E\u5FC
# 0: symbol
compiler.err.invalid.supertype.record=\u7C7B\u65E0\u6CD5\u76F4\u63A5\u6269\u5C55 {0}

compiler.err.first.statement.must.be.call.to.another.constructor=\u6784\u9020\u5668\u4E0D\u662F\u89C4\u8303\u7684\uFF0C\u56E0\u6B64\u5B83\u7684\u7B2C\u4E00\u4E2A\u8BED\u53E5\u5FC5\u987B\u8C03\u7528\u53E6\u4E00\u4E2A\u6784\u9020\u5668
# 0: symbol
compiler.err.first.statement.must.be.call.to.another.constructor=\u6784\u9020\u5668\u4E0D\u662F\u89C4\u8303\u7684\uFF0C\u56E0\u6B64\u5B83\u7684\u7B2C\u4E00\u4E2A\u8BED\u53E5\u5FC5\u987B\u8C03\u7528\u7C7B {0} \u7684\u53E6\u4E00\u4E2A\u6784\u9020\u5668

compiler.err.instance.initializer.not.allowed.in.records=\u8BB0\u5F55\u4E2D\u4E0D\u5141\u8BB8\u4F7F\u7528\u5B9E\u4F8B\u521D\u59CB\u5316\u7A0B\u5E8F

@@ -2639,3 +2663,6 @@ compiler.err.file.not.found=\u627E\u4E0D\u5230\u6587\u4EF6: {0}
compiler.err.preview.not.latest=\u6E90\u53D1\u884C\u7248 {0} \u4E0E --enable-preview \u4E00\u8D77\u4F7F\u7528\u65F6\u65E0\u6548\n\uFF08\u4EC5\u53D1\u884C\u7248 {1} \u652F\u6301\u9884\u89C8\u8BED\u8A00\u529F\u80FD\uFF09

compiler.err.preview.without.source.or.release=--enable-preview \u5FC5\u987B\u4E0E -source \u6216 --release \u4E00\u8D77\u4F7F\u7528

compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\u5C1D\u8BD5\u5728\u57FA\u4E8E\u503C\u7684\u7C7B\u7684\u5B9E\u4F8B\u4E0A\u540C\u6B65

ProTip! Use n and p to navigate between commits in a pull request.