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

Commit be0896ba authored by LuK1337's avatar LuK1337
Browse files

Fix warning in app_copyright string resource

Fixes: packages/apps/Etar/res/values/strings.xml:556: warn: multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?.
Change-Id: Iab287d6fa945c7db539e91c8b2f322d40e7167d8
parent 29502ac2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -553,7 +553,7 @@
    <string name="app_authors" translatable="false">The Etar Project</string>
    <string name="app_authors_url" translatable="false">https://github.com/Etar-Group/Etar-Calendar/graphs/contributors</string>
    <string name="app_changelog" translatable="false">https://github.com/Etar-Group/Etar-Calendar/releases</string>
    <string name="app_copyright">\u00a9 2015-<xliff:g>%s</xliff:g> The Etar Project. Portions \u00a9 2005-<xliff:g>%s</xliff:g> The Android Open Source Project.</string>
    <string name="app_copyright">\u00a9 2015-<xliff:g>%1$s</xliff:g> The Etar Project. Portions \u00a9 2005-<xliff:g>%1$s</xliff:g> The Android Open Source Project.</string>
    <string name="app_issues_url" translatable="false">https://github.com/Etar-Group/Etar-Calendar/issues</string>
    <string name="app_license" translatable="false">GPLv3</string>
    <string name="app_license_url" translatable="false">https://www.gnu.org/licenses/gpl-3.0.html</string>
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class AboutFragment : Fragment() {
        view.findViewById<TextView>(R.id.version).text = getVersionNumber()

        val year = Calendar.getInstance().get(Calendar.YEAR).toString()
        view.findViewById<TextView>(R.id.copyright).text = getString(R.string.app_copyright, year, year)
        view.findViewById<TextView>(R.id.copyright).text = getString(R.string.app_copyright, year)

        view.findViewById<LinearLayout>(R.id.authorsLayout).setOnClickListener {
            startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.app_authors_url))))