django-auditlog icon indicating copy to clipboard operation
django-auditlog copied to clipboard

Add locale

Open lsaavedr opened this issue 3 years ago • 4 comments

Added locale to translate app in admin. Also I'm added two additional files:

  • manage.py
  • app.py

app.py is needed only to translate the app-name, in the other hand manage.py is added to generate translation .po file in other language with django tools, for example with:

$ python manage.py makemessages --locale fr

it is generates .po french file translation,

regards, Luis

lsaavedr avatar Apr 05 '21 09:04 lsaavedr

Codecov Report

Merging #296 (e180c9c) into master (665217d) will increase coverage by 0.17%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
+ Coverage   82.41%   82.58%   +0.17%     
==========================================
  Files          20       20              
  Lines         506      511       +5     
==========================================
+ Hits          417      422       +5     
  Misses         89       89              
Impacted Files Coverage Δ
auditlog/admin.py 100.00% <100.00%> (ø)
auditlog/apps.py 100.00% <100.00%> (ø)
auditlog/filters.py 92.30% <100.00%> (+0.64%) :arrow_up:
auditlog/mixins.py 76.78% <100.00%> (+0.42%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 665217d...e180c9c. Read the comment docs.

codecov[bot] avatar Apr 05 '21 09:04 codecov[bot]

fails due python3.5 support having been removed from setuptools-scm:

https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.rst#v600

lsaavedr avatar Apr 05 '21 17:04 lsaavedr

rebase master and remove manage.py

lsaavedr avatar Jan 30 '22 21:01 lsaavedr

Hi @lsaavedr, Thanks for your PR :+1:

Could you please refresh the PR and add a change log entry?

hramezani avatar Jul 01 '22 21:07 hramezani

Closing due to inactivity. Feel free to open it when you have time to work on this again.

hramezani avatar Jan 05 '23 12:01 hramezani