Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ba92548 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Adding missing resourcs for the defaul PDF printer media sizes.

Some regions have different media size standards and the fake PDF
printer shows the media sizes for the current locale. Interestingly,
these files were skipped in my previous change while I remember
adding them - maybe did not upload the patch.

bug:11147920

Change-Id: I819ab08fbef08305be89e3acf297328b1a0ded11
parent 5bd70c5e
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>

    <string-array name="pdf_printer_media_sizes" translatable="false">
        <item>NA_LETTER</item>
        <item>NA_GOVT_LETTER</item>
        <item>NA_LEGAL</item>
        <item>NA_JUNIOR_LEGAL</item>
        <item>NA_LEDGER</item>
        <item>NA_TABLOID</item>
        <item>NA_INDEX_3X5</item>
        <item>NA_INDEX_4X6</item>
        <item>NA_INDEX_5X8</item>
        <item>NA_MONARCH</item>
        <item>NA_QUARTO</item>
        <item>NA_FOOLSCAP</item>
    </string-array>

</resources>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>

    <string-array name="pdf_printer_media_sizes" translatable="false">
        <item>NA_LETTER</item>
        <item>NA_GOVT_LETTER</item>
        <item>NA_LEGAL</item>
        <item>NA_JUNIOR_LEGAL</item>
        <item>NA_LEDGER</item>
        <item>NA_TABLOID</item>
        <item>NA_INDEX_3X5</item>
        <item>NA_INDEX_4X6</item>
        <item>NA_INDEX_5X8</item>
        <item>NA_MONARCH</item>
        <item>NA_QUARTO</item>
        <item>NA_FOOLSCAP</item>
    </string-array>

</resources>
+22 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>

    <string name="mediasize_default">NA_LETTER</string>
    <string name="mediasize_standard">@string/mediasize_standard_north_america</string>

</resources>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>

    <string-array name="pdf_printer_media_sizes" translatable="false">
        <item>NA_LETTER</item>
        <item>NA_GOVT_LETTER</item>
        <item>NA_LEGAL</item>
        <item>NA_JUNIOR_LEGAL</item>
        <item>NA_LEDGER</item>
        <item>NA_TABLOID</item>
        <item>NA_INDEX_3X5</item>
        <item>NA_INDEX_4X6</item>
        <item>NA_INDEX_5X8</item>
        <item>NA_MONARCH</item>
        <item>NA_QUARTO</item>
        <item>NA_FOOLSCAP</item>
    </string-array>

</resources>
+41 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>

    <string-array name="pdf_printer_media_sizes" translatable="false">
        <item>JIS_B10</item>
        <item>JIS_B9</item>
        <item>JIS_B8</item>
        <item>JIS_B7</item>
        <item>JIS_B6</item>
        <item>JIS_B5</item>
        <item>JIS_B4</item>
        <item>JIS_B3</item>
        <item>JIS_B2</item>
        <item>JIS_B1</item>
        <item>JIS_B0</item>
        <item>JIS_EXEC</item>
        <item>JPN_CHOU4</item>
        <item>JPN_CHOU3</item>
        <item>JPN_CHOU2</item>
        <item>JPN_HAGAKI</item>
        <item>JPN_OUFUKU</item>
        <item>JPN_KAHU</item>
        <item>JPN_KAKU2</item>
        <item>JPN_YOU4</item>
    </string-array>

</resources>
Loading