RFR: 8314070: javax.print: Support IPP output-bin attribute extension [v5]

Alexander Scherbatiy alexsch at openjdk.org
Sat May 11 12:47:20 UTC 2024


On Wed, 1 May 2024 19:30:23 GMT, Alexander Scherbatiy <alexsch at openjdk.org> wrote:

>> src/java.desktop/share/classes/sun/print/resources/serviceui.properties line 32:
>> 
>>> 30: border.jobattributes=Job Attributes
>>> 31: border.media=Media
>>> 32: border.output=Output
>> 
>> You only updated the default file.
>> You MUST update all of them, even if you just use English as above. If you don't do this and you are in (say) Germany with language set to German then the dialog will fail like this
>> 
>> Exception in thread "AWT-EventQueue-0" java.lang.Error: Fatal: Resource for ServiceUI is broken; there is no border.output key in resource
>
> I will look how to translate the `Output` and `Output Trays` into languages used in the serviceui properties.

The translation for the `border.output` and `label.outputbins` properties are added to the fix.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16166#discussion_r1597443091


More information about the client-libs-dev mailing list