Impossible to update translations

Bug #1290492 reported by Riccardo Padovani
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
Fix Released
Undecided
Victor Thompson
Ubuntu Calendar App
Fix Released
Undecided
Victor Thompson
Ubuntu Clock App
Fix Released
High
Victor Thompson
Ubuntu File Manager App
Fix Released
Undecided
Victor Thompson
Ubuntu Music App
Fix Released
High
Victor Thompson
Ubuntu Shorts App
Fix Released
Undecided
Victor Thompson
Ubuntu Terminal App
Fix Released
Undecided
Victor Thompson
Ubuntu Weather App
Fix Released
Undecided
Victor Thompson

Bug Description

When a developer tries to update translations following usual commands (qmake && make pot in po/ directory) there is an error, and no new file is generated:

mkdir -p ../.build
awk 'BEGIN { FS="=" }; /Name/ {print "var s = i18n.tr(\42" $2 "\42);"}' ../ubuntu-calculator-app.desktop > ../.build/ubuntu-calculator-app.desktop.js
awk: cmd. line:1: fatal: cannot open file `../ubuntu-calculator-app.desktop' for reading (No such file or directory)
make: *** [desktopfile] Error 2

Related branches

Revision history for this message
Riccardo Padovani (rpadovani) wrote :

It affects all core apps. I supposed is cause by recent passage to cmake

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Mmm.. this is no good. cmake does build the translations. Some files were renamed, perhaps the tool is looking in the wrong place now.

Revision history for this message
Victor Thompson (vthompson) wrote :

I made the following change to the music app and it seemed to build the po files:

=== modified file 'po/po.pro'
--- po/po.pro 2013-09-28 06:04:29 +0000
+++ po/po.pro 2014-03-10 23:21:47 +0000
@@ -10,14 +10,14 @@
 PROJECTNAME = $$system(basename ../*.qmlproject)
 PROJECTNAME = $$replace(PROJECTNAME,.qmlproject,)

-DESKTOPFILE = ../$${PROJECTNAME}.desktop
+DESKTOPFILE = ../com.ubuntu.music_music.desktop.in

 SOURCECODE = ../*.qml \
              ../*.js \
              ../common/*.qml

 BUILDDIR = ../.build
-DESKTOPFILETEMP = $${BUILDDIR}/$${PROJECTNAME}.desktop.js
+DESKTOPFILETEMP = $${BUILDDIR}/com.ubuntu.music_music.desktop.in

 message("")
 message(" Project Name: $$PROJECTNAME ")

Revision history for this message
Victor Thompson (vthompson) wrote :

I mean modify the pot file, not build the po files.

Changed in music-app:
status: New → Confirmed
importance: Undecided → High
Changed in ubuntu-clock-app:
status: New → Confirmed
Changed in music-app:
status: Confirmed → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-filemanager-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-clock-app:
status: Confirmed → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-calendar-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-weather-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-rssreader-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Changed in ubuntu-calculator-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-rssreader-app at revision 189, scheduled for release in ubuntu-rssreader-app, milestone alpha-1

Changed in ubuntu-rssreader-app:
status: In Progress → Fix Committed
Changed in ubuntu-terminal-app:
status: New → In Progress
assignee: nobody → Victor Thompson (vthompson)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 231, scheduled for release in ubuntu-calculator-app, milestone 1.6

Changed in ubuntu-calculator-app:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone 1.0

Changed in music-app:
status: In Progress → Fix Committed
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
Changed in music-app:
status: Fix Committed → Fix Released
Changed in ubuntu-rssreader-app:
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-filemanager-app at revision 142, scheduled for release in ubuntu-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: In Progress → Fix Committed
Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released
Changed in ubuntu-clock-app:
importance: Undecided → High
milestone: none → 1.8
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-weather-app at revision 223, scheduled for release in ubuntu-weather-app, milestone alpha-1

Changed in ubuntu-weather-app:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision 226, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-clock-app at revision 383, scheduled for release in ubuntu-clock-app, milestone 1.8

Changed in ubuntu-clock-app:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-terminal-app at revision 48, scheduled for release in ubuntu-terminal-app, milestone alpha-1

Changed in ubuntu-terminal-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
Changed in ubuntu-clock-app:
status: Fix Committed → Fix Released
Changed in ubuntu-terminal-app:
status: Fix Committed → Fix Released
Changed in ubuntu-weather-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.