From kde-i18n-doc Sat Jun 11 20:16:48 2016 From: "Yuri Chornoivan" Date: Sat, 11 Jun 2016 20:16:48 +0000 To: kde-i18n-doc Subject: Re: Context needed in new taskmanager string Message-Id: X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=146567622127021 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B5 Sat, 11 Jun 2016 23:07:= 28 +0300, Eloy Cuadra : > Hi, > > I think this string in plasma_applet_org.kde.plasma.taskmanager.po is = = > hard to > translate: > > %1 Desktop %2 > > Exactly, what %1 and %2 stand for? I can't find such string in source = = > code. > > Thanks! Hi, According to https://quickgit.kde.org/?p=3Dplasma-desktop.git&a=3Dblob&f=3Dapplets%2F= taskmanager%2Fpackage%2Fcontents%2Fui%2FContextMenu.qml line: 147 for (var i =3D 0; i < virtualDesktopInfo.desktopNames.length; ++i) { menuItem =3D menu.newMenuItem(virtualDesktopsMenu);= menuItem.text =3D i18n("%1 Desktop %2", i + 1, = virtualDesktopInfo.desktopNames[i]); Thus, %1 is a number of desktop in the list and %2 is the name of the = desktop. Hope this helps. Best regards, Yuri