Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gajim
gajim-plugins
Commits
ebd40cec
Commit
ebd40cec
authored
Aug 30, 2011
by
Dicson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plagins_translations. update locales once only
parent
fc4ea34d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
902 deletions
+2
-902
plagins_translations/plagins_translations.py
plagins_translations/plagins_translations.py
+2
-0
plagins_translations/ru.po
plagins_translations/ru.po
+0
-902
No files found.
plagins_translations/plagins_translations.py
View file @
ebd40cec
...
...
@@ -39,6 +39,8 @@ class PlaginsTranslationsPlugin(GajimPlugin):
os
.
makedirs
(
os
.
path
.
split
(
dst
)[
0
])
shutil
.
copy2
(
os
.
path
.
join
(
self
.
__path__
,
'%s.mo'
%
locale
),
dst
)
self
.
config
[
'last_version'
]
=
self
.
version
def
remove_translations
(
self
):
if
os
.
path
.
isdir
(
self
.
locale_dir
):
import
shutil
...
...
plagins_translations/ru.po
deleted
100644 → 0
View file @
fc4ea34d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment