[damned-lies] pot_method field was too short for some commands
- From: Claude Paroz <claudep src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [damned-lies] pot_method field was too short for some commands
- Date: Sat, 5 Sep 2009 14:14:15 +0000 (UTC)
commit 7621abec145ca9a43eada6470d70e18f2644f2e8
Author: Claude Paroz <claude 2xlibre net>
Date: Sat Sep 5 16:14:13 2009 +0200
pot_method field was too short for some commands
docs/DataModel.odg | Bin 26709 -> 26754 bytes
docs/notes-upgrade.txt | 1 +
stats/models.py | 3 ++-
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/docs/DataModel.odg b/docs/DataModel.odg
index da9f4d5..45cbfcb 100644
Binary files a/docs/DataModel.odg and b/docs/DataModel.odg differ
diff --git a/docs/notes-upgrade.txt b/docs/notes-upgrade.txt
index 249cf29..ba261b5 100644
--- a/docs/notes-upgrade.txt
+++ b/docs/notes-upgrade.txt
@@ -92,3 +92,4 @@ ALTER TABLE language ADD plurals VARCHAR(200);
# Add new linguas_location field
ALTER TABLE domain ADD linguas_location VARCHAR(50);
+ALTER TABLE domain MODIFY `pot_method` VARCHAR(100);
diff --git a/stats/models.py b/stats/models.py
index 6425e2f..9e618dc 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -636,7 +636,7 @@ class Domain(models.Model):
directory = models.CharField(max_length=50)
# The pot_method is a command who should produce a potfile in the po directory of
# the domain, named <potbase()>.pot (e.g. /po/gnucash.pot).
- pot_method = models.CharField(max_length=50, null=True, blank=True,
+ pot_method = models.CharField(max_length=100, null=True, blank=True,
help_text="Leave blank for standard method (intltool for UI and gnome-doc-utils for DOC)")
linguas_location = models.CharField(max_length=50, null=True, blank=True,
help_text="""Use 'no' for no LINGUAS check, or path/to/file#variable for a non-standard location.
@@ -644,6 +644,7 @@ class Domain(models.Model):
class Meta:
db_table = 'domain'
+ ordering = ('-dtype', 'name')
def __unicode__(self):
return self.get_dtype_display()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]