--089e0153758efee6e704e70b756b Content-Type: text/plain; charset=UTF-8 That 's' means it is a string, and it's required. Actually if a translator removes it, it will make the program crash... On Sun, Sep 22, 2013 at 5:14 PM, Albert Astals Cid wrote: > AlbertV question about the Java formatting, you use for that string, is %1s > part of the formatter (i.e. the 's' says %1 has to be a string or something > like that) or is that s will be appended after %1 or it a typo or something > else? > > Cheers, > AlbertA > > El Diumenge, 22 de setembre de 2013, a les 12:24:31, Yuri Chornoivan va > escriure: > > Hi, > > > > kdeconnect-android template contains a string "Pairing request from %1s" > > (pairing_request_from) which is automatically marked as c-formatted. > > > > The string handler in Java is as follows [1]: > > > > .setContentTitle(res.getString(R.string.pairing_request_from, getName())) > > > > The question is as follows, is the "s" and c-formatting essential for > this > > string? > > > > Thanks in advance for your answers. > > > > Best regards, > > Yuri > > > > [1] > > > https://projects.kde.org/projects/playground/base/kdeconnect-android/reposit > > > ory/revisions/master/entry/KdeConnect/src/main/java/org/kde/kdeconnect/Devic > > e.java > > --089e0153758efee6e704e70b756b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That 's' means it is a string, and it's requir= ed.=C2=A0Actually if a translator removes it, it will make the program cras= h...


On = Sun, Sep 22, 2013 at 5:14 PM, Albert Astals Cid <aacid@kde.org> = wrote:
AlbertV question about the Java formatting, = you use for that string, is %1s
part of the formatter (i.e. the 's' says %1 has to be a string or s= omething
like that) or is that s will be appended after %1 or it a typo or something=
else?

Cheers,
=C2=A0 AlbertA

El Diumenge, 22 de setembre de 2013, a les 12:24:31, Yuri Chornoivan va
escriure:
> Hi,
>
> kdeconnect-android template contains a string "Pairing request fr= om %1s"
> (pairing_request_from) which is automatically marked as c-formatted. >
> The string handler in Java is as follows [1]:
>
> .setContentTitle(res.getString(R.string.pairing_request_from, getName(= )))
>
> The question is as follows, is the "s" and c-formatting esse= ntial for this
> string?
>
> Thanks in advance for your answers.
>
> Best regards,
> Yuri
>
> [1]
> https://projects.kde.org/projects/play= ground/base/kdeconnect-android/reposit
> ory/revisions/master/entry/KdeConnect/src/main/java/org/kde/kdeconnect= /Devic
> e.java


--089e0153758efee6e704e70b756b--