Merge lp:~dobey/ubuntuone-client/update-4-2 into lp:ubuntuone-client/stable-4-2

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 1364
Merged at revision: 1364
Proposed branch: lp:~dobey/ubuntuone-client/update-4-2
Merge into: lp:ubuntuone-client/stable-4-2
Diff against target: 72 lines (+10/-7)
4 files modified
Makefile.am (+1/-0)
VERSION (+1/-0)
configure.ac (+2/-1)
ubuntuone/status/aggregator.py (+6/-6)
To merge this branch: bzr merge lp:~dobey/ubuntuone-client/update-4-2
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+154785@code.launchpad.net

Commit message

[Rodney Dawes]

    Change the notifications language to not use "publish" but share instead.
    Put the version in a file named VERSION to make it easier to read for win/mac.

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile.am'
--- Makefile.am 2013-02-13 23:15:26 +0000
+++ Makefile.am 2013-03-21 18:31:22 +0000
@@ -138,6 +138,7 @@
138 LICENSE \138 LICENSE \
139 LICENSE.OpenSSL \139 LICENSE.OpenSSL \
140 HACKING \140 HACKING \
141 VERSION \
141 bin \142 bin \
142 contrib \143 contrib \
143 tests \144 tests \
144145
=== added file 'VERSION'
--- VERSION 1970-01-01 00:00:00 +0000
+++ VERSION 2013-03-21 18:31:22 +0000
@@ -0,0 +1,1 @@
14.1.91
02
=== modified file 'configure.ac'
--- configure.ac 2013-02-21 00:01:04 +0000
+++ configure.ac 2013-03-21 18:31:22 +0000
@@ -1,7 +1,8 @@
1dnl Process this file with autoconf to produce a configure script.1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.53)2AC_PREREQ(2.53)
33
4AC_INIT([ubuntuone-client], [4.1.91])4# We need to omit the trailing newline when catting the VERSION file
5AC_INIT([ubuntuone-client], m4_esyscmd([cat VERSION | tr -d '\012']))
5AC_CONFIG_SRCDIR([config.h.in])6AC_CONFIG_SRCDIR([config.h.in])
67
7AM_INIT_AUTOMAKE([1.10 foreign tar-ustar])8AM_INIT_AUTOMAKE([1.10 foreign tar-ustar])
89
=== modified file 'ubuntuone/status/aggregator.py'
--- ubuntuone/status/aggregator.py 2012-11-15 13:23:43 +0000
+++ ubuntuone/status/aggregator.py 2013-03-21 18:31:22 +0000
@@ -190,7 +190,7 @@
190class FilePublishingStatus(StatusEvent):190class FilePublishingStatus(StatusEvent):
191 """Files that are made public with a url."""191 """Files that are made public with a url."""
192192
193 MESSAGE_ONE = Q_("A file was just made public at %(new_public_url)s")193 MESSAGE_ONE = Q_("A share link was just created at %(new_public_url)s")
194194
195 WEIGHT = 50195 WEIGHT = 50
196196
@@ -203,15 +203,15 @@
203 no_of_files = len(events)203 no_of_files = len(events)
204 gettext.dngettext(204 gettext.dngettext(
205 GETTEXT_PACKAGE,205 GETTEXT_PACKAGE,
206 "%(event_count)d file was just made public.",206 "%(event_count)d file was just shared.",
207 "%(event_count)d files were just made public.",207 "%(event_count)d files were just shared.",
208 no_of_files) % {'event_count': no_of_files}208 no_of_files) % {'event_count': no_of_files}
209209
210210
211class FileUnpublishingStatus(StatusEvent):211class FileUnpublishingStatus(StatusEvent):
212 """Files that have stopped being published."""212 """Files that have stopped being published."""
213213
214 MESSAGE_ONE = Q_("A file is no longer published")214 MESSAGE_ONE = Q_("A share link is no longer available")
215 WEIGHT = 51215 WEIGHT = 51
216216
217 def many(self, events):217 def many(self, events):
@@ -219,8 +219,8 @@
219 no_of_files = len(events)219 no_of_files = len(events)
220 gettext.dngettext(220 gettext.dngettext(
221 GETTEXT_PACKAGE,221 GETTEXT_PACKAGE,
222 "%(event_count)d file is no longer published.",222 "%(event_count)d file is no longer shared.",
223 "%(event_count)d files are no longer published.",223 "%(event_count)d files are no longer shared.",
224 no_of_files) % {'event_count': no_of_files}224 no_of_files) % {'event_count': no_of_files}
225225
226226

Subscribers

People subscribed via source and target branches

to status/vote changes: