Changeset 13318 in josm


Ignore:
Timestamp:
2018-01-14T01:38:09+01:00 (3 months ago)
Author:
Don-vip
Message:

see #15682 - fix messages.properties

Location:
trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/org/glassfish/json/messages.properties

    r6756 r13318  
    1 parser.getString.err=JsonParser#getString() is valid only KEY_NAME, VALUE_STRING, VALUE_NUMBER parser states. \
     1#
     2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3#
     4# Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved.
     5#
     6# The contents of this file are subject to the terms of either the GNU
     7# General Public License Version 2 only ("GPL") or the Common Development
     8# and Distribution License("CDDL") (collectively, the "License").  You
     9# may not use this file except in compliance with the License.  You can
     10# obtain a copy of the License at
     11# https://oss.oracle.com/licenses/CDDL+GPL-1.1
     12# or LICENSE.txt.  See the License for the specific
     13# language governing permissions and limitations under the License.
     14#
     15# When distributing the software, include this License Header Notice in each
     16# file and include the License file at LICENSE.txt.
     17#
     18# GPL Classpath Exception:
     19# Oracle designates this particular file as subject to the "Classpath"
     20# exception as provided by Oracle in the GPL Version 2 section of the License
     21# file that accompanied this code.
     22#
     23# Modifications:
     24# If applicable, add the following below the License Header, with the fields
     25# enclosed by brackets [] replaced by your own identifying information:
     26# "Portions Copyright [year] [name of copyright owner]"
     27#
     28# Contributor(s):
     29# If you wish your version of this file to be governed by only the CDDL or
     30# only the GPL Version 2, indicate your decision by adding "[Contributor]
     31# elects to include this software in this distribution under the [CDDL or GPL
     32# Version 2] license."  If you don't indicate a single choice of license, a
     33# recipient has the option to distribute your version of this file under
     34# either the CDDL, the GPL Version 2 or to extend the choice of license to
     35# its licensees as provided above.  However, if you add GPL Version 2 code
     36# and therefore, elected the GPL Version 2 license, then the option applies
     37# only if the new code is made subject to such option by the copyright
     38# holder.
     39#
     40
     41internal.error=Internal Error
     42
     43parser.getString.err=JsonParser#getString() is valid only for KEY_NAME, VALUE_STRING, VALUE_NUMBER parser states. \
    244  But current parser state is {0}
    3 parser.isIntegralNumber.err=JsonParser#isIntegralNumber() is valid only VALUE_NUMBER parser state. \
     45parser.isIntegralNumber.err=JsonParser#isIntegralNumber() is valid only for VALUE_NUMBER parser state. \
    446  But current parser state is {0}
    5 parser.getInt.err=JsonParser#getInt() is valid only VALUE_NUMBER parser state. \
     47parser.getInt.err=JsonParser#getInt() is valid only for VALUE_NUMBER parser state. \
    648  But current parser state is {0}
    7 parser.getLong.err=JsonParser#getLong() is valid only VALUE_NUMBER parser state. \
     49parser.getLong.err=JsonParser#getLong() is valid only for VALUE_NUMBER parser state. \
    850  But current parser state is {0}
    9 parser.getBigDecimal.err=JsonParser#getBigDecimal() is valid only VALUE_NUMBER parser state. \
     51parser.getBigDecimal.err=JsonParser#getBigDecimal() is valid only for VALUE_NUMBER parser state. \
     52  But current parser state is {0}
     53parser.getArray.err=JsonParser#getArray() or JsonParser#getArrayStream() is valid only for START_ARRAY parser state. \
     54  But current parser state is {0}
     55parser.getObject.err=JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. \
     56  But current parser state is {0}
     57parser.getValue.err=JsonParser#getValue() is valid only for START_ARRAY, START_OBJECT, KEY_NAME, VALUE_STRING, VALUE_NUMBER, VALUE_NULL, VALUE_FALSE, VALUE_TRUE parser states. \
     58  But current parser state is {0}
     59parser.getValueStream.err=JsonParser#getValueStream() the parser must not be in an array or object. \
    1060  But current parser state is {0}
    1161parser.expected.eof=Expected EOF token, but got {0}
    1262parser.tokenizer.close.io=I/O error while closing JSON tokenizer
    1363parser.invalid.token=Invalid token={0} at {1}. Expected tokens are: {2}
     64parser.state.err=Unknown value type {0}
     65parser.scope.err=Cannot be called for value {0}
     66parser.input.enc.detect.failed=Cannot auto-detect encoding, not enough chars
     67parser.input.enc.detect.ioerr=I/O error while auto-detecting the encoding of stream
    1468
    1569generator.flush.io.err=I/O error while flushing generated JSON
     
    2579
    2680reader.read.already.called=read/readObject/readArray/close method is already called
    27 reader.expected.array.got.object=Cannot read JSON array, found JSON object
    28 reader.expected.object.got.array=Cannot read JSON object, found JSON array
    2981
    3082objbuilder.name.null=Name in JsonObject's name/value pair cannot be null
     
    3688arrbuilder.object.builder.null=Object builder that is used to add a value to JSON array cannot be null
    3789arrbuilder.array.builder.null=Array builder that is used to add a value to JSON array cannot be null
     90arrbuilder.valuelist.null=Index: {0}, Size: {1}
    3891
    3992tokenizer.unexpected.char=Unexpected char {0} at {1}
    4093tokenizer.expected.char=Unexpected char {0} at {1}, expecting ''{2}''
    4194tokenizer.io.err=I/O error while parsing JSON
     95
     96pointer.format.invalid=A non-empty JSON Pointer must begin with a ''/''
     97pointer.mapping.missing=The JSON Object ''{0}'' contains no mapping for the name ''{1}''
     98pointer.reference.invalid=The reference value in a JSON Pointer must be a JSON Object or a JSON Array, was ''{0}''
     99pointer.array.index.err=Array index format error, was ''{0}''
     100pointer.array.index.illegal=Illegal integer format, was ''{0}''
     101
     102noderef.value.add.err=The root value only allows adding a JSON object or array
     103noderef.value.cannot.remove=The JSON value at the root cannot be removed
     104noderef.object.missing=Non-existing name/value pair in the object for key {0}
     105noderef.array.index.err=An array item index is out of range. Index: {0}, Size: {1}
     106
     107patch.must.be.array=A JSON Patch must be an array of JSON Objects
     108patch.move.proper.prefix=The ''{0}'' path of the patch operation ''move'' is a proper prefix of the ''{1}'' path
     109patch.move.target.null=The ''{0}'' path of the patch operation ''move'' does not exist in target object
     110patch.test.failed=The JSON Patch operation ''test'' failed for path ''{0}'' and value ''{1}''
     111patch.illegal.operation=Illegal value for the op member of the JSON Patch operation: ''{0}''
     112patch.member.missing=The JSON Patch operation ''{0}'' must contain a ''{1}'' member
Note: See TracChangeset for help on using the changeset viewer.